I was trying I2C LCD with ESP 32 using the following sketch. But the back light is very bright and the letters on LCD are very Faint. I tried to adjust the potentio meter to adjust the contrast but the effect was not much. Can you give me some software solution or hardware solution.
// set the LCD number of columns and rows
int lcdColumns = 16;
int lcdRows = 2;
// set LCD address, number of columns and rows
// if you don’t know your display address, run an I2C scanner sketch
LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows);
// initialize LCD
// turn on LCD backlight
// set cursor to first column, first row
// print message
// clears the display to print new message
// set cursor to first column, second row
I usually solve that problem with the potentiometer to adjust that…
Have you tried to uncomment and change those values to see the effect?
Thanks for asking!
Yes sir I tried with
But there was no change.
I will try.
Also I have ordered new I2C LCD. There could be a hardware problem in the existing LCD
What voltage are you feeding the LCD? The LCD needs 5V. if you feed it with the 3.3V of ESP32 the letters will look faint.
Mr. Serigo. Thanks a lot. You are right. I have given 3.3 V supply from ESP 32. That may be the reason for the letters to be faint. I will try with 5 V Supply and see the reasult.