I2C LCD 16x2 not working

My LCD 16 x2 is not working I've used the hd44780 library to check, I do find the address of my I2C LCD but it shows LCD Stuck can anyone guide me a bit.

Below is the result I got running the program:

Serial Initialized


I2CexpDiag - i2c LCD i/o expander backpack diagnostic tool


hd44780 lib version: 1.3.2


Reported Arduino Revision: 1.6.7

Arduino Board: ESP32_DEV Arduino Variant: doitESP32devkitV1

CPU ARCH: ESP32 - F_CPU: 240000000


SDA digital pin: 21 (GPIO21)

SCL digital pin: 22 (GPIO22)


Checking for required external I2C pull-up on SDA - YES

Checking for required external I2C pull-up on SCL - YES

Checking for I2C pins shorted together - Not Shorted


Scanning i2c bus for devices..

i2c device found at address 0x3F

Total I2C devices found: 1


Scanning i2c bus for all lcd displays (4 max)

LCD at address: 0x3F | config: P01245673H | R/W control: Yes

Total LCD devices found: 1


LCD Display Memory Test

Display: 0

LCD stuck BUSY status


No working LCD devices

Hello

Check out this tutorial:

hth

Search the forum for "LCD stuck BUSY status". I know that I have seen that before and Bill Perry (@bperrybap) has addressed the possible cause(s) of that issue.

Can you post some photos of your setup?
Stuck BUSY means that the diagnostic waited more than the time that should be needed for the LCD to be read, and when it read the status the BUSY bit was still HIGH.
A HIGH BUSY bit is used to indicate that the LCD is busy, but in this case it shouldn't be.

Something is not working properly.
It could be several things, including connection issues between the PCF8574 and the LCD.
Some photos might help narrow things down.

--- bill

Are you sure that your display matches that library?

Can you check your display on another (Uno...) controller, or have a second display to check?

I've tried 2 displays and 2 esp32's

Then the library is incompatible with your system, maybe FreeRTOS or the ESP firmware.

Again, please post photos of your displays. The photos should clearly show your wiring and both the front and back of the displays.

The hd44780 library should work on that platform.

If none of those combinations are working with I2CexpDiag, I'd like to get to the bottom of why this is not working.
I'm very interested and really want to get to bottom of the issue.

Yes, please provide some photos of your setup.

Also, could you try the HelloWorld example in the hd44780_I2exp i/o class to see if that is working or if it blinks the status led indicating an issue/error.

--- bill

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.