SNES Straight to GPIO
-
I can't find concrete instructions using either Gamecon or SNESDev anywhere, showing exact GPIO pins to use and an installation procedure.
It is in the wiki page
Gamepad3 = GPIO4 = Physical Pin07
Gamepad4 = GPIO7 = Physical Pin26
Gamepad5 = GPIO2 = Physical Pin03
Gamepad6 = GPIO3 = Physical Pin05ALSO: if any of you can tell me exactly which driver you're using (SNESDev or Gamecon or what...) and exactly which GPIO pins you're using for the SNES Controller (Clock, Latch, Data 1, Data 2) that would be amazing. LOL
To install from Emulation Station go to RetroPie .
- RetroPie Setup
- Manage Packages
- Driver
- gamecondriver
Make sure you update installed packages first. The driver will give you a warning when you try to install.
It comes with an option to permanently enable configuration for two SNES controllers using GPI04 and GPI03. (which would be pin#7 and pin#5.)
Clock = pin#19
Latch = pin#23
Power = pin#01
Ground = pin#06Note both players Clock/Latch go to the same Pin#.
-
@SirBilly This is some great information! I went to the Wiki but didn't even see this.
Updated the Setup Script and was welcomed to the new install/manage menus. Found the gamecon and tried to install it again and it failed. I am working on getting a SD card and 4.0 RetroPie image set up. I don't want to wipe a 64 gig SD card with (so far) perfectly set up RetroPie unless I know it's going to work.
Also, it would be great to update the information on the Wiki to modern Raspberry standards. The GPIO pinout is for the old 20 pin GPIO and you would have had to jump on the RetroPie train very very early to have that Pi. Once I get this working I will make a very easy-to-follow instruction set. :D
-
SUBARASHII!!!! Updating to RetroPie 4.0 (and losing all my sexy pipplware stuff) fixed the Gamecon install error and once installed, took me by the hand and got my controllers working. I might try to see if someone can help me get Gamecon installed on my 3.7 RetroPie so I don't have to start over, completely. Have way too much custom stuff to lose it all.
Thank you to everyone that gave me pointers. Gamecon was the cure. And updating RetroPie, I guess.
-
@Rookervik
I was running snesdev for a while, and reading up on gamecon and this thread, I wanted to try the gamecon driver and re-soldered my points accordingly. The gamecon driver saw my two snes pads and set them up without any warnings, but only one button from each controller is detected in ES. Anything extra needed to do? I checked my connections with a multimeter so that's not the problem. Controller port is getting the 3.3v. I'm running 4.0.2 clean install. I used the instructions @SirBilly providedUpdate: Fixed my problem. The gauge of wire was just too thin. Works perfectly with an ide cable...well almost perfect. It doesn't work on the retropie-setup area or when you need to press a button to alter a game's setting right before loading it. No big deal, i guess. I can use a kb for that. Now my pi shuts down much faster without the snesdev driver.
-
I de-soldered the ports on the controller plate and made a layout, can anyone check if this is correct? Why does the comment above and wiki say to wire it to 3.3v while the controller needs 5v? I already have a RF module wired up to the red pin on the picture. I will get some rainbow jumper wires and solder them directly into the holes.
-
@denisuu Because it runs fine with 3.3v. I also fixed my issue with the pad working in retropie setup. I had to set the controller to Player 1. If you have any issues, please read the guide: https://github.com/retropie/retropie-setup/wiki/GPIO-Modules#gamecon_gpio_rpi
-
delete
-
I took some parts out of a old computer (header pins & audio connection cable) and soldered them onto the SNES plate. I used the recommended GPIO setup from the gamecon installer.
But only button A is working on player 2. I'm pretty sure my soldering is good, and I suppose the wire thickness is also ok since the original ribon cable is very small. I read something about the 3 different revisions of controllers.
The question is what can I do about it?
-
@denisuu You need to bridge both clocks for both pads to work. I was having issues when I was using thin wires. I'm using whatever thickness IDE cables are.
-
Yea both clock's are bridged I checked all connections in the front ports with the RPI GPIO pins and the wiring is good. But when I push B it shows as if I push all buttons at once in jstest. IDE cables are very thin for sure these wire's are thicker. But maybe the cable is too long it's 67cm.
I will reinstall retropie, find thicker wires and try again.
Controller 2 doesn't want to do anything at all I tried (GPIO7=Pin26 or GPIO3=Pin05)
With gamecon_gpio_rpi map=0,0,1,1,0,0 and 0,0,1,0,0,1... -
@denisuu
I'm using the default config retropie has for the gamecon driver which is 2 snes controllers. My wires are around half as long as of yours.
Pin1=3.3v
Pin5=D2
Pin6=GND
Pin7=D1
Pin19=C1/C2
Pin23=L -
That works thanks!! It's a completely different layout then the Wiki and driver installer suggest tough. Also it turned out one of my controllers just isn't working :P
Anyway I made a small fool tutorial here
-
The gamecon installer pinout is almost correct except for the player pins need to be switched around. No need for a tutorial but ok...
-
@Darksavior I realize that now by looking at the picture again that I was just stupid. I put clock and latch at the wrong place the whole time because I just counted one empty pin from the bottom. Anyway I'm happy It's finally working.
-
@denisuu Hi i have the same problem i wanna how you do for fix it?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.