4 x 20 display contrast weirdness observations
Harprit
Posts: 539
I have had some weird observations for a 4 x 20 LCD display. The one I have has a standard Hitachi driver but needs a negative voltage on pin 3 to get the contrast to work. Essentially this interface is the same as for a standard 2 x 16 display specially for the first two lines. Now the weirdness.
If I put this display where a 16 x 2 display was, on start up and no negative voltage for contrast I can just barely see the display if the lighting is just right. But everything is working. If I provide the negative contrast voltage everything becomes visible just right. Now if I remove the negative voltage and lift the display off the breadboard and push it back down again, I get garbage scrolling on lines 1 and 3 (not 1 an 2) but I can see everything just fine without the contrast voltage. So apparently there is some way to have the contrast come alive without a negative voltage but this is interfered with by the initialization process. Does anyone have any experience with this? Is it possible to get around this? How do we explain this?
This is an Optrex uint
Harprit
Post Edited (Harprit) : 12/14/2009 9:10:53 PM GMT
If I put this display where a 16 x 2 display was, on start up and no negative voltage for contrast I can just barely see the display if the lighting is just right. But everything is working. If I provide the negative contrast voltage everything becomes visible just right. Now if I remove the negative voltage and lift the display off the breadboard and push it back down again, I get garbage scrolling on lines 1 and 3 (not 1 an 2) but I can see everything just fine without the contrast voltage. So apparently there is some way to have the contrast come alive without a negative voltage but this is interfered with by the initialization process. Does anyone have any experience with this? Is it possible to get around this? How do we explain this?
This is an Optrex uint
Harprit
Post Edited (Harprit) : 12/14/2009 9:10:53 PM GMT
Comments
You wrote "...lift the display off the breadboard and push it back down again..."; do you mean the power was removed? Because all these LCD controller ICs need to be re-initialized after power is restored. Hope I didn't misunderstand what you described.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
Harprit
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
The power to the LCD is 5 volts and ground
The contrast is at -3.0 (2 AAA cells)
Harprit
It works just fine if I add the contrast -AAAs so there is something else going on.
The specs do say it needs a negative voltage for contrast on this particular unit.
HSS
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
and then see what happens.
HSS