This listing has ended. The seller has relisted this item or one like this.

 
Posts to:
Australia, Americas, Europe, Asia, New Zealand
Delivery:
 
Posts to:
Australia, Americas, Europe, Asia, New Zealand

Details about  16x2 LCD Keypad Shield for Arduino

16x2 LCD Keypad Shield for Arduino See original listing
16x2-LCD-Keypad-Shield-for-Arduino
Item Ended
Item condition:
Brand New
Ended:
15 May, 2014 16:03:32 AEST
Price:
AU $8.90
Postage:
AU $6.95 Standard Postage | See details
Item location:
Sydney, NSW, Australia

Description

eBay item number:
141278044396
Seller assumes all responsibility for this listing.

Item specifics

Condition:
Brand New: A brand-new, unused, unopened, undamaged item in its original packaging (where packaging is ... Read moreabout the condition
Brand:

ITEADSTUDIO

Model:

IM120417018

NOTE: due to a design bug, this board cannot use d10 to turn on/off the backlight of the display.


Overview

16x2 character LCD keypad shield for Arduino, it can be directly plugged on the Arudino without soldering or fly-wiring needed. It also has 6 buttons and uses Arudino LiquidCrystal library.


DESCRIPTION

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 LiquidCrystal library.


Hardware

1602 shield

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


Specification

Version 1.1
Compatible Mainboard
  • Arduino Deumlanove/UNO
  • Arduino MEGA
  • Freeduino
  • Iteaduino
  • Iteaduino ADK
  • Iteaduino BT
  • Iteaduino MEGA 2560
  • Simple Cortex
  • Seeeduino
  • Seeduino MEGA
Shield Functions
  • Display
  • Input
Board Size 83mm x 57mm
Operation Level
  • Digital 3.3V
  • Digital 5V
Stackable No
Model IM120417018
Accessories No
Weight 70.00g


Demo Code

#include "liquidcrystal.h"
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // IO pins to the LCD
int buttonPin = 0; // Buttons are connected to A0
int lightPin = 10; // Light is connected to pin 10
int val =0;
int GetButton(void) {
int portValue;
portValue=analogRead(buttonPin);
if (portValue>1020) // Not pressed
return 0;
else if ((portValue>720) && (portValue<780)) // SELECT pressed
return 1;
else if ((portValue>480) && (portValue<540)) // LEFT pressed
return 2;
else if ((portValue>110) && (portValue<180)) // UP pressed
return 3;
else if ((portValue>300) && (portValue<370)) // DOWN pressed
return 4;
else if ((portValue==0) || (portValue<5)) // RIGHT pressed
return 5;
else
return -1;
}
void setup() { pinMode(buttonPin, INPUT); // pinMode(lightPin, OUTPUT); // due to a design bug, D10 cannot be set as OUTPUT HIGH, when do so, the D10 pin will be over the limit // digitalWrite(lightPin,1); // and might cause the Arduino board to malfunction.
pinMode(lightPin, INPUT); // set D10 pin as INPUT, to avoid supplying current to the base of the backlight transistor.
lcd.begin(16,2); lcd.print("Hello World"); lcd.setCursor(8,1); lcd.print("Key="); } void loop() { lcd.setCursor(0,1); lcd.print(millis()/1000); val=GetButton(); if (val) { lcd.setCursor(12,1); lcd.print(val); } else { lcd.setCursor(12,1); lcd.print(" "); } } 

Download



Questions and answers about this item

No questions or answers have been posted about this item.




Place bid

Time left:
Current bid:
(Approximately ##1##)
Shipping:
Import charges:
Your max bid:
Your max bid:
By clicking Confirm bid, you commit to buy this item from the seller if you're the winning bidder.
By clicking Confirm bid, you are committing to buy this item from the seller if you are the winning bidder and have read and agreed to the Global Shipping Program terms and conditions - opens in a new window or tab. Import charges previously quoted are subject to change if you increase you maximum bid amount.
Cancel
Loading...
Resume bidding, if the page does not update immediately.
Place bid
Review and confirm your bid
Bid confirmation
d
h
m
s
day
hour
hours
FREE postage
See item description
(Approximately ##1##)
(Enter ##1## or more)
(Enter more than ##1##)
Your max bid:
Increase max bid
Place bid
Confirm bid
Increase max bid
Cancel
Change bid
Close
, you've been outbid. Don't let it get away - bid again!
, you're the highest bidder on this item. Good luck
, you're the first bidder. Hope you win!
, you're currently the high bidder, but you're close to getting outbid.
, this auction is almost over and you're currently the high bidder.
, you're the high bidder, but the reserve price hasn't been met.
Please enter your bid again.
Please enter a valid number as the bid price.
Enter an amount that is equal or greater than the minimum bid required. This can be found under the bid entry box.
Maximum bids can't be lowered once they're submitted.
This seller requires the buyer to have a PayPal account to purchase this item. Get a PayPal account here .
Your bid is greater than or equal to the Buy It Now price. We recommend you purchase this item via Buy It Now. If you still wish to bid, you may do so below.
Time left:
Current bid:
(approximately ##1##)
Your maximum bid:
(approximately ##1##)
Increase your maximum bid:
By clicking 1 Click Bid, you commit to buy this item from the seller if you're the winning bidder. Learn moreabout 1-click bid - opens in a new window or tab
day
hour
min
sec
days
hours
mins
secs
(approximately ##1##)
Winning bid:
Starting bid:
Close
Congratulations! The auction has ended and you're the winner.
The auction has ended, but the reserve price was not met.
Sorry, the auction has ended and you were outbid.
Good news, you're the high bidder.
Sorry, you've been outbid.
You're the high bidder, but the reserve price is not met.
Please enter a higher amount than the current bid.
Maximum bids can't be lowered once submitted.
Please enter a valid number.

Additional site navigation