Shields LCD & Display

Produtos visualizados

Keypad LCD Shield Ver maior

Shield LCD com teclado

BE15000075

Novo produto

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.

Mais detalhes

15,99 € com IVA

Adicionar à Lista de desejos

Mais informação

Overview

This is a very popular LCD Keypad shield for Arduino board. It can be directly plug onto the Arudino board, no soldering or fly-wiring needed.This Shield uses Arudino LCD4Bit library.

 

Documents

Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents by correcting the errors, adding more demo codes or tutorials.

 

Technical support

For technical support, please open a ticket on Itead Support System.

 
Electrical Characteristics

Parameter

Min.

Typical

Max.

Unit

Power voltage

4.5

5

5.5

VDC

Input voltage VH (Target Voltage = 3.3V)

3

3.3

3.6

V

Input voltage VH (Target Voltage = 5V)

4.5

5

5.5

Input voltage VL

-0.3

0

0.5

V

Current Consumption

20

40

mA

 

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

A0

Button(select, up, right, down and left)

D4

DB4

D5

DB5

D6

DB6

D7

DB7

D8

RS(Data or signal display selection)

D9

LCD1602 Enable

D10

Backlight control

 

Code:

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

void setup() {
// 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");
lcd.setCursor(0,1);
lcd.print("Press Key:");
}

void loop() {
int x;
x = analogRead (0);
lcd.setCursor(10,1);
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");
}
}

Acessórios

Clientes que compraram este produto também compraram: