Sale!

LCD Keypad shield 16x2 characters blue Arduino Uno and Mega compatible

Original price was: €6,95.Current price is: €5,95.

LCD Keypad shield 16×2 characters with blue backlight. To be used with Arduino Una, Mega, Diecimila and Duemilanove. Contrast is adjustable.

10 in stock

SKU: HE0160-001 Categories: , , , Tags: , , Send:

Description

LCD Keypad shield 16×2 characters with blue backlight. For use with Arduino Uno, Mega, Diecimila and Duemilanove. Contrast is adjustable via the potentiometer.

LCD Keypad shield specifications:
– Blue backlight and white characters
– Works with the 4 Bit Arduino LCD Library
– Left, right, up, down and select buttons
– Adjustable contrast
– Arduino reset button

Pin Role
Analog 0 Buttons
Digital 4 DB4
Digital 5 DB5
Digital 6 DB6
Digital 7 DB7
Digital 8 RS (Data or signal selection display)
Digital 9 Enable
Digital 10 Backlight control

Arduino code example:

To make the LCD screen work with the Arduino example sketches use the pins below in combination with the LiquidCrystal library:
LiquidCrystal LCD (8,9,4,5,6,7);

See the code example below for reading the buttons:

#include <LiquidCrystal.h>

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

void setup() {
  lcd.begin(16, 2);
  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");
  }
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shipping within the Netherlands

This product will be delivered via PostNL letter post in a bubble envelope.
- €3.45 shipping costs for orders under €25.
- €2.95 shipping costs for orders between €25 - €45.
- Orders above € 45,- will be free of charge sent by PostNL letter post.

  • Ordered before 16:30 PM on workdays, shipped the same day!
    Click here for costs outside the Netherlands.
  • Product question?

      Your Name (required)

      Your Email (required)

      your question