Arduino Forum

Topics => Device Hacking => Topic started by: babbiz29 on Oct 23, 2014, 08:55 pm

Title: PS/2 Keyboard and arduino problem
Post by: babbiz29 on Oct 23, 2014, 08:55 pm
Hello everyone
I'm trying to build a PS/2 Keycatcher with my arduino board, I started downloading the PS2Keyboard standard library and interfacing the keyboard with the board to see if It works. I Uploaded the simple test example sketch and connected the keyboard and everythings seems to be working fine, I can see the output of the keyboard on the serial monitor! But the problem comes when I connect the other PS/2 cable from the computer between the arduino and the keyboard. The keyboard works perfectly on the computer but when I try to see the output on the serial monitor I see strange characters coming out. The first 4 -5 characters are right but then just strange ones come out, and If I reset the arduino I can see again the right first characters and then strange ones.
How could I solve this?
Title: Re: PS/2 Keyboard and arduino problem
Post by: KenF on Oct 25, 2014, 02:37 am
It sounds like you are having problems with the clock staying in synch.  Do you have a complete schematic you can post.  AND obviously your code.
Title: Re: PS/2 Keyboard and arduino problem
Post by: nid69ita on Oct 25, 2014, 08:57 pm
il cross-posting รจ vietato.
http://forum.arduino.cc/index.php?topic=274384.msg1932762#msg1932762
O fai la domanda in italiano in sezione italia oppure in inglese in sezione internazionale

Cross-posting not allowed:
http://forum.arduino.cc/index.php?topic=274574.msg1933832#msg1933832
or you post in italian section or in international section.