Site icon 14core.com

Wiring the LCD 16×2 Keypad Shield on Arduino

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
[crayon-683cf2f83d3ab068100414/]
Arduino Sketch Code With Keypad
[crayon-683cf2f83d3b7207492899/]
 

Wiring the LCD 16×2 Keypad Shield on Arduino
Facebooktwitterredditpinterestmail
Exit mobile version