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.

asked Apr 13, 2023 at 8:31
3
  • 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

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.