Go Down

Topic: how to set the contrast? (Read 757 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
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview