LCD 1602 Keypad Shield for Arduino UNO
This Keypad Shield is perfect for initial attempts to control a display using an Arduino. The 5 buttons are also practical, enabling you to easily implement a menu guide. To control the display, you can find the "LiquidCrystal" Library in the Library Manager. You can install this library to control the display. During the initialization of the LiquidCrystal, you need to use the following command to ensure the proper assignment of the Pins:
LiquidCrystal lcd(lcd (8,9,4,5,6,7);
The 5 control buttons all go into the Analog Input A0, thus saving a significant number of inputs which you can use for your project. When one of the buttons is pressed, a voltage can also be measured at the A0 input, which is different for each button. If you have any questions or problems with the control or suggestions regarding the product description, simply send us an e-mail or use the rating function. We are happy to help.
The following connection Pins are occupied by the Shield:
- A0 Button (select, up, right, down and left)
- D4 DB4
- D5 DB5
- D6 DB6
- D7 DB7
- D8 RS
- D9 Enable
- D10 Background Lighting
Program Example:
// include the library code: #include// initialize the library with the numbers of the interface pins LiquidCrystal lcd(8, 9, 4, 5, 6, 7); void setup() { Serial.begin(115200); // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.setCursor(0,0); lcd.print("LCD Key Shield"); Serial.println("LCD Key Shield start"); lcd.setCursor(0,1); lcd.print("Press Key:"); } void loop() { int x; x = analogRead (0); lcd.setCursor(10,1); Serial.print("x="); Serial.println(x); if (x < 60) { lcd.print("Right "); } else if (x < 200) { lcd.print("Up "); } else if (x < 400){ lcd.print ("Down "); } else if (x < 600){ lcd.print ("Left "); } else if (x < 800){ lcd.print ("Select "); } }
Technical Details:
- Model: 1602 Character LCD
- Operating Voltage: 5V
- Resolution Character: 5x8 Dots
- Characters: 2 Rows x 16 Characters
- Background Lighting: White Characters on Blue Background
- 5x Control Buttons, 1x Reset Button
- 1x Potentiometer for Display Contrast
- Size: 80 x 57.5mm
- Weight: 53g
Delivery Content:
1x Keypad Shield
LCD 1602 Keypad Shield for Arduino UNO
- Brand: purecrea
- Product Code: 420098
- Availability: In Stock
-
CHF11.90
- Ex Tax: CHF11.01
Related Products
Gravity LCD Display 16x2 I2C RGB Backlight
This Gravity 16x2 character LCD display features an RGB backlight that can be customized. This allow..
CHF15.90 Ex Tax: CHF14.71
DFRobot 1602 LCD Keypad Shield for Arduino
This Keypad Shield with display from DFRobot is perfect for beginners attempting to control the 1602..
CHF13.90 Ex Tax: CHF12.86
DFRduino UNO R3 Arduino Compatible Board
The DFRduino Uno V3.0 from DFRobot is an Arduino compatible board for schools or for hobbyists. It's..
CHF21.90 Ex Tax: CHF20.26
LCD1602 LCD Display 16x2 I2C RGB Backlight
This LCD display features an RGB backlight, which you can change the color of individually. Thus, yo..
CHF15.90 Ex Tax: CHF14.71
DFRduino Leonardo Arduino Compatible Board
The DFRobot Leonardo with Xbee Socket is a board compatible with the Arduino Leonardo. The Arduino L..
CHF19.50 Ex Tax: CHF18.04
LCD1602 LCD Blue Display with I2C Module
This is a 16x2 blue LCD display with an integrated I2C module. The display can be conveniently opera..
CHF10.90 Ex Tax: CHF10.08
Tags: Arduino, Shield, Display, LCD, Module, Analog, Button, Character, LCD, Display, Blue, Display, Illuminated, Blacklight, Backlight, 1602, 8x16.