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

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

Profile IconDinko, Bukasa Tshilombo, simataempat and 1 more joined GarageLab (arduino, electronics, robotics, hacking)
yesterday
ANGEL RUIZ replied to ANGEL RUIZ's discussion Can this Xyron be used as a CNC router
"Here"
Thursday
ANGEL RUIZ posted a discussion

Can this Xyron be used as a CNC router

I don't have the money to afford a CNC router so I was wondering if I can convert this into…See More
Thursday
GarageLab posted a blog post

HAVOC: NASA’s proposed cloud city over Venus

The surface of Venus is a notorious hell-hole. If an atmospheric pressure roughly 90 times greater…See More
Thursday
roberto premoli's photo was featured

premobox25-per-web-001

premoboard+cubieboard+hdd2.5''features:-3LAN-5USB-2WIFI-500GB HDD…
Tuesday
Veritus's photo was featured

Battery Pack

Created a closed system of power in a wearable back pack. Back pack had 5 power outlets each at 220…
Tuesday
NELU NASTASOIU's photo was featured
Tuesday
wesley wortman's photo was featured
Tuesday
GarageLab posted blog posts
Tuesday
sunny lai left a comment for sunny lai
"thanks for hearing from you, it is my pleasure"
Tuesday
Enahoro Olori updated their profile
Monday
Profile IconRobert Sitton, Mr Abraham Akim and Magnus Nordin joined GarageLab (arduino, electronics, robotics, hacking)
Dec 15
GarageLab posted blog posts
Dec 12
Profile Icongiacomo, dan rules and Jay Thornton joined GarageLab (arduino, electronics, robotics, hacking)
Dec 11
GarageLab posted a blog post
Dec 10
GarageLab replied to Lou Liberatore's discussion LiquidCrystal_I2C library in the group Arduino
" Hi Lou Lberatone, I think you Hi Lou Lberatone, I think you probably are using the libraries…"
Dec 10
GarageLab joined Marcelo Rodrigues's group
Thumbnail

Arduino

Group for the Arduino communitySee More
Dec 10
GarageLab posted blog posts
Dec 9
Profile Iconbenjamin black and sunny lai joined GarageLab (arduino, electronics, robotics, hacking)
Dec 9
Profile IconJjdelala and Sathish GP joined GarageLab (arduino, electronics, robotics, hacking)
Dec 8

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service