DatasheetsPDF.com

DFR0009

D-Robotics
Part Number DFR0009
Manufacturer D-Robotics
Description LCD Keypad Shield
Published Nov 17, 2013
Detailed Description LCD Keypad Shield (DFR0009) D-Robotics UK (www.droboticsonline.com) This is a very popular LCD Keypad shield for Arduino...
Datasheet PDF File DFR0009 PDF File

DFR0009
DFR0009


Overview
LCD Keypad Shield (DFR0009) D-Robotics UK (www.
droboticsonline.
com) This is a very popular LCD Keypad shield for Arduino or Freeduino board D-Robotics 6/25/2011 Free Datasheet http://www.
datasheet4u.
com/ LCD Keypad Shield 1.
Introduction This DFRobot LCD Keypad Shield a very popular shield for Arduino or Freeduino board.
The LCD Keypad shield is developed for Arduino compatible boards, to provide a user-friendly interface that allows users to go through the menu, make selections etc.
It consists of a 1602 white character blue backlight LCD.
The keypad consists of 5 keys — select, up, right, down and left.
To save the digital IO pins, the keypad interface uses only one ADC channel.
The key value is read through a 5 stage voltage divider.
2.
Specifications    Operating Voltage:5V 6 Push buttons Expanded Analog Pinout with standard DFRobot configuration.
Page | 2 Free Datasheet http://www.
datasheet4u.
com/ 3.
Diagram Page | 3 Free Datasheet http://www.
datasheet4u.
com/ 4.
Pin Allocations Pin Analog 0 Digital 4 Digital 5 Digital 6 Digital 7 Digital 8 Digital 9 Digital 10 Function Button (Select Up, Right, Down and Left) DB4 DB5 DB6 DB7 RS (Data or Signal Display Selection) Enable Backlit Control 5.
Sample Code 5.
1 Example use of LCD4Bit_mod library Download Link: http://droboticsonline.
com/ebaydownloads/LCD4Bit_mod.
zip 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 // #include h> //create object to control an LCD.
//number of lines in display=1 LCD4Bit_mod lcd = LCD4Bit_mod(2); //Key message char msgs[5][15] = {"Right Key OK ", "Up Key OK ", "Down Key OK ", "Left Key OK ", "Select Key OK" }; int adc_key_val[5] ={30, 150, 360, 535, 760 }; int NUM_KEYS = 5; int adc_key_in; int key=-1; int oldkey=-1; void setup() { pinMode(13, OUTPUT); //we'll use the debug LED to output a heartbeat lcd.
init(); //optionally, now set up our application-specific display settings, overriding whatever the lcd did in lcd.
init() //lcd.
command...



Similar Datasheet


@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site. (Privacy Policy & Contact)