GPIO Adapter NES & SNES at the same time?

Home Forums RetroPie Project Everything else related to the RetroPie Project GPIO Adapter NES & SNES at the same time?

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 13 replies, has 3 voices, and was last updated by Profile photo of brooksyx brooksyx 3 years, 4 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #3264
    Profile photo of supersirlink
    supersirlink
    Participant

    Hi, I am wanting to add one of these to my Raspberry Pi to connect original NES and SNES controllers at the same time, is that possible? I see the description says NES “or” SNES, and the number of pins obviously limits you to 2 controller sockets; but I am wondering if I could wire up one NES socket (for NES games) and one SNES socket (for SNES games)?

    Ideally, it would be great to have 2 NES “and” 2 SNES sockets; but I don’t see that being possible, correct?

    Thanks!

    #3265
    Profile photo of petrockblog
    petrockblog
    Keymaster

    I have not tested this myself, but it should be possible to connect one SNES and one NES controller. The recent version of SNESDev, the driver for the RetroPie GPIO Adapter, can be configured in this way.

    Four game pads would need four data lines, which are not provided by the adapter at the moment, unfortunately.

    #3266
    Profile photo of supersirlink
    supersirlink
    Participant

    Cool, thanks much for the reply! I don’t intend of doing a lot of multiplayer, so one of each is really what I am after… I just ordered one from you, thanks for making that available!

    I have original controllers that have been modified to USB, I wonder then if I can make the USB player 2…

    Thanks again!

    #3268
    Profile photo of supersirlink
    supersirlink
    Participant

    Ohh, I forgot to ask, is that version of the driver already in version 1.9.1 of the RetroPi image?

    #3269
    Profile photo of petrockblog
    petrockblog
    Keymaster

    No, I have updated the driver (“SNESDev”) with that functionality just today. You can update SNESDev, e.g., via the source-based installation of the RetroPie Setup Script. The README of SNESDev can also be found at https://github.com/petrockblog/SNESDev-RPi#configuring-snesdev-rpi.

    #3271
    Profile photo of supersirlink
    supersirlink
    Participant

    Thanks, will post back my results once I get the parts…

    #3275
    Profile photo of supersirlink
    supersirlink
    Participant

    It just occurred to me that NES and SNES controls both have 7 pins… I can then wire up NES connectors (since I play more NES games and only own a few SNES games) and make an adapter to plug an SNES controller in…

    Speaking of which, now if there was a way to read the actual cartridges… That would be beyond cool…

    #3360
    Profile photo of supersirlink
    supersirlink
    Participant

    So here is the SNES to NES adapter I came up with… Tested on my NES, once I get the RetroPie GPIO and wired up, I will update how it works with it…

    Untitled

    #3474
    Profile photo of supersirlink
    supersirlink
    Participant

    Got my RetroPie GPIO board this week and got everything wired up today… Still have to test yet…

    Untitled
    Untitled

    #3485
    Profile photo of supersirlink
    supersirlink
    Participant

    So I am testing the GPIO with an NES controller, but jstest on js0 is not showing the Retropie GPIO, but my USB NES controller:
    pi@raspberrypi /dev/input $ jstest js0
    Driver version is 2.1.0.
    Joystick (InfiniteNesLives.com (S)NES_USB) has 2 axes (X, Y)
    and 8 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect).
    Testing … (interrupt to exit)
    Axes: 0:-32767 1:-32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off ^Z
    [3]+ Stopped jstest js0
    `

    Do I have to remove js0, or should it redetect the controller on the GPIO? I forced a fresh install of SNESdev via the setup script…

    Tested the momentary switch function and that appears to be working via the testbutton script…

    Edit: nope I forgot to unplug the usb controller… Did so and rebooted, but now I don’t even have a js0 or js1…

    Service also appears to be running…

    Edit2: okay, if I restart the service I get js0 and js1…

    Edit2: Nevermind, 🙂 I performed the enable on restart from the retropie setup script and now they show up on start up… Guessing when I force a new install it removed that…

    #3490
    Profile photo of supersirlink
    supersirlink
    Participant

    I left the SNESDev.cfg file set to SNES controller types, but set the button mappings for each system in retroarch.cfg for that system…

    Works great!

    #3494
    Profile photo of petrockblog
    petrockblog
    Keymaster

    Now that is great – I am glad to hear this!

    #3500
    Profile photo of supersirlink
    supersirlink
    Participant

    Yeah, the SNES controller worked fine with the adapter I made to connect to NES ports.

    It is a great little board you designed!

    Ohh and it seems the script assigned to the momentary switch is also affected by the enable hotkey setting in the retroarch.cfg. But I posted about that in another thread.

    #3510
    Profile photo of brooksyx
    brooksyx
    Participant

    Got my RetroPie GPIO board this week and got everything wired up today… Still have to test yet…

    Can I ask which gpio pins you are shorting out for your reset switch? Is it the top two or bottom two. It is hard to tell from the picture.

Viewing 14 posts - 1 through 14 (of 14 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar