TOLL FREE (844)888-8123
LCD Keypad Shield – Arduino Shield, Blue 16×2 LCD Display, 6 Switches

$17.99

LCD-Keypad-Shield-Front---Herdware-com
LCD-Keypad-Shield---Rear---Herdware-com
LCD Keypad Shield - Both Sides - Herdware-com

LCD Keypad Shield – Arduino Shield, Blue 16×2 LCD Display, 6 Switches

$17.99

This Arduino Shield has a blue 16×2 LCD display with 6 switches.

  •     Arduino Compatible Shield.
  •     Blue backlight with white characters.
  •     Keypad arranged for navigation and menu selection.
  •     Commonly available libraries
  •     Compatible with Arduino Uno, Mega and Duemilanove

 

2 in stock

This Arduino  LCD Keypad Shield has a blue 16×2 LCD display with 6 switches.

  • Arduino Compatible Shield.
  • Blue backligt with white characters.
  • Keypad arranged for navigation and menu selection.
  • Commonly available libraries
  • Compatible with Arduino Uno, Mega and Duemilanove

Schematic LCDKeypad Shield SCH

Use the following call for proper initialization of the LCD Display.

LiquidCrystal lcd(8,9,4,5,6,7);

The buttons are encoded as voltage levels so that they can be read with the Analog 0 input:

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

Pin 10 suffers from a usage probblem best described here.

This PCB is 80mm x 60mm and is slightly bigger than the Arduino Uno

// include in 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 message to the Character LCD Display.
  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 < 100) {
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“);
}
}

Character LCD Code

 

 

Weight .25 lbs
Dimensions 1 x 1 x 1 in

Reviews

There are no reviews yet.

Add a review

LCD-Keypad-Shield-Front---Herdware-com

Be the first to review “LCD Keypad Shield – Arduino Shield, Blue 16×2 LCD Display, 6 Switches”