Liquidcrystal_I2C does not work

I have a LCD 16x2 with I2C connection. I downloaded the LiquidCrystal_I2C library from De Brabander. I can search for de address with the I2CScanner but this is serial communication. I have tried everything, even bought e new lcx 16x2 wirh I2C interface but it still does not work!
I checked the wires also. I checked the potentiometer for the brightness.
Maybe wrong library installed? The examples I have in the LiquidCrystal_I2C library ends with .PDE filetype!
Please help.

Not all driver chips on the i2c backpacks are connected to the display in the same way as expected by LiquidCrystal_I2C.h
The best available library for the i2c lcd displays is called hd44780.h. written by Bill Perry. It is available through the library manager.

I would suggest that you convert to it. It is plug and play for a variety of configurations of the i2c backpack modules. It will detect both the i2c address and the configuration of the driver.

As part of the library there is a comprehensive diagnostic sketch which will test some internal details of the display. It's called I2CexpDiag

In the ide you can navigate to the library example

File>Examples>hd44780>ioclass>hd44780_I2Cexp>I2CexpDiag

You state: "I can search for de address with the I2CScanner but this is serial communication." Yes it is serial communication, what was the result. I have a feeling you did not get any result. If you do not get a result you can spend a year and not get the display to work. Communications is a must.

Posting an annotated schematic would help us help you. Frizzy (Fritzing) pictures are useless they burn a lot of your time and they do not have the information that is needed for debugging. Also post links to technical information on each of the hardware devices. Market places such as azon do not have the needed details.

Solved! I used wrong constructor:
Should be:
LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 16, 2); // Change to (0x27,20,4)
I used:
LiquidCrystal_I2C lcd (0x27, 16, 2); // Change to (0x27,20,4)
Thanks all

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