I want to connect an old hp ps/2 keyboard to my arduino (nucleo 64 F303RE). The keyboard has a power rating of 5v and 50mA, I guess this is milliamps. The ps/2 connector has 4 connecting cables: GND VCC CLK DATA I have wired up the GND to the ground of the arduino and the VCC. However, the keyboard does not properly light up or respond to the caps key being pressed. I am able to measure suppodly 5v coming out of the clock pin. What could be the issue?
I would have expected that the keyboard would display some leds and when the caps lock would be pressed at least the caps light would turn on or off.
-
You'll need (very old) documentation about the PS/2 protocol. If I remember correctly, the protocol requires pulling down the clock to start the communication. And send some "A"s to initialize the device.PMF– PMF04/13/2023 10:32:43Commented Apr 13, 2023 at 10:32
-
eecg.utoronto.ca/~jayar/ece241_08F/AudioVideoCores/ps2/….jwh20– jwh2004/13/2023 14:11:37Commented Apr 13, 2023 at 14:11
-
2there is a library playground.arduino.cc/Main/PS2Keyboard . use 5V to power the keyboard and use 5 V tolerant pins on the STM32Juraj– Juraj ♦04/14/2023 11:01:49Commented Apr 14, 2023 at 11:01