Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

lcd interfacing to pic 16f877a problem

Status
Not open for further replies.

farfor

Newbie level 1
Joined
Feb 5, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
hd44780a datasheet

when displaying strings like "welcome" on 2x16 lcd
the display doesn't appear except after pressing the reset key several times
 

lcd driver 16f877a

Looks like timing problem.

Are you using delays in your code to initialize your LCD?
If yes, how long have you delayed at each stage?

Cheers,
 

lcd interfacing with pic

Post your initilising code - so it can be reviewed by all to help you.

Have you got the data sheet for the Hitachi HD44780A?
I think the data sheet can be misleading.

Polymath
 

hd44780a pic lcd

have u checked the voltage for your lcd? do you have a rheostat connecting to your lcd circuit? if you do try varying it. maybe its abt the intensity.
 

pic24 lcd power problem

Hi.

I had same problem. It was because because i didnt wait enough after each data transmision. Try to make larger delays.
 

Hi,
I agree with the posts above. When I wrote a wait function it din't work too. But then I measured the timing of the wait function using an oszilloscope I saw that the timing was not correct. After we corrected this function the lcd works. To be independent of the compiler you should use assembler instead of c to realize the wait function.
greetings,
hqqh
 

Refer 8052.com
Though this is PIC you can get good details on LCD
 

hi
after power up, LCD need to take about 20 ms before first command is sent.
I made it several times and it is working good.
 

Hi,,Put a capacitor of 2200 Mf in your source an try again!...Fran!
 

here is the lcd driver i wrote in c for comvdd ebox design

you can reuse it if you like

or view it too see where you went wrong

this lcd driver works fine

dont forget to check you setup the clock and xtal right !!!
 
Re: hd44780a datasheet

Put appropriate delays..check the contrast pin too.connect it to ground using a pot and varry the pot..u'll get it
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top