Homepage Forums RetroPie Project Everything else related to the RetroPie Project trouble getting original NES controller working

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3931
    Anonymous
    Inactive

    Hey all,

    so I’m trying to put together a RetroPie to play NES games, and I’ve got an original NES controller. I wanted to hook it up directly to the GPIO pins without having to fuss with any adapters, so I cut off its plug and connected up some crimp pins:

    NES_Crimp_Pins

    I’ve tried to follow various different connection instructions that I’ve found online, but I haven’t yet had any luck getting the emulation station startup to see the controller.

    NES_Pie

    It comes up saying “no joystick detected” and the button presses aren’t read. Can anyone offer some guidance for getting this to work? It would be most appreciated!

    #3933
    roquen
    Participant

    Will you need a firmware driver for this connection or will it see it as an input device automatically?
    Im including images that may or may not be helpful :)


    NES pinout

    RPi pinout

    #3936
    Anonymous
    Inactive

    Thanks for those schematics, they confirm how I thought the controller was wired. The ones I’ve followed for connecting it to the Pi GPIO pins are:

    And:

    I haven’t had any luck getting the controller to communicate following either. I’m using the latest RetroPie image, and I assumed that it auto-loaded the gamecon_gpio_rpi driver at startup? Do I have to activate it somehow?

    #3938
    roquen
    Participant

    Im not able to confirm this until late tonight, but I believe you need to run the RetroPie-Setup script to enable the driver. I don’t think its loaded by default.

    I don’t know where it is off the top of my head in the SD image (probably ~/RetroPie-Setup/somewhere)

    but RetroPie-Setup/master/scriptmodules/setup.shinc has an installation script for the driver.

    I am probably not helping, sorry, :P

    #3955
    Anonymous
    Inactive

    So I loaded the driver via the RetroPie script (thanks for that!), and then discovered that since I’m on a rev2 Raspberry Pi I had to load it with this command:

    sudo modprobe gamecon_gpio_rpi map=0,0,0,0,2,0

    At that point I still had no love running jstest. So then I tried using the 5v pin instead of the 3.3v pin, and there it was!

    So now I’m working on figuring out the protection circuit that’s recommended so that the 5V doesn’t blow up the controller or the Pi. I think I get the idea using a 500 ohm resistor and a standard diode. We’ll see what happens next…

    #4001
    Anonymous
    Inactive

    Hmm, so does this mean the original NES controller requires 5V to work instead of 3.3? Because I’m getting ready to solder my original NES controller ports to my petrock-purchased GPIO adpater, which I believe only provides 3.3V, correct?

    #4730
    nesman
    Participant

    Did anyone get the NES controler to work yet. I just got my RetroPie Adapter the other day and ready to solder it into my box.

    #4816
    Anonymous
    Inactive

    Yup, I got mine working. What type of enclosure are you using? I am using the original NES, so what I did was solder the original port cables to 1″ square board that has a 2×5 header. That way I can connect it directly to the GPIO adapter using a standard 10-pin ribbon cable. Also, the 3.3v was no problem for me using the GPIO adapter.

    #85564
    hivvu
    Participant

    [quote=3955]sudo modprobe gamecon_gpio_rpi map=0,0,0,0,2,0[/quote]

    What pinout did you use?
    I’m having trouble to get this to work :/

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.