I am using an Arduino Uno and TC1602 LCD display to write from MCU to the module. I have checked the wire connection for a lot of times, but still only backlight no text. So I am wondering whether there is possible that the display function has been burned out? Is there possible that the backlight works well but the display text is damaged?
I have it connected as follows from the Arduino LiquidCrystal page:
And the code taken from the same page is as follows:
// include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
}
Best Answer
You need to set the contrast. The contrast is probably too low, making the "hello, world!" virtually invisible.
You can try out some combinations of 2 resistors, to create a voltage divider yourself. My 2 LCD displays need V0 to be 0.8V and 1.1V respectively, to give you some indication.