4×4 Keyboard for Arduino
![图片116.png](/proxy/?url=https://content.instructables.com/FPC/880Q/HSUENHAH/FPC880QHSUENHAH.png&filename=图片116.png)
In Arduino app system, keyboard is one of the indispensable component to
man-machine dialogue. When the button is less, we can connect the button to the I/O port of Arduino. While there need more button and the I/O resource of Arduino is limit, it is better to choose the matrix keboard. Next I will demo that use the 4 * 4 keyboard on Arduino.
Step 1: Part List
- 1 x Arduino UNO
- 1 x 4*4 keyboard
- 8 x Wire
Step 2: Wiring Diagram
![图片79.png](/proxy/?url=https://content.instructables.com/FDN/L2RO/HSUENHED/FDNL2ROHSUENHED.png&filename=图片79.png)
Step 3: Test Code
Test code in here :
http://learn.linksprite.com/arduino/4x4-keyboard-for-arduino/
Step 4: Run Test
![图片311.png](/proxy/?url=https://content.instructables.com/F1T/413A/HSUENHL4/F1T413AHSUENHL4.png&filename=图片311.png)
![图片411.png](/proxy/?url=https://content.instructables.com/F97/8LO3/HSUENHL8/F978LO3HSUENHL8.png&filename=图片411.png)
![图片510.png](/proxy/?url=https://content.instructables.com/FY9/CZLS/HSUENHL9/FY9CZLSHSUENHL9.png&filename=图片510.png)
(1) Connect the wiring according to the wiring diagram
(2) Download the Arduino library in attachment and save it to the Arduino IDE libraries:
(3) Open the ArduinoIDE and put the test code into the IDE, compile and download:
(4)Open the serial Monitor, set the baud rate to 9600, press any key and you will see the corresponding key value in the monitor;
Step 5: Download Code
Arduino Library:keypad
http://cnlearn.linksprite.com/wp-content/uploads/2...
- Support Fourm:
http://www.pcduino.com/forum - http://linksprite.invisionzone.com
- Support Mail: support@linksprite.com