How to Make PS2 Keyboard Read Display System Based on Arduino

by ICStation in Circuits > Arduino

7603 Views, 25 Favorites, 0 Comments

How to Make PS2 Keyboard Read Display System Based on Arduino

42808.jpg
ICStation Team introduce you this PS2 Keyboard read display system in details.The operating voltage of PS2 Keyboard read display system is DC 5V. When you press the keys of letters or numbers, the LCD1602 will display correspondingly and also can control the size of the letters.The advantages of using PS2 keyboard design are the automatic scanning, automatic identification, and automatic coding of the keyboard. Only when you press the keys, the data will be sent out, which reduces the burden of CPU. It is very convenient to use LCD1602 to display. It is a very simple and low-cost analog keyboard display system.

Functions:
1.when you press the keys of letter or number only, the LCD1602 will display the letter or number correspondingly.
2.when you press the keys of shift plus letter together,the LCD1602 will display the capital letter.

Components List

3_副本.jpg

Hardware Schematic Diagram

11.jpg

Hardware Making Graphic Tutorials

7.jpg
Draw forth the power line and ground wire from ICStation Mega 2560 development board. And the red breadboard plug wire is the power line and black one is the ground wire.

Decompose 16 Pins

19.jpg

Weld LCD1602

18.jpg

Weld the pins which have been decomposed to LCD1602

Connect the LCD1602 to the Bread Board

9.jpg
Put the welded LCD1602 into the bread board.

Connect the The Cathode and Anode to the Public Cathode and Anode.

12.jpg
According to the  schematic diagram,connect the pin 1 and pin 16 to the cathode and connect the pin 2 and pin 15 to the anode.The black represents cathode and the red represents anode.

Place the Slide Rheostat

13.jpg
21.jpg
Connect the pin 1 of slide rheostat to the cathode and pin 3 to the anode, pin 2 to connect the pin 3 of LCD 1602

Connection Diagram of Slide Rheostat

1.jpg
Note: By adjusting the slide rheostat to control the brightness of LCD

Connect the Pin5 of 1602LCD to the Ground

12.jpg

Connect the 1602LCD to the Mega 2560

14.jpg
15.jpg
Connect the pin 4 and pin 6 of 1602LCD respectively to the pin12 and pin 11 of ICStaion Mega 2560
Connect the pin 14、13、12、11 of 1602LCD respectively to the pin 5、4、3、2 of the ICStation Mega 2560

Schematic Diagram of PS2 Keyboard Port

17.jpg
Connect the SDA port and SCL port of PS2 ports respectively to the pin 8、9 of the ICStation Mega 2560

NC represent no connection

PS2 Keyboard Interface Connection

4.jpg

Connect the Port SDA and SCL of the PS2 Keyboard to the ICStation Mega

13.jpg

Connect the PS2 Keyboard to the Bread Board

16.jpg
15.jpg
According to the schematic diagram and PS2 keyboard port diagram, connect the cathode and anode of the PS2 keyboard to the cathode and anode of breadboard.

Experimental Effect (Provided Code)

2.jpg
3.jpg

Video to Show the Effect