Hey
I've got this weird problem with a HD44780 compatible display. It's a
40x4 display from Batron. The displays is based on 2 HD44780
controllers.
When I power up the uC and display I get the 2 black bars on the
display. I then reset the display and it works fine.
BUT I got problems, when I download a new code in the uC and resets
it
afterwards. Now the display writes a's instead of my text. The
problem
is on both HD44780 controllers, so i figured that the controllers
shares the problem. The display works fine, if a reset the uC a few
times?!??
I tried with an older 40x2 HD44780 compatible display, but same
result.
The uC is a Philips LPC 2124. I've tried changing the delays in my
code, I had to use 1 us delay to get a satisfying length on the
Enable
signal.
The contrast voltage is supplied thru a var. resistor, so the
Vcontrast is contemporart with the Vcc. Is this a problem?
I'm confused.... ANY SUGGESTIONS???
Regards
I've got this weird problem with a HD44780 compatible display. It's a
40x4 display from Batron. The displays is based on 2 HD44780
controllers.
When I power up the uC and display I get the 2 black bars on the
display. I then reset the display and it works fine.
BUT I got problems, when I download a new code in the uC and resets it
afterwards. Now the display writes a's instead of my text. The problem
is on both HD44780 controllers, so i figured that the controllers
shares the problem. The display works fine, if a reset the uC a few
times?!??
I tried with an older 40x2 HD44780 compatible display, but same
result.
The uC is a Philips LPC 2124. I've tried changing the delays in my
code, I had to use 1 us delay to get a satisfying length on the Enable
signal.
I've got this weird problem with a HD44780 compatible display. It's a
40x4 display from Batron. The displays is based on 2 HD44780
controllers.
When I power up the uC and display I get the 2 black bars on the
display. I then reset the display and it works fine.
BUT I got problems, when I download a new code in the uC and resets it
afterwards. Now the display writes a's instead of my text. The problem
is on both HD44780 controllers, so i figured that the controllers
shares the problem. The display works fine, if a reset the uC a few
times?!??
I tried with an older 40x2 HD44780 compatible display, but same
result.
The uC is a Philips LPC 2124. I've tried changing the delays in my
code, I had to use 1 us delay to get a satisfying length on the Enable
signal.
Are you using the 4 bit interface? If you are initialising the display
twice
will get the upper/lower nibbles out of line between sender and reciever.
Two solutions, make use of the read/status instructions to establish
whether
the display is correctly responding, if not issue the init commands to go
into 4 bit mode and then try again.
Richard
"Richard Tuffin" <r.b.j.tuffin@durham.ac.uk> wrote in message
I've got this weird problem with a HD44780 compatible display.
It's a 40x4 display from Batron. The displays is based on 2
HD44780 controllers.
When I power up the uC and display I get the 2 black bars on
the display. I then reset the display and it works fine. BUT
I got problems, when I download a new code in the uC and
resets it afterwards. Now the display writes a's instead of
my text. The problem is on both HD44780 controllers, so i
figured that the controllers shares the problem. The display
works fine, if a reset the uC a few times?!??
I tried with an older 40x2 HD44780 compatible display, but
same result.
The uC is a Philips LPC 2124. I've tried changing the delays
in my code, I had to use 1 us delay to get a satisfying
length on the Enable signal.
Are you using the 4 bit interface? If you are initialising the
display twice will get the upper/lower nibbles out of line
between sender and reciever. Two solutions, make use of the
read/status instructions to establish whether the display is
correctly responding, if not issue the init commands to go
into 4 bit mode and then try again.
There is a EPE magazine article online re using these modules.
IIRC the article they recommend initialising 2 or three times
in succession for reliable start up. Have a look at the
Everyday Popular Electronics website for the 2 part article
"How to use intelligent LCDs"
Have you tried to power cycle the controllers after the microprocessor
reset?
Hey
Thanks for all your replies. I've tried to add delays and do the
initialize the LCD multible times. But none if it helped.
Please notice that the error is on both controllers.
Check that the enable pin is the correct sense (active high)
Have you tried to power cycle the controllers after the microprocessor
reset?
Hey
This could solve my problem..
How can I run a power cycle on the controllers. The datasheet
describes a power cycle on Vdd > 4.5 Volt. But I cant find a "manual"
power cycle??!??!
Jesper
I've got this weird problem with a HD44780 compatible display. It's a
40x4 display from Batron. The displays is based on 2 HD44780
controllers.
I tried with an older 40x2 HD44780 compatible display, but same
result.
I'm confused.... ANY SUGGESTIONS???
Users browsing this forum: No registered users and 0 guests