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

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

Shannon Bradley and Marcelo Rodrigues are now friends
Wednesday
Terry Renner is now a member of GarageLab (arduino, electronics, robotics, hacking)
Wednesday
Andy S posted a discussion

Arduino MEGA boolean?

Hi everyone,been banging my head against the wall a few days now.i have a small project, where i…See More
Wednesday
Bobby Marshall posted a video

SELFIE Mirror

Meet the S.E.L.F.I.E., the "The Self Enhancing Live Feed Image Engine". Find out how it works: http://istrategylabs.com/2014/04/take-an-instant-selfie-with-t...
Tuesday
GarageLab posted a blog post
Tuesday
pj jones posted a status
"Designing an Home Automation Project"
Monday
Profile Iconpj jones, Robert Kribel and Lars Goldschlager joined GarageLab (arduino, electronics, robotics, hacking)
Monday
Fontaine Pierre commented on GarageLab's blog post Tutorial: Using GPS Shield as an Anti-Theft Device
"Hi, Is it possible to make a car tracker with this GPS + GSM shield to send a message if limits…"
Apr 11
GarageLab posted a blog post
Apr 11
Profile Iconeslam mohamed haredy, Wesley Castillo and Lise Pape joined GarageLab (arduino, electronics, robotics, hacking)
Apr 10
Terry Dark left a comment for Beula Isaac
"Hi Beulah, Greetings from down under (Australia) Please tell me about yourself and your interests…"
Apr 9
Terry Dark and Beula Isaac are now friends
Apr 9
GarageLab posted blog posts
Apr 9
GarageLab posted a blog post

Festo's BionicKangaroo gets the hop on energy-efficiency

The BionicKangaroo features pneumatic actuators that provide the jumping power and at the same time…See More
Apr 7
Profile IconAnthony Parker, John Nicosia and Tom Devey joined GarageLab (arduino, electronics, robotics, hacking)
Apr 7
wani sageer posted photos
Apr 6
GarageLab posted a blog post

Using a 3D Printer to Draw Tattoos: InkD

 It’s one thing to allow a professional tattoo artist to ink your arm. It’s another thing…See More
Apr 4
GarageLab posted a blog post

Dispensing Solder Paste With A 3D Printer

There’s a strange middle ground in PCB production when it comes to making a few boards. Dispensing…See More
Apr 3
Duong Nguyen is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 3
GarageLab posted blog posts
Apr 1

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service