- On sale!
- On sale!
This is a very popular LCD Keypad shield for Arduino board. It can be directly plugged on the Arudino board, no soldering or fly-wiring needed, it offer the 16x2 characters display and 6 buttons for Arduino.This Shield uses Arudino LCD4Bit library.
If you have any questions on this product please feel free to contact us.
*Disclaimer: The images are merely illustrative.
The LCD Keypad shield is developed for Arduino compatible boards, to provide a user-friendly interface that allows users to go through the menu, make selections etc. It consists of a 1602 white character blue backlight LCD. The keypad consists of 5 keys — select, up, right, down and left. To save the digital IO pins, the keypad interface uses only one ADC channel. The key value is read through a 5 stage voltage divider.
Arduino Keypad LCD Shield contains 16*2 LCD with contrast adjustment and backlight. LCD dispays white letters on blue background. It uses only an analog port to input the 5 keys' signal. Here is also a reset button. Still unused IO is prepared for expansion.
Date port: PIN4 (DB4), 5 (DB5), 6 (DB6), 7 (DB7), 8 (RS), 9 (E), 10 (backlight control), simulation key port A0.
Connect Arduino LCD Keypad Shield with Arduino. Download "LCD4Bit_mod.h" library file and save to the "arduino-0021 hardware libraries". Compile the test program below and download to Arduino. If you use the Aduino Keypad LCD Shield for the first time and see nothing on the screen, you may need to use screwdriver to adjust RP1 which controls contrast. If clockwise rotation, characters can appear clearly.
Connecting With GP2D12 :
LCD4Bit_mod lcd = LCD4Bit_mod (2);
char a, b;
char str1 [ ] = "Renge:";
char str2 [ ] = "Renge Over";
char str3 [ ] = "cm";
void setup ()
lcd.printIn ("GP2D12 testing ...");
void loop ()
GP2D12 = read_gp2d12_range (1);
if (GP2D12> 80 | | GP2D12 <10)
a = 0x30 + GP2D12/10;
b = 0x30 + GP2D12% 10;
lcd.cursorTo (2, 3);
float read_gp2d12_range (byte pin)
tmp = analogRead (pin);
if (tmp return (6787.0 / ((float) tmp - 3.0)) - 4.0;
You might also like