Hi all, I have been stuck on this issue for a while now. Any help is appreciated.
I am using an Arduino Uno WiFi rev2 with a LCD 1602. The LCD lights up but does not show any text.
Things I tried:
Finding the right address using a script.
Changing the contrast of the LCD.
Using hd44780.h or LiquidCrystal_I2C
My code:
#include <Wire.h>
#include <hd44780.h>
#include <hd44780ioClass/hd44780_I2Cexp.h>
// Initialize the LCD object
hd44780_I2Cexp lcd(0x60);
void setup() {
Wire.begin();
Serial.begin(9600);
while (!Serial);
// Initialize the LCD
lcd.begin(16, 2); // Set the number of columns and rows of your LCD
}
void loop() {
lcd.setCursor(0, 0); // Set the cursor to the first column of the first row
lcd.print("Hello, World!"); // Print a message
delay(2000); // Wait for 2 seconds
lcd.clear(); // Clear the display
delay(1000); // Wait for 1 second
}
Your Arduino is unable to communicate with the I2C LCD module.
Perhaps some jumper may be defective.
It is very common for these jumpers to be defective.
One problem is there is no pull up resistors on that backpack. You need something in the 4.7K range for the SCL and SDA pins. At that point everything should work.
Sorry that image is not for the HW-061 module the op posted. It has way more resistors then the unit shown by the OP. I have several styles of look alike modules and most do not have pull up resistors.
Thanks for your help. I did remove all components and it still 'noticed' a lcd on 0x60, so it's probably the wifi module. I have no clue how to read the second table, so I just tried all hexademical addresses with other jumpers, but none seem to work unforunately.