Skip to main content
SMusc.1
Associate III
October 8, 2022
Solved

Hello, i am tring to display some word on my LCD connected by means I2C drive (LCM1602) without result. I have no error and the LCD is always on but no word apper. I think that the issue is the address to put in: #define DEVICE_ADDR (0x4E << 1)

  • October 8, 2022
  • 5 replies
  • 2366 views

On data scheet of device (PCF8574T mounted on LCM1602) the addres is 0100 1110=4E but the program still doesn't show me any letter on LCD. Where is wrong? I cheked many times the pin and them are right. Same thing on Cube IDE.

This topic has been closed for replies.
Best answer by Johi

Hello,

  • https://playground.arduino.cc/Main/I2cScanner/ is a link to an I2C scanner.
  • Does your display work on a real Arduino, have you tried this?
  • Have you tried to change the contrast of your display (via a potmeter or other device), if contrast is not setup correctly you not see anything.

Best Regards,

Johi.

5 replies

MM..1
Chief III
October 8, 2022

remove << 1 or better change >> 1

SMusc.1
SMusc.1Author
Associate III
October 9, 2022

Hi, i doesn't work

SMusc.1
SMusc.1Author
Associate III
October 9, 2022

there is a way to check automatcly the adress like in the arduino? In arduino there is some code to scann this

Johi
JohiBest answer
Senior II
October 9, 2022

Hello,

  • https://playground.arduino.cc/Main/I2cScanner/ is a link to an I2C scanner.
  • Does your display work on a real Arduino, have you tried this?
  • Have you tried to change the contrast of your display (via a potmeter or other device), if contrast is not setup correctly you not see anything.

Best Regards,

Johi.

SMusc.1
SMusc.1Author
Associate III
October 9, 2022

YES i tried to do all; with Arduino i can see some word