PS2 (or PC/AT) Keyboard emulation
Started by Dr Who, Jul 22 2012 10:31 PM
4 replies to this topic
#1
Posted 22 July 2012 - 10:31 PM
Hello!
I have an interesting problem here. I need to set things up on this Netduino so that a device who would allow either a PS/2 or a PC/AT keyboard to be used on something believes that the Netduino is sending keystrokes to it. By way of explanation:
I own a Sega Dreamcast here, it was bought about the time the company made the (not very well thought out) decision to discontinue it around the turn of the century, plus its regular keyboard and mouse. Also a VMU for it.
Sometime later I bought a widget which would make it possible to connect either of those two keyboards, or a PS/2 mouse instead, to the console.
Originally I had thought of programming an Arduino to do the job of keyboard emulation to the widget, who would send them to the console, but there was too much confusion on the forum for the thing regarding that idea of keyboard emulation for other things. Said console would be running not a game but as it happens a variety of Linux who'd be written to accommodate the processor that the console uses. Yes it is a big idea for the device (Netduino) but I believe that the thing is up to the challenge. My only problem was then and still is, writing the program for the console to make use of the delivered data. (I also need to track down the tools and other software for the host who'll be managing the Sega Dreamcast but that is nearly done.)
I now invite comments and questions. Especially questions.
I have an interesting problem here. I need to set things up on this Netduino so that a device who would allow either a PS/2 or a PC/AT keyboard to be used on something believes that the Netduino is sending keystrokes to it. By way of explanation:
I own a Sega Dreamcast here, it was bought about the time the company made the (not very well thought out) decision to discontinue it around the turn of the century, plus its regular keyboard and mouse. Also a VMU for it.
Sometime later I bought a widget which would make it possible to connect either of those two keyboards, or a PS/2 mouse instead, to the console.
Originally I had thought of programming an Arduino to do the job of keyboard emulation to the widget, who would send them to the console, but there was too much confusion on the forum for the thing regarding that idea of keyboard emulation for other things. Said console would be running not a game but as it happens a variety of Linux who'd be written to accommodate the processor that the console uses. Yes it is a big idea for the device (Netduino) but I believe that the thing is up to the challenge. My only problem was then and still is, writing the program for the console to make use of the delivered data. (I also need to track down the tools and other software for the host who'll be managing the Sega Dreamcast but that is nearly done.)
I now invite comments and questions. Especially questions.
Doctor Who
"This signature does not exist!"
#2
Posted 23 July 2012 - 06:55 PM
Hi,
I need to do something similiar.
My plan is to use netduino's USB HID feature: Netduino USB HID Keyboard
Depending on the device I want to interface, I have to use a USB to X (e.g PS/2) Converter.
I need to do something similiar.
My plan is to use netduino's USB HID feature: Netduino USB HID Keyboard
Depending on the device I want to interface, I have to use a USB to X (e.g PS/2) Converter.
#4
Posted 24 July 2012 - 01:55 PM
Hi Dr. Who,
This website may be able to help.
Curious to see how this works out for you!
Thomas
I know that page.
I tried a couple of times to interface either a keyboard and a mouse, but without any success. Despite the protocol is very easy, it's very hard to implement in the Netduino due the real-time requirements.
Happy to hear from anyone will be able to obtain any success.
Cheers
Biggest fault of Netduino? It runs by electricity.
#5
Posted 24 July 2012 - 11:07 PM
I know that page.
I tried a couple of times to interface either a keyboard and a mouse, but without any success. Despite the protocol is very easy, it's very hard to implement in the Netduino due the real-time requirements.
Happy to hear from anyone will be able to obtain any success.
Cheers
Hello!
I have looked at that page as well. For the Arduino, so I'd better understand the pinouts for the connectors. Yes it is easy. Too easy as the abundance of peripherals for the regular computers will atest to. However for what I want to do it might be too complicated to do with any specie of Netduino. I now believe it to be too complicated for the current release of the Arduino. I will need to look elsewhere for my controller needs, if this is ever built.
Doctor Who
"This signature does not exist!"
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users