Search
Product Info
Key Counter PS2
sku: WIG-08652
Description: This is a small device designed to receive and transmit PS2 commands. The ATmega168 can receive PS2 commands from a mouse or keyboard and pass them out to a terminal or computer. Power is obtained from the computer or terminal over PS2. This device was originally designed to count the number of keystrokes in our Key Counter tutorial. A good, simple development board for the ATmega168 and the PS2 protocol.``` Key presses today: 000439324
You will need a miniDIN6 male to male cable to connect this device to a computer or terminal. We've successfully used the miniDIN8 Roomba cable listed below.
Documents:
Pricing
Comments
2 comments
Feeds
Currency
Display prices in
Feedback
If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.
















One slight stumbling block I discovered in my testing concerns the baud rate for the serial port and the clock speed. By using the AVR default clock rate and divide by 8, the bit-rate divisor at 9600 baud has a 7% error factor. My K-107 style LCD display would not work with that high an error factor. Digging into the Datasheet revealed the Double Speed option for AVR Serial Ports. I added a line of code to double the speed and adjusted the baud rate in the formula (which lowered the err factor to .2%) - lo & behold - it worked! Details avail for those similarly affected.