In this illustration we will going to wire the 16X2 LCD Keypad Shield build for Arduino UNO, MEGA, Leonardo, this board has 4 bit Arduino LCD Library. The keypad shield has select left, up, down and right push button apart from the reset button, the screen contrast adjustment is done by a 10k trimpot potentiometer at the top left corner.

The Liquid Crystal LCD 8 / 9 / 4 / 5 / 6 / 7

The buttons are connected only to A0 analog input through resistor to give different voltage for each buttons and saving on input/output pins. The PIN 0 RX, PIN 1 TX, PIN 2, 3, 11, and 13 are extended to accommodate other external devices, and the rest are used for LCD Shield connections. Please see the diagram below.

LCD-KEYPAD-Shield-Diagram-Pinout-Wiring-Configuration-Schematics

For testing the LCD Shield

Before you start upload and running your code you need to import the LiquidCrystal code library located Under the File Example – / LiquidCrystal |

LCD-KEYPAD-Shield-Diagram-Pinout-Wiring-Configuration-Schematics2

Upload the sketch code to the result display Hello World with counting on the LCD. Try to modify the code and experiment on it.

Arduino Sketch Code wihtout Keypad

Arduino Sketch Code With Keypad

 

Wiring the LCD 16×2 Keypad Shield on Arduino
Facebooktwitterredditpinterestmail
Tagged on:     

JLCPCBPCBgogoPCBway4pcb

4 thoughts on “Wiring the LCD 16×2 Keypad Shield on Arduino

Leave a Reply

Your email address will not be published. Required fields are marked *