PS/2 to USB converter
Posted: Thu Apr 22, 2010 10:11 pm
Hey all. I'm trying to use V-USB to create a PS/2 (technically an AT socket) to USB converter for an old Model M knockoff I have. There are two reasons I'm not just spending $5 to buy one off of ebay:
1. This is practice for another similar V-USB project I have in mind.
2. I want to convert the second alt key into a windows/apple key, since this old keyboard has neither
I already know that I can read the keyboard's signals via a PS/2 keyboard project for the arduino, and I figured it shouldn't be hard to couple that code (With modification of course) with the V-USB code to build an adapter, but I since I don't know much about microchips, I got to wondering if the fact that both the keyboard and the USB library work via interrupts would cause a conflict. Obviously the point of an interrupt it to facilitate time-critical actions, and it occurred to me that if say, the USB interrupt triggered while the PS/2's clock interrupt was trying to do its thing, there could be an issue.
Any thoughts on this? It might be obvious to some of you, but I am very new to programming at this low a level.
And I might as well ask if anyone has done a ps/2-to-usb adapter project before. I couldn't find a project quite like that, but if anyone has some helpful code to share, it would be much appreciated.
Thanks for taking the time to read.
-Wireframewolf
1. This is practice for another similar V-USB project I have in mind.
2. I want to convert the second alt key into a windows/apple key, since this old keyboard has neither
I already know that I can read the keyboard's signals via a PS/2 keyboard project for the arduino, and I figured it shouldn't be hard to couple that code (With modification of course) with the V-USB code to build an adapter, but I since I don't know much about microchips, I got to wondering if the fact that both the keyboard and the USB library work via interrupts would cause a conflict. Obviously the point of an interrupt it to facilitate time-critical actions, and it occurred to me that if say, the USB interrupt triggered while the PS/2's clock interrupt was trying to do its thing, there could be an issue.
Any thoughts on this? It might be obvious to some of you, but I am very new to programming at this low a level.
And I might as well ask if anyone has done a ps/2-to-usb adapter project before. I couldn't find a project quite like that, but if anyone has some helpful code to share, it would be much appreciated.
Thanks for taking the time to read.
-Wireframewolf