ESPHome not found i2c bmp085 (bmp185)

Hi folks.

I’ve configured esp8266 nodemcuv2 with the following code to have bmp185 barometric readings:

  sda: GPIO4
  scl: GPIO5
  scan: true

  - platform: bmp085
      name: "prueba esc temp"
      name: "prueba esc pres"
    update_interval: 60s

And i’m getting the following log:

[02:27:57][C][i2c.arduino:071]: I2C Bus:
[02:27:57][C][i2c.arduino:072]:   SDA Pin: GPIO4
[02:27:57][C][i2c.arduino:073]:   SCL Pin: GPIO5
[02:27:57][C][i2c.arduino:074]:   Frequency: 50000 Hz
[02:27:57][C][i2c.arduino:086]:   Recovery: bus successfully recovered
[02:27:57][I][i2c.arduino:096]: Results from i2c bus scan:
[02:27:57][I][i2c.arduino:098]: Found no i2c devices!
[02:27:57][C][bmp085.sensor:044]: BMP085:
[02:27:57][C][bmp085.sensor:045]:   Address: 0x77
[02:27:57][E][bmp085.sensor:047]: Connection with BMP085 failed!
[02:27:57][C][bmp085.sensor:049]:   Update Interval: 60.0s
[02:27:57][C][bmp085.sensor:051]:   Temperature 'prueba esc temp'
[02:27:57][C][bmp085.sensor:051]:     Device Class: 'temperature'
[02:27:57][C][bmp085.sensor:051]:     State Class: 'measurement'
[02:27:57][C][bmp085.sensor:051]:     Unit of Measurement: '°C'
[02:27:57][C][bmp085.sensor:051]:     Accuracy Decimals: 1
[02:27:57][C][bmp085.sensor:052]:   Pressure 'prueba esc pres'
[02:27:57][C][bmp085.sensor:052]:     Device Class: 'pressure'
[02:27:57][C][bmp085.sensor:052]:     State Class: 'measurement'
[02:27:57][C][bmp085.sensor:052]:     Unit of Measurement: 'hPa'
[02:27:57][C][bmp085.sensor:052]:     Accuracy Decimals: 1
[02:27:57][E][component:082]:   Component bmp085.sensor is marked FAILED

I’ve tried with external power source but same happen.


Any ideas?

PS sorry for the post format, don´t known how will be shown. My first one.

very much a guess. But have you powered the BMP from the esp8266 rather than an external supply. I think you need the gnd on both devices to be connected, but I am no expert. Yaml looks fine to me.

As Arh said: there’s no GND connected from sensor to esp board on above picture - it’s mandatory. Also check if sensor has onboard pull-up resistors,if not add 4k7-10k resistor from scl to +V and from sda to +V.

Your post is correctly formatted . Thanks for the effort.

Check all the breadboard connections as they often have bad contacts. As Protoncek said there needs to be a ground to the module