

LCD shield suitable for Arduino UNO, Mega, Diecimila, Duemilanove, Leonardo and compatible. Equipped with a 16x2 character (16 columns on two lines) backlit LCD screen with adjustable contrast and 5 function buttons (SELECT, UP, DOWN, RIGHT, LEFT) + 1 RESET Arduino button that can be used in your application.
Pay safely with Credit Card, PayPal, Amazon Pay or Bank Transfer
We ship across Europe and worldwide with UPS, DHL and DPD
You have 30 days from delivery to return the product if you're not satisfied
LCD shield suitable for Arduino UNO, Mega, Diecimila, Duemilanove, Leonardo and compatible. Equipped with a 16x2 character (16 columns on two lines) backlit LCD screen with adjustable contrast and 5 function buttons (SELECT, UP, DOWN, RIGHT, LEFT) + 1 RESET Arduino button that can be used in your application.
The buttons are readable via a single analog input line, allowing you to save I / O on the Arduino .
Arduino is provided in the link above to start using the shield. It already contains the management of the LCD and buttons.
To read the pressed button, simply sample the A0 input and compare the ADC value with constant values visible below.
I / O MAP USED BY SHIELD
LCD RS pin to digital pin 8
LCD Enable pin to digital pin 9
LCD D4 pin to digital pin 4
LCD D5 pin to digital pin 5
LCD D6 pin to digital pin 6
LCD D7 pin to digital pin 7
LCD R / W pin to ground
10K resistor: ends to + 5V and ground
wiper to LCD VO pin (pin 3)
Button input A0
EXAMPLE CONSTANT VALUES TO OBTAIN THE PRESSED BUTTON
if (sensorValue> = 765) lcd.print ("Press any KEY");
else if ((sensorValue> = 0) && (sensorValue
else if ((sensorValue> = 85) && (sensorValue
else if ((sensorValue> = 255) && (sensorValue
else if ((sensorValue> = 425) && (sensorValue
else if ((sensorValue> = 595) && (sensorValue
Expansion shields are available to expand the communication and processing capabilities of the Arduino board. You can buy them here: EBAY | MECTRONICA STORE
SPECIFICATIONS:
Shield for Arduino UNO, Mega, Diecimila, Duemilanove, Leonardo and compatible
16x2 backlit alphanumeric LCD display
5 function buttons (SELECT, UP, DOWN, RIGHT, LEFT) + 1 RESET button
Adjustable contrast
Reading of button pressed through single ADC A0 input
You might also like