how to interface lcd with arduino leonardo?i follow the data and program given in the arduino software many times but no output come..please help anyone to me...

Views: 276

Replies to This Discussion

First the basics, check what kind of LCD display they expect in the SW and make sure yours is compatible.  If it is compatible, then verify it has power.

Does your screen do anything at all?  Flash?  Light up?  Lines?  Blocks?  The Arduino LiquidCrystal library is for LCDs based on the Hitachi HD44780 chipset, but they have libraries for many other common chipsets on the LCD Playground page.  If your LCD lights up or displays garbage you probably have a different chipset.  More information about your device and what it's doing would be helpful to get more help!

ya in my LCD BACKGROUND LIGHTS ON  and simply black colour blocks come.i use 16*2 JHD 162A  .this LCD is compatible with HD44780 ? 

Hi, I think this thread might help you.  I didn't read it, but it sounds like a similar problem.

http://arduino.cc/forum/index.php/topic,26527.0.html

If you get lights and blocks then the LCD is working and not getting any data.  It looks like the JHD uses the HD44780 chipset, so it should work with the LiquidCrystal library.  I'd check your wiring, or redo it from scratch.  Make sure all of your grounds are grounded, and make sure your contrast pot is hooked up correctly (5V on one pin, ground on the other, and the middle pin goes to the LCD).  Make sure that the R/W pin is grounded.  Make sure that in your code you initialize the LiquidCrystal library with the correct pins (if you look at the LiquidCrystal constructor, you'll use the first option with rs, enable, and d4, d5, d6, and d7); tell the library which pin on the Arduino is connected to each of the LCD pins.  After that, be sure you call LCD.begin(16, 2).  Also, for my LCD sometimes I have to reset the Arduino once or twice to get it to work.

RSS

Latest Activity

Marcelo Rodrigues and swapnil are now friends
Tuesday
Marcelo Rodrigues replied to swapnil's discussion Tiny 85 based Thermometer
"Dear Swapnil, Since you don't have any experience with programming you should consider start…"
Monday
swapnil posted a discussion

Tiny 85 based Thermometer

Hi, can any one guide me how to make the tiny 85 based Thermometer which will glow the LED…See More
Sunday
Spyros Svoronos is now a member of GarageLab (arduino, electronics, robotics, hacking)
Sunday
K Biju is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 29
Profile Iconswapnil and Yasser joined GarageLab (arduino, electronics, robotics, hacking)
Nov 28
udit is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 25
Aqeel munir is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 23
Profile IconSubbu and Graymon Cadiente joined GarageLab (arduino, electronics, robotics, hacking)
Nov 21
Tim Walller is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 18
Dmitry Slepov posted a blog post

Open Platform Communications Server from Tibbo

OPC stands for «Open Platform Communications» that is a set of specifications and standards for…See More
Nov 17
Hrithik Bansal is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 17
Martin Tavarez is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 14
Brian Sivils is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 7
Keren Fi is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 3
Profile IconHENRY NUNES and evilhacker joined GarageLab (arduino, electronics, robotics, hacking)
Oct 31
Profile IconJames Pearce and caca joined GarageLab (arduino, electronics, robotics, hacking)
Oct 27
Profile IconWilliam Johnson and Todd Enger joined GarageLab (arduino, electronics, robotics, hacking)
Oct 24
Carlos Kwiek posted a blog post

ESP8266_MQTT_LAMP_ON_OFF

Turning on and off a lamp on the internet and smartphone using ESP8266 with MQTT languageThank you…See More
Oct 24
Avtar Singh is now a member of GarageLab (arduino, electronics, robotics, hacking)
Oct 20

© 2016   Created by Marcelo Rodrigues.   Powered by

Badges  |  Report an Issue  |  Terms of Service