Author Options:

PS2 to USB diagram? (Not ps/2, Playstation 2) Answered

  I've been looking for a diagram all over the internet, but I just can't find one. I'm looking to adapt a PlayStation 2 controller to usb, to act as a gamepad for my computer. ( I do lots of emulation. ) I was thinking I would just have to replace the current connector with a usb end, does anybody have a diagram or some wisdom to share?



Best Answer 8 years ago

I recommend using a separate usb gamepad, or a microcontroller with usb functionality :)

I did almost exactly what "frollard" said! I had a cheap 2-axis, 8-button Genius gamepad, and wired a connector to the controller's buttons, so I can use it later in different projects, but much to my shame, I got lazy, and so the pinout of my newly installed connector turned out to be-> pin#1-common and the rest is scrambled all over the other pins! xD Even though I can use microcontrollers, I thought why would I if someone already did the job for me, and it works!

You buy adaptor on eBay for $3 to $4.


I already checked on ebay, I would just rather make one. Thanks.

Making one will be a pain. The PS2 controller uses a proprietary serial connection to transmit data. This connection is NOT IN ANY WAY directly pin compatible with differential USB data lines. You must use some sort of signal interpreter to input the controllers data and spit out usb compatible (preferably gamepad) data. Suggestion: Buy an adapter. You can't beat those prices with DIY. It's not just adapting the wires, its interpreting the digital instructions.

Dang. I was hoping I could just splice a few wires together... I don't actually need the analog or rumble, only a few of the face buttons. Perhaps I could tear it apart and just use those, housed in a separate container? Shew... Now that I think about it, it sounds like a lot of work... But, I have the day off, I'll try to find some instructions somewhere.

Or maybe instead of USB an ethernet cable? I've never gotten to take one of those apart... This is starting to look like a job for Ben Heck...

Good thought, and bad thought. The only ports you can DIRECTLY interface on a computer with any sort of 'just mechanical switches' would be a parallel port, or a gamepad port, and I wouldn't recommend that anyway - one crossed wire and you are out a motherboard. Again, USB is a physical and logical level connection that involves a serial PROTOCOL (language) to transmit data from one end to the other (or back). Plain-ol mechanical switches don't talk this language - and they certainly don't 'speak' ethernet. Your 'correct' way to do this is with some sort of microcontroller, sadly, these are not easy to learn quickly (but definitely possible to work with them on a hobby level). Your next best bet (what I do) is to hack an existing USB gamepad and wire directly to the buttons on the internal circuit board. This way, the hard part of talking to the computer is already done in an efficient manner, and you can just wire up the switches however you want :)

I hadn't thought of doing that, our local thrift shops should have a few usb gamepads. Thanks! :D BTW, make that as a separate comment and I'll give you best answer. It's too bad we can't mark replied comments as best answer... Either way, great answer :)

One way to do it is to look up how to connect it to an arduino, I have read something on this before.  Then you can have the arduino send keyboard presses to the computer, according to what the ps2 controller sent to the arduino.  Then you can just set what keypresses do what in the emulator.