Pages: 1 [2]   Go Down
Author Topic: LCD JHD 162A, semi-working ?  (Read 1457 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If your contrast is not changing when you turn your potentiometer, you need to check your potentiometer. Connect your potentiometer wiper to analog pin 0 and run this:

Code:
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println(analogRead(0));
delay(200);
}

If your reading on the serial monitor goes from 1023 to 0 when you slowly turns the pot, you have a working pot. Anyway, you have not told me what value of pot you are using. The suggested value is 10-25K ohm. I've used 100K ohm once and it worked ok, the contract is just not very stable.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no I turned the contrast all the way up and all the way down to see if there was anything on the screen but nothing apeared ? and the contrast works fine
Logged

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

Quote
no I turned the contrast all the way up and all the way down to see if there was anything on the screen but nothing apeared ? and the contrast works fine

This doesn't sound right.  Typically something does appear at one of the extremes and this will happen even with the Arduino totally disconnected.  If it doesn't, then the contrast does not work fine.

What exactly was the difference in the display when the contrast was all the way up compared to all the way down?

Also, how do you define up and down?  Typically the lower voltage (lower as in down) results it the highest contrast (highest as in up).

I'll try again.  What were the results of your voltage measurements?


Don
Logged

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

What were the results of your voltage measurements?[/color]

Don

I want that too!!
Logged


Pages: 1 [2]   Go Up
Jump to: