Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 26th May 2007, 04:56 AM   (permalink)
Default LCD contrast issue

I'm using a HD44780 controlled LCD, but the display is almost invisible. I'm using a 10k pot from +5 to ground with the wiper to VL to control contrast as the data sheet suggested. If I go from +5 to -5 the contrast is great. Has anyone had similar problems or any suggestions to avoid the dual supply?
jeg223 is offline  
Old 26th May 2007, 07:18 AM   (permalink)
Default

Wierd, What is VL? I'm not familiar with it from my LCD's... What Pin# is it?

The first three Pins are usually Vss, Vdd, Vee, and I wire it up like this;

__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 26th May 2007, 07:42 AM   (permalink)
Default

Quote:
Originally Posted by jeg223
I'm using a HD44780 controlled LCD, but the display is almost invisible. I'm using a 10k pot from +5 to ground with the wiper to VL to control contrast as the data sheet suggested. If I go from +5 to -5 the contrast is great. Has anyone had similar problems or any suggestions to avoid the dual supply?
If its for sure a HD44780, then IMO there is someother problem with the LCD than the contrast voltage. Vo +5V thru 0v, using a 10K0 should be OK.

Is the Common 0V line connected from the LCD controller pcb to the PIC 0V line?.

If you must use a -Vo, do you have a MAX232 RS232 ic on the PIC pcb?, if so, you can tap into the -9V on the MAX.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 26th May 2007 at 08:01 AM.
ericgibbs is online now  
Old 26th May 2007, 07:59 AM   (permalink)
Default

G'd Day Gramo,

Please check the naming of the LCD power connections in your pix, above.

The Hitachi manual for the HD44780 says:
pin#1 Vss, signal ground.[0V]
pin#2 Vdd, power supply for logic.[+5v]
pin#3 Vo, power supply for LCD driving voltage.[Vo=> +1.5V]

The recommended variable resistor is 10K0 thru 20K0

Regards
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 26th May 2007, 08:10 AM   (permalink)
Default

I'm using another type of LCD panels.For the contrast I'm using 5K V/R and sometimes in ohms scale fixed resistor value.

My LCD manufacture recomends that you must connect the V/R in between the V0 - contrast reference supply & Vss - Ground.

If the back light is too bright also its hard to adjust the contrast well.also some back lights like blue colour draws much more current than others.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 26th May 2007, 08:56 AM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
G'd Day Gramo,

Please check the naming of the LCD power connections in your pix, above.

The Hitachi manual for the HD44780 says:
pin#1 Vss, signal ground.[0V]
pin#2 Vdd, power supply for logic.[+5v]
pin#3 Vo, power supply for LCD driving voltage.[Vo=> +1.5V]

The recommended variable resistor is 10K0 thru 20K0

Regards
Well there you go

My little datasheets said 4.7K to 10K

I'll look around and confirm it
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 26th May 2007, 01:32 PM   (permalink)
Default

you must have an 'extended temperature' lcd, which requires negative voltage for contrast.

stealing a little -V from a max232 is an awesome and easy idea, you can also generate some using a charge-pump consisting of two capacitors and two diodes driven by a sq. wave from your microcontroller.

another option is a dedicated charge pump controller - Microchip has an easy to use SO8 verison that works with inexpensive ceramic caps.
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline  
Old 26th May 2007, 01:56 PM   (permalink)
Default

Quote:
Originally Posted by justDIY
you must have an 'extended temperature' lcd, which requires negative voltage for contrast.

stealing a little -V from a max232 is an awesome and easy idea, you can also generate some using a charge-pump consisting of two capacitors and two diodes driven by a sq. wave from your microcontroller.

another option is a dedicated charge pump controller - Microchip has an easy to use SO8 verison that works with inexpensive ceramic caps.
Hi,
I use the -V from the max for graphic displays.

You can steal upto 10mA from the +/- lines of the MAX232, I usually make the MAX caps 4.7uF or 10uF, when I do that.
Use the +/- 9v thru 78/79L05 for opa supplies.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
PIC16+Parallel lcd - by twitchy Nigel Goodwin Micro Controllers 16 18th May 2007 11:44 AM
8 bits LCD Problem joe_1 Micro Controllers 3 27th April 2007 02:38 AM
89c4051 4-bit controlled LCD sporadic screwup Pax Writer Micro Controllers 7 26th April 2007 06:58 AM
LCD Template Code For PIC16F84A (Help) Peter_wadley Micro Controllers 23 4th April 2007 04:47 AM
Contrast problem Optrec 20171 LCD Unit Dialtone General Electronics Chat 3 18th April 2004 11:48 PM



All times are GMT. The time now is 06:48 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker