Forum 2005-2010 (read only)
Topic: ps/2 keyboard
(Read 930 times)
Apr 28, 2007, 03:00 am
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+."
Re: ps/2 keyboard
Apr 30, 2007, 10:58 pm
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: