Pages: [1]   Go Down
Author Topic: ps/2 keyboard  (Read 430 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Austin, TX
Offline Offline
Full Member
***
Karma: 2
Posts: 182
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Chris J. Kiick
Robot builder and all around geek.

Pages: [1]   Go Up
Jump to: