timhuijbers
Posts: 2
Joined: Mon Mar 12, 2018 1:58 pm

Connect controllers to the Raspberry Pi

Mon Mar 12, 2018 2:06 pm

Hi,

I've a nintendo and sega close console (like this one for example https://s3-ap-southeast-1.amazonaws.com ... f890b3.jpg) and I would like to keep it in this original state, with the original controllers with the 9 pins and the current HDMI output, but changing the inside hardware with a raspberrry PI (probably zero W, or else 3, both are in house already)

First step is connecting the controllers to the Pi and my assumption was to convert the signals inside the console into USB (so I can keep the current style serial connection) and connect that USB to the regular Pi connection (so I can easily also connect 2 controllers via USB, with the Zero W via dongle or directly on the Pi 3).

I do have ordered some test materials, but I think mainly the CP2102 I have now this adapter https://5.imimg.com/data5/LA/VL/MY-1928 ... 00x500.jpg, should do the trick, which I already received.

The question is now; how to connect the serial connection to the CP2102, as I assume I can put in the CP2102 into the usb connection of the PI after that?

There are 5 cables in the connection of the RS232/serial connection (as there are 5 cables in the joystick connected to the main board), but can I just hook them up (I need to google even more for that, but I didn't find the schematics yet of that 5 cables). Or do I miss anything? Or can it be done simpler?
Last edited by timhuijbers on Wed Mar 14, 2018 1:14 pm, edited 1 time in total.

User avatar
topguy
Posts: 4271
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Serial controller into USB (with CP2102?)

Mon Mar 12, 2018 2:46 pm

Can you link to page describing the console and not just a picture.

Are you sure the controllers are serial ?

timhuijbers
Posts: 2
Joined: Mon Mar 12, 2018 1:58 pm

Re: Connect controllers to the Raspberry Pi

Wed Mar 14, 2018 1:28 pm

Hi you're right, I've made some photo's to clarify. I found out that both systems actually have different controllers, so I'll split up my questions.

1) I have a SNES case with super nes controllers. On the inside of these controllers there are only 5 cables going out to the console. I assume this is not a standard 'amiga' connection, but a TTL? Or something else? How do I connect this to the PI?
https://ibb.co/gWTbjc
https://ibb.co/dLL0AH
console side: https://ibb.co/hNvNPc

2) I have a SEGA case with sega controllers. On the inside there are many (9) cables, it looks like the standard amiga connection which has a wire for each button at least. I've seen some people connecting this directly to the Pi, but warning them for the 5v, but the Pi supports 5v right? And If I only want to connect 2 controllers, that's doable, or not?
https://ibb.co/jSXQcx
https://ibb.co/gXXQcx
console side: https://ibb.co/iU394c

I've both some components already to be able to connect the controllers via another way if needed, but not even sure anymore how and if this would work:

A) RS232->TTL converter chip https://www.amazon.de/RS232-Converter-M ... =rs232+ttl , thought this was useful but now having 5 wires (or the other 9 one) this probably won't work?

B) USB->SERIAL adapter https://reprapworld.nl/products/electro ... USEALw_wcB , I also bought a few of these, which looked to me like a simpel solder and connect via usb to the PI. But also not sure as which pin to use for what, and it will probably only work for the option 1), not the 9 cables on 2).

Notes:
- Soldering is no problem
- if connections cannot be pulled out and back in is no problem, this is all inside the case and will remain solid when build. So it doesn't need to be discoupled (like the usb option is nice, but just straight soldering is fine)

Questions:
3- How can I connect the controllers of 1) to the Pi?
4- How can I connect the controllers of 2) to the Pi?
5- Are there schematics I need to use how to solder or whatsoever?
6- Did I miss a genius section on this forum with the info?

User avatar
topguy
Posts: 4271
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Connect controllers to the Raspberry Pi

Wed Mar 14, 2018 2:56 pm

There are definitely previous threads here about the subject: viewtopic.php?f=78&t=68830
And of course emulator software people have also tackled this problem: https://github.com/RetroPie/RetroPie-Se ... IO-Modules
Or you can look to buy some hardware that simplify the process: https://blog.petrockblock.com/controlblock/

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 7 guests