Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

New LCD will not work.

New LCD will not work.

2005-04-22 by arhodes19044

Wow, the members here are SO helpful.  Especially being patient with a 
newbie like me.

Well, the next problem is getting my LCD working.  It is a brand new 
optrex dmc-61230.  I have it hooked up for 4 bit parallel.

I have it all wired up and all the wires are going to where I think 
they should, but it is not working.   I have triple checked the wires 
while looking at the datasheet for the LCD.  Power wires are right.  
The 4 active data pins (DB4 thru DB7) are hooked to the pins I have 
assigned to bits 0-4.  RS, RW, E are hooked up aproperly as far as I 
can tell.  But I get nothing.

When you power up an LCD should it do anything visible without any 
connection other than power (+,-) and the "LCD drive" which is 
supposed to be in the neighborhood of 1/2 VDD?

I am getting nothing.  The backlight does come on....

No lettering or anything.  As far as I can tell, the test program 
looks like it is running properly, but I am not positive.

I am devoid of further ideas....

-Tony

Re: New LCD will not work.

2005-04-22 by arhodes19044

Well, maybe one member is not so helpful.   Maybe does not really 
need to be here any more.....

-Tony

--- In AVR-Chat@yahoogroups.com, Jørn Tore Ørsland 
<jorntoreorsland@t...> wrote:
> fuck you!!!!!!!!! DONT ASK SUTSH A STUPID 
> QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ----- Original Message ----- 
> From: "arhodes19044" <spamiam@c...>
> To: <AVR-Chat@yahoogroups.com>
> Sent: Saturday, April 23, 2005 2:50 AM
> Subject: [AVR-Chat] New LCD will not work.
> 
> 
> >
> >
> > Wow, the members here are SO helpful.  Especially being patient 
with a
> > newbie like me.
> >
> > Well, the next problem is getting my LCD working.  It is a brand 
new
> > optrex dmc-61230.  I have it hooked up for 4 bit parallel.
> >
> > I have it all wired up and all the wires are going to where I 
think
> > they should, but it is not working.   I have triple checked the 
wires
> > while looking at the datasheet for the LCD.  Power wires are 
right.
> > The 4 active data pins (DB4 thru DB7) are hooked to the pins I 
have
> > assigned to bits 0-4.  RS, RW, E are hooked up aproperly as far 
as I
> > can tell.  But I get nothing.
> >
> > When you power up an LCD should it do anything visible without 
any
Show quoted textHide quoted text
> > connection other than power (+,-) and the "LCD drive" which is
> > supposed to be in the neighborhood of 1/2 VDD?
> >
> > I am getting nothing.  The backlight does come on....
> >
> > No lettering or anything.  As far as I can tell, the test program
> > looks like it is running properly, but I am not positive.
> >
> > I am devoid of further ideas....
> >
> > -Tony
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >

Re: [AVR-Chat] New LCD will not work.

2005-04-23 by Jørn Tore Ørsland

fuck you!!!!!!!!! DONT ASK SUTSH A STUPID 
QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
----- Original Message ----- 
Show quoted textHide quoted text
From: "arhodes19044" <spamiam@comcast.net>
To: <AVR-Chat@yahoogroups.com>
Sent: Saturday, April 23, 2005 2:50 AM
Subject: [AVR-Chat] New LCD will not work.


>
>
> Wow, the members here are SO helpful.  Especially being patient with a
> newbie like me.
>
> Well, the next problem is getting my LCD working.  It is a brand new
> optrex dmc-61230.  I have it hooked up for 4 bit parallel.
>
> I have it all wired up and all the wires are going to where I think
> they should, but it is not working.   I have triple checked the wires
> while looking at the datasheet for the LCD.  Power wires are right.
> The 4 active data pins (DB4 thru DB7) are hooked to the pins I have
> assigned to bits 0-4.  RS, RW, E are hooked up aproperly as far as I
> can tell.  But I get nothing.
>
> When you power up an LCD should it do anything visible without any
> connection other than power (+,-) and the "LCD drive" which is
> supposed to be in the neighborhood of 1/2 VDD?
>
> I am getting nothing.  The backlight does come on....
>
> No lettering or anything.  As far as I can tell, the test program
> looks like it is running properly, but I am not positive.
>
> I am devoid of further ideas....
>
> -Tony
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

Re: [AVR-Chat] New LCD will not work.

2005-04-23 by Dave VanHorn

At 08:14 PM 4/22/2005, Jørn Tore Ørsland wrote:

>fuck you!!!!!!!!! DONT ASK SUTSH A STUPID
>QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Member removed.


LCD displays generally don't display anything 
useful on powerup, but you should be able to vary 
the contrast voltage, and get black squares.
If you can't get that, then even if you are 
talking to it right, you may never know it.

Other than that, it's TIMING, TIMING, TIMING.
Do ALL the init steps, and insure that all your delays meet spec plus a bit.
You can always trim the delays back to spec+1 after you get it talking.

It can be tedious, since you don't usually get 
anything viewable until you get all of it right.

I can sympathize, I just went through this with a 
small 16 bit color LCD on another project, with a 
VERY long init sequence, where the parts that 
were correct, were poorly documented. :)

Re: [AVR-Chat] Re: New LCD will not work.

2005-04-23 by Dave VanHorn

At 08:19 PM 4/22/2005, arhodes19044 wrote:


>Well, maybe one member is not so helpful.   Maybe does not really
>need to be here any more.....

I think I nuked him while you were typing this.

Re: [AVR-Chat] New LCD will not work.

2005-04-23 by Ivan Vernot

Another thing to keep in mind is that a voltage is required to set the
contrast.
The voltage however varies for different LCDs (Some are happy with a 0-5V
range others need a -Ve supply. You will need to check the data sheet

One simple thing to try is to wire a potentiometer (the value is not
critical , 1K - 10K is fine) between GND and 5V with the wiper going to the
contrast pin (sometimes labelled VLCD).
As you vary the voltage (by turning the pot) you should see the LCD 'dots'
change intensity.

It is easy to get caught out thinking the LCD is dead/not initialised and
its just the contrast setting.
Although, to he honest, in this case it is MOST likely the init sequence as
David points out. :-)

Have a look at AVRfreaks.net - I am sure that there would be some sample
code for a text based LCD there

HTH
Ivan


----- Original Message -----
Show quoted textHide quoted text
From: "Dave VanHorn" <dvanhorn@dvanhorn.org>
To: <AVR-Chat@yahoogroups.com>; <AVR-Chat@yahoogroups.com>
Sent: Saturday, April 23, 2005 11:27 AM
Subject: Re: [AVR-Chat] New LCD will not work.


>
> LCD displays generally don't display anything
> useful on powerup, but you should be able to vary
> the contrast voltage, and get black squares.
> If you can't get that, then even if you are
> talking to it right, you may never know it.
>
> Other than that, it's TIMING, TIMING, TIMING.
> Do ALL the init steps, and insure that all your delays meet spec plus a
bit.
> You can always trim the delays back to spec+1 after you get it talking.
>
> It can be tedious, since you don't usually get
> anything viewable until you get all of it right.
>
> I can sympathize, I just went through this with a
> small 16 bit color LCD on another project, with a
> VERY long init sequence, where the parts that
> were correct, were poorly documented. :)
>
>



MSGTAG has notified the sender that you have read this message.

RE: [AVR-Chat] New LCD will not work.

2005-04-23 by Alex Shepherd

To quickly check hardware, I often use the BASCOM-AVR BASIC compiler
environment.

It has GUI menu's to very easily configure it to drive LCD's wired to any
pins and then print a message to the LCD to check you have it working.

Cheers

Alex

RE: [AVR-Chat] Re: New LCD will not work.

2005-04-23 by Larry Barello

Sounds like a joke in poor taste.  Hardly worth taking seriously.
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com 


At 08:19 PM 4/22/2005, arhodes19044 wrote:


>Well, maybe one member is not so helpful.   Maybe does not really
>need to be here any more.....

I think I nuked him while you were typing this.

RE: [AVR-Chat] Re: New LCD will not work.

2005-04-23 by Dave VanHorn

At 08:57 PM 4/22/2005, Larry Barello wrote:

>Sounds like a joke in poor taste.  Hardly worth taking seriously.


I didn't see a smiley, and it wasn't funny.

Re: [AVR-Chat] New LCD will not work.

2005-04-23 by David Kelly

On Apr 22, 2005, at 7:50 PM, arhodes19044 wrote:

> When you power up an LCD should it do anything visible without any
> connection other than power (+,-) and the "LCD drive" which is
> supposed to be in the neighborhood of 1/2 VDD?

The top line of 2-line displays, the only line of one line displays, 
and the 1st and 3rd of 4 line displays, is usually dark or grey fresh 
out of powerup and before the controller is initialized.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: New LCD will not work.

2005-04-23 by arhodes19044

But maybe he is not so far off the mark.  WHile it was not a stupid 
question.... Maybe I am stupid.  I had taken the generic LCD.h file 
and saved it as lcd.h.bak.  I then edited the H file and then 
created the hex file.  unfortunately I edited the bak file, not the 
H file. So, of course the pin assignemnts I made were not actually 
represented in the hex file... Would not work.  Now it does.  
Perfectly.

-Tony

p.s sorry.




--- In AVR-Chat@yahoogroups.com, "arhodes19044" <spamiam@c...> wrote:
> 
> Well, maybe one member is not so helpful.   Maybe does not really 
> need to be here any more.....
> 
> -Tony
> 
> --- In AVR-Chat@yahoogroups.com, Jørn Tore Ørsland 
> <jorntoreorsland@t...> wrote:
> > fuck you!!!!!!!!! DONT ASK SUTSH A STUPID 
> > QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > ----- Original Message ----- 
> > From: "arhodes19044" <spamiam@c...>
> > To: <AVR-Chat@yahoogroups.com>
> > Sent: Saturday, April 23, 2005 2:50 AM
> > Subject: [AVR-Chat] New LCD will not work.
> > 
> > 
> > >
> > >
> > > Wow, the members here are SO helpful.  Especially being 
patient 
> with a
> > > newbie like me.
> > >
> > > Well, the next problem is getting my LCD working.  It is a 
brand 
> new
> > > optrex dmc-61230.  I have it hooked up for 4 bit parallel.
> > >
> > > I have it all wired up and all the wires are going to where I 
> think
> > > they should, but it is not working.   I have triple checked 
the 
> wires
> > > while looking at the datasheet for the LCD.  Power wires are 
> right.
> > > The 4 active data pins (DB4 thru DB7) are hooked to the pins I 
> have
> > > assigned to bits 0-4.  RS, RW, E are hooked up aproperly as 
far 
> as I
> > > can tell.  But I get nothing.
> > >
> > > When you power up an LCD should it do anything visible without 
> any
> > > connection other than power (+,-) and the "LCD drive" which is
> > > supposed to be in the neighborhood of 1/2 VDD?
> > >
> > > I am getting nothing.  The backlight does come on....
> > >
> > > No lettering or anything.  As far as I can tell, the test 
program
Show quoted textHide quoted text
> > > looks like it is running properly, but I am not positive.
> > >
> > > I am devoid of further ideas....
> > >
> > > -Tony
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >

Re: New LCD will not work.

2005-04-23 by arhodes19044

But maybe he is not so far off the mark.  WHile it was not a stupid 
question.... Maybe I am stupid.  I had taken the generic LCD.h file 
and saved it as lcd.h.bak.  I then edited the H file and then 
created the hex file.  unfortunately I edited the bak file, not the 
H file. So, of course the pin assignemnts I made were not actually 
represented in the hex file... Would not work.  Now it does.  
Perfectly.

-Tony

p.s sorry.




--- In AVR-Chat@yahoogroups.com, "arhodes19044" <spamiam@c...> wrote:
> 
> Well, maybe one member is not so helpful.   Maybe does not really 
> need to be here any more.....
> 
> -Tony
> 
> --- In AVR-Chat@yahoogroups.com, Jørn Tore Ørsland 
> <jorntoreorsland@t...> wrote:
> > fuck you!!!!!!!!! DONT ASK SUTSH A STUPID 
> > QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > ----- Original Message ----- 
> > From: "arhodes19044" <spamiam@c...>
> > To: <AVR-Chat@yahoogroups.com>
> > Sent: Saturday, April 23, 2005 2:50 AM
> > Subject: [AVR-Chat] New LCD will not work.
> > 
> > 
> > >
> > >
> > > Wow, the members here are SO helpful.  Especially being 
patient 
> with a
> > > newbie like me.
> > >
> > > Well, the next problem is getting my LCD working.  It is a 
brand 
> new
> > > optrex dmc-61230.  I have it hooked up for 4 bit parallel.
> > >
> > > I have it all wired up and all the wires are going to where I 
> think
> > > they should, but it is not working.   I have triple checked 
the 
> wires
> > > while looking at the datasheet for the LCD.  Power wires are 
> right.
> > > The 4 active data pins (DB4 thru DB7) are hooked to the pins I 
> have
> > > assigned to bits 0-4.  RS, RW, E are hooked up aproperly as 
far 
> as I
> > > can tell.  But I get nothing.
> > >
> > > When you power up an LCD should it do anything visible without 
> any
> > > connection other than power (+,-) and the "LCD drive" which is
> > > supposed to be in the neighborhood of 1/2 VDD?
> > >
> > > I am getting nothing.  The backlight does come on....
> > >
> > > No lettering or anything.  As far as I can tell, the test 
program
Show quoted textHide quoted text
> > > looks like it is running properly, but I am not positive.
> > >
> > > I am devoid of further ideas....
> > >
> > > -Tony
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >

Re: [AVR-Chat] New LCD will not work.

2005-04-23 by Leon Heller

----- Original Message -----
Sent: Saturday, April 23, 2005 1:50 AM
Subject: [AVR-Chat] New LCD will not work.


Wow, the members here are SO helpful. Especially being patient with a
newbie like me.

Well, the next problem is getting my LCD working. It is a brand new
optrex dmc-61230. I have it hooked up for 4 bit parallel.

I have it all wired up and all the wires are going to where I think
they should, but it is not working. I have triple checked the wires
while looking at the datasheet for the LCD. Power wires are right.
The 4 active data pins (DB4 thru DB7) are hooked to the pins I have
assigned to bits 0-4. RS, RW, E are hooked up aproperly as far as I
can tell. But I get nothing.

When you power up an LCD should it do anything visible without any
connection other than power (+,-) and the "LCD drive" which is
supposed to be in the neighborhood of 1/2 VDD?

I am getting nothing. The backlight does come on....

No lettering or anything. As far as I can tell, the test program
looks like it is running properly, but I am not positive.

I am devoid of further ideas....

I've used it and it works.
Leon
--

Re: [AVR-Chat] Re: New LCD will not work.

2005-04-23 by Zack Widup

Hi Tony,

Besides all the other good advice you've already gotten (the one jerk 
notwithstanding) you might want to study the manual for the HD44780.  I 
believe that's the chip used in the Optrex LCD's.

The data sheet for the 44780 is a bit hard to come by but I have it on my 
website at http://www.qsl.net/w9sz/files/PDFs.

I hope that helps.

Zack
Show quoted textHide quoted text
On Sat, 23 Apr 2005, arhodes19044 wrote:

> 
> Well, maybe one member is not so helpful.   Maybe does not really
> need to be here any more.....
> 
> -Tony
> 
> --- In AVR-Chat@yahoogroups.com, Jørn Tore Ørsland
> <jorntoreorsland@t...> wrote:
> > fuck you!!!!!!!!! DONT ASK SUTSH A STUPID
> > QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > ----- Original Message -----
> > From: "arhodes19044" <spamiam@c...>
> > To: <AVR-Chat@yahoogroups.com>
> > Sent: Saturday, April 23, 2005 2:50 AM
> > Subject: [AVR-Chat] New LCD will not work.
> >
> >
> > >
> > >
> > > Wow, the members here are SO helpful.  Especially being patient
> with a
> > > newbie like me.
> > >
> > > Well, the next problem is getting my LCD working.  It is a brand
> new
> > > optrex dmc-61230.  I have it hooked up for 4 bit parallel.
> > >
> > > I have it all wired up and all the wires are going to where I
> think
> > > they should, but it is not working.   I have triple checked the
> wires
> > > while looking at the datasheet for the LCD.  Power wires are
> right.
> > > The 4 active data pins (DB4 thru DB7) are hooked to the pins I
> have
> > > assigned to bits 0-4.  RS, RW, E are hooked up aproperly as far
> as I
> > > can tell.  But I get nothing.
> > >
> > > When you power up an LCD should it do anything visible without
> any
> > > connection other than power (+,-) and the "LCD drive" which is
> > > supposed to be in the neighborhood of 1/2 VDD?
> > >
> > > I am getting nothing.  The backlight does come on....
> > >
> > > No lettering or anything.  As far as I can tell, the test program
> > > looks like it is running properly, but I am not positive.
> > >
> > > I am devoid of further ideas....
> > >
> > > -Tony
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> 
> 
> 
> 
> ________________________________________________________________________________
> Yahoo! Groups Links
>  *  To visit your group on the web, go to:
>     http://groups.yahoo.com/group/AVR-Chat/
>      
>  *  To unsubscribe from this group, send an email to:
>     AVR-Chat-unsubscribe@yahoogroups.com
>      
>  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> 
>

Looking for the Tiny2313 INC file

2005-04-23 by Mark Jordan

Hi,

	I'm looking for the ATTiny2313 assembler include file.
	Have searched the Atmel site but no luck.

	Thanks.
	Mark Jordan

Re: [AVR-Chat] Looking for the Tiny2313 INC file

2005-04-23 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: Mark Jordan
To: AVR-Chat@yahoogroups.com
Sent: Saturday, April 23, 2005 2:20 PM
Subject: [AVR-Chat] Looking for the Tiny2313 INC file



      Hi,

      I'm looking for the ATTiny2313 assembler include file.
      Have searched the Atmel site but no luck.

It's included with the latest AVR Studio4 distribution, in the directory
with all the other include files for the various chips.

Leon

Re: [AVR-Chat] Looking for the Tiny2313 INC file

2005-04-23 by Mark Jordan

Would someone please send me a copy?

	I just don't want to download lots of megabytes just to use
some 10 kB of files.

	Thanks.
	Mark Jordan
Show quoted textHide quoted text
On 23 Apr 2005 at 15:20, Leon Heller wrote:

> 
> 
> ----- Original Message ----- 
> From: Mark Jordan
> To: AVR-Chat@yahoogroups.com
> Sent: Saturday, April 23, 2005 2:20 PM
> Subject: [AVR-Chat] Looking for the Tiny2313 INC file
> 
> 
> 
>       Hi,
> 
>       I'm looking for the ATTiny2313 assembler include file.
>       Have searched the Atmel site but no luck.
> 
> It's included with the latest AVR Studio4 distribution, in the directory
> with all the other include files for the various chips.
> 
> Leon
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

Re: [AVR-Chat] Looking for the Tiny2313 INC file

2005-04-23 by Mark

I have found the file. 

	Thanks.
	Mark Jordan
Show quoted textHide quoted text
On 23 Apr 2005 at 15:20, Leon Heller wrote:

> 
> 
> ----- Original Message ----- 
> From: Mark Jordan
> To: AVR-Chat@yahoogroups.com
> Sent: Saturday, April 23, 2005 2:20 PM
> Subject: [AVR-Chat] Looking for the Tiny2313 INC file
> 
> 
> 
>       Hi,
> 
>       I'm looking for the ATTiny2313 assembler include file.
>       Have searched the Atmel site but no luck.
> 
> It's included with the latest AVR Studio4 distribution, in the directory
> with all the other include files for the various chips.
> 
> Leon
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

Re: New LCD will not work.

2005-04-23 by arhodes19044

Yes, the data sheet IS hard to find.  Thanks for the source.

I eventually figured out what I was doing wrong.  I had 2 versions 
of the include file and I modified the wrong one with the new pin 
assignments for the LCD!!!!  DUMB DUMB.  But it was right there in 
the PN window.  But it was bot the one make was using!

So obvious but so hard to see!

-Tony

--- In AVR-Chat@yahoogroups.com, Zack Widup <w9sz@p...> wrote:
> 
> Hi Tony,
> 
> Besides all the other good advice you've already gotten (the one 
jerk 
> notwithstanding) you might want to study the manual for the 
HD44780.  I 
> believe that's the chip used in the Optrex LCD's.
> 
> The data sheet for the 44780 is a bit hard to come by but I have 
it on my 
> website at http://www.qsl.net/w9sz/files/PDFs.
> 
> I hope that helps.
> 
> Zack
> 
> On Sat, 23 Apr 2005, arhodes19044 wrote:
> 
> > 
> > Well, maybe one member is not so helpful.   Maybe does not really
> > need to be here any more.....
> > 
> > -Tony
> > 
> > --- In AVR-Chat@yahoogroups.com, Jørn Tore Ørsland
> > <jorntoreorsland@t...> wrote:
> > > fuck you!!!!!!!!! DONT ASK SUTSH A STUPID
> > > QUESTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > ----- Original Message -----
> > > From: "arhodes19044" <spamiam@c...>
> > > To: <AVR-Chat@yahoogroups.com>
> > > Sent: Saturday, April 23, 2005 2:50 AM
> > > Subject: [AVR-Chat] New LCD will not work.
> > >
> > >
> > > >
> > > >
> > > > Wow, the members here are SO helpful.  Especially being 
patient
> > with a
> > > > newbie like me.
> > > >
> > > > Well, the next problem is getting my LCD working.  It is a 
brand
> > new
> > > > optrex dmc-61230.  I have it hooked up for 4 bit parallel.
> > > >
> > > > I have it all wired up and all the wires are going to where I
> > think
> > > > they should, but it is not working.   I have triple checked 
the
> > wires
> > > > while looking at the datasheet for the LCD.  Power wires are
> > right.
> > > > The 4 active data pins (DB4 thru DB7) are hooked to the pins 
I
> > have
> > > > assigned to bits 0-4.  RS, RW, E are hooked up aproperly as 
far
> > as I
> > > > can tell.  But I get nothing.
> > > >
> > > > When you power up an LCD should it do anything visible 
without
> > any
> > > > connection other than power (+,-) and the "LCD drive" which 
is
> > > > supposed to be in the neighborhood of 1/2 VDD?
> > > >
> > > > I am getting nothing.  The backlight does come on....
> > > >
> > > > No lettering or anything.  As far as I can tell, the test 
program
> > > > looks like it is running properly, but I am not positive.
> > > >
> > > > I am devoid of further ideas....
> > > >
> > > > -Tony
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > 
> > 
> > 
> > 
> > 
_____________________________________________________________________
___________
> > Yahoo! Groups Links
> >  *  To visit your group on the web, go to:
> >     http://groups.yahoo.com/group/AVR-Chat/
> >      
> >  *  To unsubscribe from this group, send an email to:
> >     AVR-Chat-unsubscribe@yahoogroups.com
> >      
> >  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
> > 
> >

Re: New LCD will not work.

2005-04-24 by arhodes19044

Thanls for the feedback.  I have the datasheet for the display.  It 
suggests a pot of 10k or 20k.  I used a simple voltage divider with 
2 10k resistors.  After experimentation, I found that the optimal 
voltage divider delivers  pure GROUND to the contrast pin.  So that 
is how I have it set now.

In the end, I had the physical wiring correct, but despint making 
corrections to the include file, I corrected the WRONG file.  So, 
the s/w was trying to use the wrong pins!  

-Tony


--- In AVR-Chat@yahoogroups.com, "Ivan Vernot" <ivernot@o...> wrote:
> Another thing to keep in mind is that a voltage is required to set 
the
> contrast.
> The voltage however varies for different LCDs (Some are happy with 
a 0-5V
> range others need a -Ve supply. You will need to check the data 
sheet
> 
> One simple thing to try is to wire a potentiometer (the value is 
not
> critical , 1K - 10K is fine) between GND and 5V with the wiper 
going to the
> contrast pin (sometimes labelled VLCD).
> As you vary the voltage (by turning the pot) you should see the 
LCD 'dots'
> change intensity.
> 
> It is easy to get caught out thinking the LCD is dead/not 
initialised and
> its just the contrast setting.
> Although, to he honest, in this case it is MOST likely the init 
sequence as
> David points out. :-)
> 
> Have a look at AVRfreaks.net -  I am sure that there would be some 
sample
> code for a text based LCD there
> 
> HTH
> Ivan
> 
> 
> ----- Original Message ----- 
> From: "Dave VanHorn" <dvanhorn@d...>
> To: <AVR-Chat@yahoogroups.com>; <AVR-Chat@yahoogroups.com>
> Sent: Saturday, April 23, 2005 11:27 AM
> Subject: Re: [AVR-Chat] New LCD will not work.
> 
> <snip>
> >
> > LCD displays generally don't display anything
> > useful on powerup, but you should be able to vary
> > the contrast voltage, and get black squares.
> > If you can't get that, then even if you are
> > talking to it right, you may never know it.
> >
> > Other than that, it's TIMING, TIMING, TIMING.
> > Do ALL the init steps, and insure that all your delays meet spec 
plus a
> bit.
> > You can always trim the delays back to spec+1 after you get it 
talking.
Show quoted textHide quoted text
> >
> > It can be tedious, since you don't usually get
> > anything viewable until you get all of it right.
> >
> > I can sympathize, I just went through this with a
> > small 16 bit color LCD on another project, with a
> > VERY long init sequence, where the parts that
> > were correct, were poorly documented. :)
> >
> >
> <snip>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.