Pages: [1]   Go Down
Author Topic: how to set the contrast?  (Read 592 times)
0 Members and 1 Guest are viewing this topic.
South East USA
Online Online
God Member
*****
Karma: 4
Posts: 636
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 2
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

South East USA
Online Online
God Member
*****
Karma: 4
Posts: 636
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

United States (Texas)
Offline Offline
God Member
*****
Karma: 2
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sounds good.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6889
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


South East USA
Online Online
God Member
*****
Karma: 4
Posts: 636
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: