[How to] SNES controller to pi2/3 GPIO
-
I had a hard time getting the origingal SNES controller PCB to work but It's finally working so i thought I'd make a small fool proof tutorial.
What I used for this install, I just got both out of an old broken PC in at work:
- Front audio panel cable from an old pc.
- Jumper pins from an old motherboard
- Heatshrink
I find this easy because the wire has colors and is very compact.
First install the drivers is via RetroPie-Setup
Manage Packages > Manage Driver Packages > gamecondriver.When it is installed Configuration / Options > Configure for two SNES controllers > Yes > Yes > Ok
Use this layout:
I chose to de-solder the original ribbon cable connector and solder pins from an old motherboard on. I don't recommend this if you're not good at soldering. It's easier to just solder to the back of the controller port's, but I wanted to be able to disconnect the cable in case I need to adjust the length.
Then I cut the connector in 2 pieces and re-arranged the colors to fit the layout.
(I split the white wire in 2 to connect to both clock connectors)I ended up playing with different wire lengths and thicknesses. For me personally it didn't make any difference. Then either find some single connectors for your wires or use some heat shrink to prevent them from accidentally touching other GPIO pins.
The end result should look something like this:
Here's how it looks with direct wire method (I bridged both clock and latch and it still needs heat shrink around the GPIO connectors) :
-
I got it working so I updated the first post :)
-
Hi, I noticed your original post title (from google) mentioned that only B was working, which is exactly where I am at now! I have my ports hooked up like your picture (though I dont have the PCB, i am using the port pins directly), and only button 0 (B) is detected.
What changes did you have to make to get it working eventually? Your screen shot of the installer and PCB picture seem to show the same layout?
-
Never mind, worked it out! I had put the clock and latch the wrong way round! Swapped them over and it all started to work (except the start putton for some reason?!)
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.