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

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

Roosevelt Sebial left a comment for Roosevelt Sebial
"I have left a message to your given e-mail address Mr. Frank. Thanks!"
15 hours ago
Eric Delgado updated their profile
16 hours ago
Jose Gustavo Abreu Murta left a comment for Jose Gustavo Abreu Murta
"SPAM !!!!"
19 hours ago
Selig Plapp updated their profile
22 hours ago
Alexander Perez updated their profile
yesterday
Marco Mauro left a comment for Marco Mauro
"replyin in PM"
yesterday
AUGUTIN AZIAKOU updated their profile
yesterday
Dmitry Slepov posted a blog post

Control smart RGBW LEDs from your Tibbo Project System

Test application for the FPGA Tibbit (#57) in the smart LED controller configuration…See More
yesterday
Profile IconAUGUTIN AZIAKOU, FRANK KWABENA and RossBurk joined GarageLab (arduino, electronics, robotics, hacking)
yesterday
Profile IconOjasvi Gupta, Simran Singh, ebraam yousif doud and 6 more joined GarageLab (arduino, electronics, robotics, hacking)
Monday
Richard Reubenstone left a comment for David
"Hi, David. Please see the friends invite I sent you recently. I wanted to introduce you to…"
Sep 23
GarageLab posted a blog post
Sep 19
Faiyaz Ahamed is now a member of GarageLab (arduino, electronics, robotics, hacking)
Sep 16
Sylvain Monette is now a member of GarageLab (arduino, electronics, robotics, hacking)
Sep 15
vivid posted blog posts
Sep 14
Profile IconAutha Rachman, Nguyễn Anh Tú and mohammad nabe joined GarageLab (arduino, electronics, robotics, hacking)
Sep 14
vivid and Richard Reubenstone are now friends
Sep 9
vivid joined Marcelo Rodrigues's group
Thumbnail

Arduino

Group for the Arduino communitySee More
Sep 9
Anatolio Filho is now a member of GarageLab (arduino, electronics, robotics, hacking)
Sep 5
Richard Reubenstone added a discussion to the group Arduino
Thumbnail

RF Controlled Robot Using Arduino

I just joined GarageLab and the Arduino group. My son, Steven, is the Founder & CEO of…See More
Aug 30

© 2016   Created by Marcelo Rodrigues.   Powered by

Badges  |  Report an Issue  |  Terms of Service