Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

HD44780 LCD help : How to understand it is initialized?

Status
Not open for further replies.

nickagian

Member level 4
Joined
Mar 19, 2009
Messages
71
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Zurich, Switzerland
Activity points
2,001
Dear all,

I want to use a HD44780 for a hobby circuit. So I have connected with my PIC MCU in a 4-wire interface and tried to communicate with it.

However I cannot display anything on the LCD. I will try to troubleshoot my design but I need to know something pretty important! I cannot understand whether the LCD has been initialized or not..(I have put some code in my program for initializing)

After connecting the power supply the LCD is not dark.. on the contrary it seems that the background light is on.. is this an indication that it is initialized? I have not used any LCD before.
 

lcdhelper

Newbie level 2
Joined
Oct 5, 2009
Messages
2
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,296
1. Make sure that you pin 3 is either connected to GND or to the center of a potentiometer (its better using a potetiometer).
2. If you use the potetiometer, you can swing the contrast from full dark to blank screen, this is good sign.
3. After you send the init code, your display contrast will shift and all should be about the same color.
4. Send some data and the text will appear.

* Make sure that the E signal is not grounded. The E is a strobe to shift in data/command to the LCD.
* Also make sure that your RS line is set correctly before each command or data being sent.

The backlight is independent of the display, the backlight only tells you that you have a supply voltage.

This should help.

Good luck.
 

    nickagian

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top