Use Arduino to drive 4×4 Matrix Keypad

Byamber

Use Arduino to drive 4×4 Matrix Keypad

1)Objective

4×4 matrix keypad is a very commonly used input device for Arduino and many other MCU controllers. This project will show you how to use Arduino to get input information from 4×4 matrix keypad

2)Parts and Devices

Arduino UNO R3 x 1;

USB cable x 1;

4×4 keypad x 1;

RED LED x 1;

Jumper wires

Circuit graph:

4x4keyboard_1_bb

4x4_matrix_membrane_keypad_pinout

Arduino 4×4 keypad
Digital 2 1
Digital 3 2
Digital 4 3
Digital 5 4
Digital 6 5
Digital 7 6
Digital 8 7
Digital 9 8

4)Sample code link

Down load Keypad librarie here

Note: After download Keypad.rar file from above link, please copy the Keypad directory to Arduino IDE libraries folder,then Download CustomKeypad sketch code and run the code

5)result:

Open serial window in upper right corner of Arduino IDE,push any button of the keypad,you will see the Red LED connected to Arduino will flash and you will see the key value in serial window.

IMG_20160722_120015

key

About the Author

amber administrator

3 Comments so far

viagra for menPosted on  11:42 am - Jun 1, 2020

viagra pills

compare viagra, viagra, levitra – viagra for patients with cardiomyopathy – natural viagra

viagra without a doctor prescription usaPosted on  6:42 am - Jun 21, 2020

viagra prices

viagra available in thailand – buy discount viagra online – viagra more:for_health_professionals

viagra pillsPosted on  1:19 pm - Jun 29, 2020

viagra generic

illiterate viagra spam – viagra from canada with a prescription reply #6 on – http:juki.host-page.com4083buy+viagra+-+generic+and+brand.htmldiscount-viagra

You must be logged in to post a comment