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: 213

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

GarageLab posted blog posts
Friday
Profile IconOleg and Scott Runner joined GarageLab (arduino, electronics, robotics, hacking)
Thursday
GarageLab left a comment for RMullen
"Hi RMullen! I'd like to let you know that FRANK KWABENA is no longer a member of…"
Wednesday
daniel gabriel updated their profile
Wednesday
daniel gabriel left a comment for daniel gabriel
"Good Day Mr. Wabena, i dont see any interesting on my profile but i really appreciated that you…"
Wednesday
RMullen replied to Lauren Elizabeth's discussion Scammed...?
"Yes there is another one sending out the same message now.  This is the message I got: FRANK…"
Wednesday
Rick Lin is now a member of GarageLab (arduino, electronics, robotics, hacking)
Wednesday
GarageLab posted a blog post
Tuesday
Profile IconCalvin M and harsha joined GarageLab (arduino, electronics, robotics, hacking)
Tuesday
GarageLab posted a blog post

These Colorful Liquid Droplets Chase Each Other Like Living Organisms

Scientists at Stanford University were at first perplexed by the strange behavior they observed…See More
Mar 23
GarageLab posted blog posts
Mar 20
Profile IconJody Bowie, Kevin Kvarda, Tony Stoklosa and 2 more joined GarageLab (arduino, electronics, robotics, hacking)
Mar 19
Sergey commented on GarageLab's blog post Tutorial: How to use the Monster Moto Shield
"Good day. Can you help me? I took this sketch, but it doesn't working( "
Mar 19
Profile IconDonald Soji Adedokun, Ankur Deo and Hannu Miettinen joined GarageLab (arduino, electronics, robotics, hacking)
Mar 18
GarageLab posted a blog post
Mar 18
GarageLab posted a blog post

Iron Man Delivers Kid’s Robotic Arm: Proof that Tony Stark Has a Heart

Alex Pring now has one heck of a story to tell his friends. Not only did the 7-year old meet Iron…See More
Mar 16
Profile IconJohn Murphy and Asma Ho joined GarageLab (arduino, electronics, robotics, hacking)
Mar 16
Electronicsrus is now a member of GarageLab (arduino, electronics, robotics, hacking)
Mar 13
AnalysIR commented on GarageLab's blog post Tutorial: Arduino IR sender and receiver
"@kkukkuk this problem has been discussed receltly on the Arduino forum - why not search there. You…"
Mar 13
kkukkuk commented on GarageLab's blog post Tutorial: Arduino IR sender and receiver
"hi..there are some errors in both irsend and irreceive coding.. ir sender: sketch_mar14a.ino:17:1:…"
Mar 13

© 2015   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service