Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i2c lcd_pcf8574 not working
#1
i got this issue

[22:24:38][C][lcd_pcf8574:024]: PCF8574 LCD Display: 
[22:24:38][C][lcd_pcf8574:024]: Columns: 20, Rows: 4 
[22:24:38][C][lcd_pcf8574:028]: Address: 0x27 
[22:24:38][C][lcd_pcf8574:029]: Update Interval: 0.5s 
[22:24:38][E][lcd_pcf8574:031]: Communication failed 
[22:24:38][E][component:088]: Component display is marked FAILED: 

this my config


esp32:
  board: esp32dev
  framework:
    type: esp-idf
    
...............



i2c:
  sda: GPIO4
  scl: GPIO16
  id: i2c0
  scan: true
  #frequency: 100kHz
display:
  - platform: lcd_pcf8574
    dimensions: 20x4
    i2c_id: i2c0
    address: 0x27
    update_interval: 500ms
    lambda: |-
      it.strftime(0,0, "  %d-%m-%Y %H:%M", id(sntp_time).now());
      it.printf(0,1, "T Est %.1f-T Int %.1f", id(tt_ext).state, id(tt_int).state);
      it.printf(0,2, "GIARD %s  SCALE %s", id(giardino).state  ? "ON" : "OFF" , id(scale).state  ? "ON" : "OFF");
      it.printf(0,3, "GIARD %.0f  SCALE %.0f", id(giardino_work_time).state, id(scale_work_time).state);


--------------

what's wrong?
I already changed more displays , try invert sda/scl, try 3.3v and 5v also...
Reply


Messages In This Thread
i2c lcd_pcf8574 not working - by simdollaro - 07-17-2025, 08:33 PM
RE: i2c lcd_pcf8574 not working - by simdollaro - 07-18-2025, 05:53 AM
RE: i2c lcd_pcf8574 not working - by simdollaro - 07-18-2025, 07:11 AM
RE: i2c lcd_pcf8574 not working - by admin - 07-18-2025, 10:52 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)