Go Down

Topic: how to set the contrast? (Read 754 times) previous topic - next topic

SouthernAtHeart

I've got a cheap 16x2 LCD from Hong Kong coming, pictured below.  I am going to use the shiftLCD library.
So, that will take care of the 7 pins driving it.  The backlight-I will just hook up with a proper resistor.
But what about the contrast.  What do I do with that connection?

weirdo557

connect a potentiometer between the negative voltage supply and +5 volts, connect the output to the contrast pin

SouthernAtHeart

Great!  Sounds easy enough.
Something like a 10K?

weirdo557


liudr

I use a multi-turn potentiometer. It's a pain to turn this thing if I'm no the wrong end of the scale but once I get there I can adjust my contrast so much better than single turn pots. Just my 2 cents.

SouthernAtHeart


I use a multi-turn potentiometer. It's a pain to turn this thing if I'm no the wrong end of the scale but once I get there I can adjust my contrast so much better than single turn pots. Just my 2 cents.

thanks, I have a multi-turn 10K, so will use that.

Go Up