![usb to ps2 converter plug usb to ps2 converter plug](https://ae01.alicdn.com/kf/HTB1Iq0SJFXXXXbkXFXXq6xXFXXXy/3pcs-For-PS-2-PS2-Female-to-USB-Male-Computer-Keyboard-Mouse-Adapter-Connector-PC-Keyboard.jpg)
The connection between the microcontroller and the ps/2 keyboard seems straight forward enough but then from the microcontroller to USB is another story.Įdit 3: After a bit more searching I discovered that Microchip released a Technical Brief with quite a complete guide on how to do exactly what I was after! Its TB055 and includes the source code for PIC uC. It seems its a not that easy but doable task to create your interface with the use of a cheap microcontroller.
![usb to ps2 converter plug usb to ps2 converter plug](https://www.clickykeyboards.com/wp-content/uploads/2016/02/ps2-usb-keyboard-converter.jpg)
It takes A/V signals from the Playstation 2 and computer, and allows you to switch which one goes to the monitor and sound system on the fly. The Switch Box The switch box is the device that makes it all work. As this was based on the original IBM PS/2 (AT) keyboards and this protocol has been carried though to today.Įdit 2: More info found on the electrical interface needed here. The PS2 ships with composite, but an aftermarket component cable will give a better image. Although all the ' scan codes' that the keyboard sends to the system should still work with modern systems. As USB devices need to be registered and be able to give data to the OS about what it is when requested by the OS. Why?Įdit: Ok so in some more research, I think I understand the why now. So after trying a basic rewiring it didn't work so there has to be some conversion going on but what? The puzzling thing is going from USB to PS/2 works but going the other way doesn't work. Though USB has a differential DATA +- and ps/2 has a data and clock wire.
![usb to ps2 converter plug usb to ps2 converter plug](https://cdn.cnetcontent.com/syndication/mediaserver/inlinecontent/stech/b2d/de7/b2dde736fc54426fa12d0b74588c905c/original.jpg)
But I am curious as how would one do it themselves? I have tried just rewiring an old keyboard to a USB cable as they both have 5V and ground and 2 data connections. I am quite aware you can get ready made off the shelf adaptors to connect old ps/2 keyboards to USB.