Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying out online tutorial to practice python and Raspberry Pi. I am currently following this tutorial.

It says a potentiometer is needed, but I don't have one. The lcd I have is JHD162A

What will happen if I connect the circuit exactly the same but without a potentiometer? Will it destroy my Pi or will it not work?

share|improve this question
Just get a pot or steal one - I've seen LCDs totally blank without one. – Andy aka Mar 3 '14 at 19:36

The potentiometer sets the Voltage to the Contrast of the LCD.

You could replace the potentiometer with two resistors. See the diagram. One from 5V to pin3 of the LCD and the other from pin3 to pin1. Equal values of about 4.7k might be a good starting point.

enter image description here

share|improve this answer

The potentiometer is used to control the contrast of the lcd. Without it it shouldn't cause any problems but it could be unreadable. You could use a fixed resistor instead, though you would need to experiment with the size to give you a readable display.

Something around 5k6 would be a good starting point, connected between the +ve supply and pin 3 of the LCD.

share|improve this answer
thanks!! ill get a potentiometer – God_Father Mar 3 '14 at 16:46

Leaving out the potentiometer will not damage your processor or the LCD.

The potentiometer adjusts the contract of the LCD. If you leave the contrast adjustment pin unconnected, you might have a wrong contrast. Without the adjustment, the LCD could be all blank (white letters on white background), or it could be all black (black letters on black background). You may end up with the LCD, which is not readable.

P.S. A while ago, I went through the exercise of connecting the contrast pin incorrectly. Here's the thread. At first, I thought that this is a firmware problem. The realization that the contrast pin was the problem is in the last couple of posts in that thread.

share|improve this answer
oh.. thanks, then ill get one – God_Father Mar 3 '14 at 16:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.