Go Down

Topic: ps/2 keyboard (Read 493 times) previous topic - next topic

zaiusape

I was wondering if anyone had any tips on how to wire up a ps/2 keyboard to the arduino? I'm by no means an electrical engineer and just need some guidance as to where to put the +5, Gnd, Clock, and Data leads as well as if I need any other components to allow me to "see" keystrokes on the arduino.

I found this site but could not get it to work. I think I may be misunderstanding what it means to put "a pull-up resistor (2k2 Ohms worked fine for me) between CLOCK and 5+ and another between DATA and 5+."

http://www.arduino.cc/playground/ComponentLib/BarcodeScanner

ckiick

Hi,
  The PS/2 keyboard interface is similar to the ps/2 mouse interface, except that the keyboard sends scan codes instead of mouse data.  Google for PS/2 protocol and there should be some reference material on the web.
 The playground page on the PS/2 mouse interface should get you started:

http://www.arduino.cc/playground/ComponentLib/Ps2mouse
Chris J. Kiick
Robot builder and all around geek.

Go Up