Pages: [1]   Go Down
Author Topic: Character LCD contrast not changing  (Read 470 times)
0 Members and 1 Guest are viewing this topic.
Ahmedabad, India
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am working with a JHD539M1 16x4 character LCD and have wired it as such.



I have not connected the backlight since that messes up my camera shot, but as you can see the contrast is on full. But it remains that way at every position of the pot. I have checked and the pin 3 is changing voltage from 0 to 5v easily as i change the position of the pot. But for every position the 2nd and 4th lines remain black.

BTW, I am using this tutorial http://learn.adafruit.com/character-lcds/wiring-a-character-lcd. It says not to go forward without getting the pot to work, hence the question.
(sorry for the lack of colors, will upload new pic in an hour)
« Last Edit: January 21, 2013, 07:02:37 am by Paresh Mathur » Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Hello,

Sorry, let me get my glasses: everything seems to fuzzy.
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4256
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
But for every position the 2nd and 4th lines remain black.
Actually your display is upside down as is the display in the Adafruit tutorial until you get a little further on.  I guess you already know that since you mention that the 2nd and 4th lines are blank.

Having boxes only on the first and third lines is normal, the question is really 'can you adjust how dark those boxes are'.  

Your display appears to be quite normal if the pot is giving you a voltage at or near 0 on pin three.  As you raise the voltage the boxes should quickly fade away giving a blank display when you near 5 volts.  If your display exhibits that characteristic then everything is OK for you to proceed.


Don
« Last Edit: January 21, 2013, 10:46:52 am by floresta » Logged

UK
Offline Offline
God Member
*****
Karma: 17
Posts: 568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you let us see how you have it wired.

As said, your display is upside down in the picture we can see and that means that those pins on the left are NOT 1,2,3.

The pins should be at the top right of the display, numbered 1-16, and labelled along the lines of Vss, Vdd, Vo for the supply and contrast.

Can you confirm if these are the pins you're connected to, rather than A,K and D7 at the other end?
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4256
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
As said, your display is upside down in the picture we can see and that means that those pins on the left are NOT 1,2,3.
When you visualize the device in the correct orientation the pins are in the more or less normal location, at the upper left.  Also, pin 1 is normally near the edge of the display, where his connections are, so that means that he appears to be using the correct pins.

Don

Logged

Pages: [1]   Go Up
Jump to: