-
1Wire up the PS/2 connector to an Arduino UNO R3
PS2 Pin Desccription Color Arduino Pin 1 DATA brown D4 2 n/c 3 GND orange GND 4 Vcc yellow +5V 5 CLK green D3 6 n/c -
2Upload the PS/2 sketch
Open the sketch "PS2-Part__Arduino_Sketch_for_ATMEGA328P/ProdikeysDM" in your Arduino IDE and upload it to the Arduino
-
3Flash the Arduino's USB controller
Connect an ISP programmer (or secondary Arduino running the "Arduino ISP" example sketch) to the secondary ISP port near the USB jack to reprogram the USB controller. After this step, the Arduino UNO does not offer a serial port any more, unless you re-flash the factory USB firmware.
Use avrdude or any other ISP programming software to upload the included HEX file. Select "atmega32u2" as the target device. This might look something like this:
avrdude -p atmega32u2 -c usbtiny -P usb -v -v -V -U flash:w:KeyboardMIDI.hex -U eeprom:w:KeyboardMIDI.eep
-
4Type and make music!
Connect the newly flashed Arduino to a computer. The Arduino should be detected as a "Creative Labs Prodikeys" USB keyboard and MIDI device!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.