2

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.

4
  • 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. Commented Apr 13, 2023 at 10:32
  • eecg.utoronto.ca/~jayar/ece241_08F/AudioVideoCores/ps2/…. Commented Apr 13, 2023 at 14:11
  • 2
    there is a library playground.arduino.cc/Main/PS2Keyboard . use 5V to power the keyboard and use 5 V tolerant pins on the STM32 Commented Apr 14, 2023 at 11:01
  • I’m voting to close this question because its 2 year old, the OP has abandoned it, there are helpful links in comments. And no one else would want to go down this path, when the keyboards are so cheap. Commented Nov 23 at 7:06

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.