[Icc-avr] 4-line LCD display

Albert vanVeen Albert.vanVeen at pertronic.co.nz
Sun Feb 3 14:10:09 PST 2008


To keep you informed:

We tried the hardware suggestions, and I experimented with various
timings.
It appears that around the christmas break we changed supplier, and now
we're havinf this strange behaviour of about 2 in 5 units failing. This
very strongly points to that supplier, but I can't see how they would
then not be flooded with complaints.

Anyway, it is currently labeled "hardware problem", so I don't care
anymore (only joking).

Albert.


-----Original Message-----
From: icc-avr-bounces at imagecraft.com
[mailto:icc-avr-bounces at imagecraft.com] On Behalf Of John Baraclough
Sent: Wednesday, January 30, 2008 06:16 AM
To: Discussion list for ICCAVR and ICCtiny Users. You do NOT need
tosubscribe to icc-announce if you are a member of this.
Subject: Re: [Icc-avr] 4-line LCD display

Hi Albert,

What processor clock frequency are you using? I have found that a small
delay is required between the rising and falling edges of the E clock on
the HD44780. Also you have only written the setup byte to the device
once and I have also found that it requires two writes to be sure of
setting the correct operating mode.

I have attached a couple of files that I have used for several years
without a problem. If you don't see the files let me know and I'll email
them direct to you.

All the best for now,
John


Albert vanVeen wrote:
> Thanks, especially for hw suggestions; we're looking at it.
> Meanwhile here is my init code for your perusal.
>
>
>   
<CODE SNIPPED>

Scanned by Bizo Email Filter




More information about the Icc-avr mailing list