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 back light 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.
Note: Version 1.1 main updates are the button values, which have being updated on the example code. For older version check the comments and edit, or use the Enhanced V1.0 library
This is a 16×2 LCD and Keypad shield for Arduino Uno, Diecimila, Duemilanove and Freeduino boards.
- Blue Backlight with white words
- uses 4 Bit Arduino LCD Library
- Left, Right, Up, Down and Select buttons
- Screen contrast adjustment
- Arduino Reset button
The board uses different pins to the Arduino example sketches, so to make the display work, use the following sequence of pins when starting the library:
LiquidCrystal lcd(8,9,4,5,6,7);
The buttons are connected to only one analog input pin through resistors to give a different voltage for each button, thus saving on input/output pins. Reading the buttons is easy and example code is shown below
Pin Connections
Pin | Function |
Analog 0 | Buttons (select, up, right, down and left) |
Digital 4 | DB4 |
Digital 5 | DB5 |
Digital 6 | DB6 |
Digital 7 | DB7 |
Digital 8 | RS (Data or Signal Display Selection) |
Digital 9 | Enable |
Note: Do not use pin Digital 10 when this board is plugged in (see here for more details)
Reviews
There are no reviews yet.