Arduino LCD not working

Submitted by Lena Jhon on Mon, 12/09/2019 - 21:20

Hey I am very new to electronics I am trying to get my LCD to work with Arduino but it's not working. I want to learn how to debug my lcd to check where the probelm is. I have tried many forums but nothing helped. 

Please dont ask me to check the connection and circuit diagram. I have done it many times. I have also replaced the display and Arduino nothing changed. My circuit diagram and code is same as given here

https://circuitdigest.com/microcontroller-projects/arduino-lcd-interfacing-tutorial

Please help. My display shows only plain white screen all the time 

I hope you are running exactly same code as given in the tutorial.
Double check the value of resistor associated with the lcd. If it is not proper the lcd will show nothing.

  Joined February 12, 2018      696
Monday at 02:11 PM

The only resistor used in the circuit is a current limiting resistor for the LCD backlight. I have used a 1k resistor and the backlight is on. Is it okay to use 1k for this?

Thanks for the reply

  Joined December 09, 2019      3
Monday at 09:16 PM

If your LCD is having a plain screen, then it might be the issue of pin 3 of  LCD which refers to the contrast pin.Check the pin 3 of LCD weather it is properly grounded or not.If your contrast is OK, then it should show a screen like the figure below instead of a plain screen.If it doesn't work, then try connecting a potentiometer at pin 3 of LCD, so that you can control the contrast of LCD.your LCD should show a screen like below without uplading the code.

  Joined August 22, 2019      125
Thursday at 12:29 PM

Thanks Parida, you saved my day. 

The problem was with the contrast pin I added a pot and controlled the contrast and everything works now. But should I always have a POT? I want my circuit o look small, is there a way to use a simple resistor? if yes what value ?

  Joined December 09, 2019      3
Monday at 09:16 PM

Hi Jhon, great to know that, your issue has been resolved.It is reccommended to use a potentiometer for contrast adjustment, as you can vary it as per your need. Yes, if you want to use a resistor instead of it, try connecting a 1K resistor, with one end connecting to pin 3 of LCD and other to ground.Hope it helps!!!

  Joined August 22, 2019      125
Thursday at 12:29 PM

Hey thanks, once I got the right constrast value on my lcd I measured the resistance between the two exterme pins from my center pin of POT. The values were 2.2k and 7.8k approx. 

Then I replaced the pot with two through hole resisters and it worked. My the sad part is when I change the LCD display the conrast value also changes. Looks like the value of these resistors will have to vary for every LCD panel. 

  Joined December 09, 2019      3
Monday at 09:16 PM

Hey Jhon, it seems that, the LCD you have replaced may have diffrent electrical property which needs recalibration.So it is wise to use a 10K pot with Pin 3 so that you can just calibrate it anytime.

  Joined August 22, 2019      125
Thursday at 12:29 PM

The issue you are facing is very common for the beginners, but easily solvable. For that cross-check pin 3 of your LCD if it is 16 x 2 type of LCD. You have to attach a potentiometer of value 10k. After this power up your system and rotate the nob of the potentiometer you just connected. There is a level comes, where you can easily see the characters on the screen. Here I would like to suggest you to get assistance from SSLA technical support team, who assist the beginners for the completion of their projects.

  Joined April 09, 2020      55
Thursday at 02:40 PM