Download - Ps2 keyboard read display system
![Page 1: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/1.jpg)
PS2 Keyboard read display systemProduct Overview
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:
1.ICStation ATMEGA2560 Mega2560 R3 Board Compatible Arduino
http://www.icstation.com/product_info.php?products_id=3517
2.830 Point Solderless PCB Bread Board MB-102 Test DIY
http://www.icstation.com/product_info.php?products_id=1450
3.1602A HD44780 Character LCD Display Module LCM Blue Backlight
www.icstation.com/product_info.php?products_id=1419
4.PS2 keyboard
5.Breadboard Plug Wire Cable Tire
http://www.icstation.com/product_info.php?products_id=1437
6.Dupont 20cm Color Cable Line
http://www.icstation.com/product_info.php?products_id=3269
![Page 2: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/2.jpg)
Hardware schematic diagram
![Page 3: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/3.jpg)
The principle diagram of the hardware design
![Page 4: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/4.jpg)
Hardware making graphic tutorials
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.
![Page 5: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/5.jpg)
![Page 6: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/6.jpg)
Draw forth the power line and ground wire from Mega 2560
![Page 7: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/7.jpg)
![Page 8: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/8.jpg)
Decompose 16 pins
Weld the pins which have been decomposed to LCD1602
![Page 9: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/9.jpg)
![Page 10: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/10.jpg)
Weld LCD1602
Put the welded LCD1602 into the bread board.
![Page 11: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/11.jpg)
![Page 12: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/12.jpg)
Connect the LCD1602 to the bread boardAccording 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.
![Page 13: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/13.jpg)
![Page 14: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/14.jpg)
Connect the the cathode and anode to the public cathode and anode.
Place the slide rheostat
![Page 15: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/15.jpg)
![Page 16: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/16.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
![Page 17: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/17.jpg)
![Page 18: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/18.jpg)
pin diagram of slide rheostat
![Page 19: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/19.jpg)
![Page 20: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/20.jpg)
connection diagram of Slide rheostat
Note: By adjusting the slide rheostat to control the brightness of LCD
![Page 21: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/21.jpg)
![Page 22: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/22.jpg)
Connect the pin5 of 1602LCD to the ground。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
![Page 23: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/23.jpg)
![Page 24: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/24.jpg)
![Page 25: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/25.jpg)
![Page 26: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/26.jpg)
Connect the 1602LCD to the Mega 2560
Connect the SDA port and SCL port of PS2 ports respectively to the pin 8、9 pf the
ICStation Mega 2560
schematic diagram of PS2 keyboard port
NC represent no connection
![Page 27: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/27.jpg)
![Page 28: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/28.jpg)
PS2 keyboard interface connection
![Page 29: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/29.jpg)
![Page 30: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/30.jpg)
Connect the port SDA and SCL of the PS2 keyboard to the ICStation Mega
According to the schematic diagram and PS2 keyboard port diagram, connect the
cathode and anode of the keyboard PS2 to the cathode and anode of breadboard.
![Page 31: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/31.jpg)
![Page 32: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/32.jpg)
![Page 33: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/33.jpg)
Connect the PS2 keyboard to the bread board
Experimental Effect
![Page 34: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/34.jpg)
![Page 35: Ps2 keyboard read display system](https://reader031.vdocuments.site/reader031/viewer/2022030317/53f9bf498d7f7259658b9878/html5/thumbnails/35.jpg)