New 1602 LCD Board Keypad Shield Blue Backlight For Arduino Duemilanove Robot
item130729447956
http://www.ebay.com/itm/130729447956?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
So here is the item and number. I may have ordered the wrong one but was under the impression it would and should work with the UNO board as well.
Im sure many of you have bought these from various sellers from ebay and this one has 6 push buttons under the dispaly and plugs directlt into the board. I've also tried my Mega and it does the same thing. THe blue backlight comes on. The top row should all the "pixels" for a lack of my understanding across the device. The intensity/contrast control works.
I've uploaded the examples from arduino and of course included the library need, or the one I think it needs. Heck its in the example. There was no data sheet with the unit. I'm thinkng I got a bad unit, but wanted some more input from you guys. Just to make sure Im not pulling something dumb.
Not sure if you guys need anything more, and thanks for helping the new guy out. You guys are great with us newbies.
what pins are you using in your lcd constructor?
Most of the LCD keypad shields I've seen don't use the same Arduino pins as
the LiquidCrystal library demo sketches.
They use this pinout:
/* The pins:
* LCD RS pin to digital pin 8
* LCD Enable pin to digital pin 9
* LCD D4 pin to digital pin 4
* LCD D5 pin to digital pin 5
* LCD D6 pin to digital pin 6
* LCD D7 pin to digital pin 7
* LCD R/W pin to ground
*/
// initialize the library with the numbers of the interface pins
// lcd(RS, E, d4, d5, d6, d7)
LiquidCrystal lcd( 8, 9, 4, 5, 6, 7);
Instead of the default pinout in IDE supplied demos of:
/*
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
*/
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
Change/fix the pins, and I bet the shield will work.
--- bill
Thats going to be it then. Im using the standard one from the example in arduino examples. I'll give that a go. I knew it was going to be something simple. The darn thing didnt come with any paper work at all.
Thanks for the advice man. I really really appreciate it.
But Im sure thats going to be it.I'll send you a msg if it works.
Daniel
Duh Duh Duh Duh!!!!
Your a genius.
That was it.
Thanks again...I really appreciate all your guys input.
And on some LCD shields, Arduino pin 10 controls the backlight.
But..... be careful with this as several lcd shields have a hardware issue so
be careful. See this thread for more information:
http://arduino.cc/forum/index.php/topic,96747.0.html
--- bill