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.
Hello. Thanks for yours replies.
I’m again here trying to solve this issue.
I’m powering the sensor with the esp board, so gnd is conected.
Tried with and without 10k transistors as @Protoncek suggested. Still not working.
With a multimeter tested continuity on conections and are ok.
tested voltages on sensor side. With and w/o resistors the same:
vin-gnd: 4.5V
sda-gnd: 4.4V
scl-gnd: 4.4V
Just to start from the most basic:
sda on esp to sda on sensor and scl to scl?
Just in case, I also have a DHT22 sensor working on D5 without issue.
Actually, it does: on above picture bottom left pin is 3.3V output. Since all esp’s run on 3.3V all these boards do have regulator on-board, and it’s enough for these small sensors to have them powered from it.
But if sensor was indeed connected to 5V (which is was, as it seems) than i agree it might be “deceased”.
Sensor module doesn’t have regulator (or it’s skipped).
Bmp085 is max 3.6V sensor and his measured 4.4V data line voltage confirms that.
Obviously Esp devboard has regulator…
And hopefully still undamaged I2C pins…
.