ATH10: Communication failed

Hello!

I soldered a AHT10 to use with a Wemos D1 Mini v3.
After configuration I get following errors:

[20:57:56][C][i2c.arduino:037]: I2C Bus:
[20:57:56][C][i2c.arduino:038]:   SDA Pin: GPIO4
[20:57:56][C][i2c.arduino:039]:   SCL Pin: GPIO5
[20:57:56][C][i2c.arduino:040]:   Frequency: 50000 Hz
[20:57:56][C][i2c.arduino:046]:   Recovery: failed, SCL is held low on the bus
[20:57:56][C][aht10:135]: AHT10:
[20:57:56][C][aht10:136]:   Address: 0x38
[20:57:56][E][aht10:138]: Communication with AHT10 failed!

Configuration in ESPHome:

esphome:
  name: temp-test

esp8266:
  board: d1_mini

# Enable logging
logger:
  level: VERY_VERBOSE

# Enable Home Assistant API
api:

ota:
  password: XXXXX

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: XXXXXX
    password: XXXXX

captive_portal:

sensor:
  - platform: aht10
    temperature:
      name: "Arbeitszimmer Temperatur"
    humidity:
      name: "Arbeitszimmer Luftfeuchtigkeit"
    update_interval: 60s
    
i2c:
  sda: D2
  scl: D1
  scan: true

For me the wiring looks correct.
I soldered a second one, same error output.

Do you have any advice?

Thank you!

Schema of your wiring ?? as error is pretty clear it’s a wiring error !

1 Like

This is the wiring (found no AHT10 part, but order of connections is the same).

Thank you!

Yes, I just realized the wrong wiring…
I dont know why, but this happens literally every single time, that I ignore the gap.

Thanks, would have taken days if I havent asked here…

Hi John, Thanks for sharing the configuration and the diagram. I have recently started exploring ESPHome and various sensors. The details you have shared here are helpful to me.