Goal is to use an UNO board connected to usb of PC #1 and output to a PS/2 cable and plug that into PC #2
Now if anyone knows of a device that does this already? Please let me know.
PC 1 runs a script that will output keystrokes. the UNO only needs to translate what is sent by USB and output to the PS/2. This would be like connecting a PS/2 keyboard into PC #2 and hitting keys. Have seen some details of the keyboard protocol, that when the PC boots up it tries to find the PS2 keyboard, looking for the ACK or? signals and then it sends a command to turn on the Numlock mode light?
And that the PS/2 device generates the clock and the host will control the data line or hold it low for (time interval)
The other functions the UNO needs to do are
- send info to an LCD display that says step 1, 2, 3 for status, or some error message
- drive a relay board
- accept commands from the PC 1 usb port; and listen for the host on the keyboard line PC 2 to ask if its there and reply, and follow the timing requirements.
Have tried to find code examples, anything will help, any reference info, any snippets or ideas are appreciated, thanks!