problem with LCD 4 x 20 + Atmega64

Peter KWS
Benutzer
Avatar
Gender: n/a
Age: 40
Posts: 18
Registered: 11 / 2011
Subject:

problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 21:35  ·  #1
Hi all. I have a character display with 4 x 20 44780 controller and everything is ok but sometimes display shows random characters and I have to reset the mega64 that everything was ok: ( Connection is by DocuStdDriver.pdf, any idea what's is problem ? Display in a loop periodically rewriting new data in 50ms.
Gunter
Administrator
Avatar
Gender:
Location: Frankfurt Main / Germany
Posts: 1697
Registered: 02 / 2003
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 21:48  ·  #2
Hi,
is it really a "44780" or a compatible one?
What is the cable length MCU-LCD?
Did you try slower refresh rates?

Gunter
Peter KWS
Benutzer
Avatar
Gender: n/a
Age: 40
Posts: 18
Registered: 11 / 2011
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 22:08  ·  #3
I find the display in google, display is Bolymin BC 2004B YPLEH with KS0066 controller, is this controller compatible with 44780? slower rate I tried and still angry :( For example, 10 min. works well and then go mad. It is connected to 10 cm long flat cable pc.
Gunter
Administrator
Avatar
Gender:
Location: Frankfurt Main / Germany
Posts: 1697
Registered: 02 / 2003
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 22:17  ·  #4
first try
LCDtype = 0070;
and
LCDtype = 0073;

10cm flat cable is OK.
Peter KWS
Benutzer
Avatar
Gender: n/a
Age: 40
Posts: 18
Registered: 11 / 2011
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 22:26  ·  #5
Ok thank you Gunter, tomorow i trying LCDtype = 0070 or LCDtype = 0073, write the result tomorrow, good night, bye. :-)
Gunter
Administrator
Avatar
Gender:
Location: Frankfurt Main / Germany
Posts: 1697
Registered: 02 / 2003
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 05.12.2011 - 22:47  ·  #6
or
maybe the power supply of the lcd is to weak.
Try to use additional thick cables and 10uF capaticors near the lcd power pins.
I am sure the AVRco lcd driver works without problems ->
must be something else!

Gunter
Peter KWS
Benutzer
Avatar
Gender: n/a
Age: 40
Posts: 18
Registered: 11 / 2011
Subject:

Re: problem with LCD 4 x 20 + Atmega64

 · 
Posted: 06.12.2011 - 22:19  ·  #7
Today in work i change the controller in program from 44780 to 0070, I gave capacitor to LCD VCC and all is ok, 10 hours test and work perfect, thank you Gunter for new knowledge :)
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   114   128 · Page-Gen-Time: 0.025353s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI