Page 1 of 1

BME280 - No I2C devices found

Posted: 05 Sep 2017, 17:35
by nightshark
I had been using this sensor for several months. Now it loses connection to the I2C bus. It will intermittently start working after a hard reboot, but after 3-5 minutes it's gone. Is it likely the module is dead? I've got an LCD on the I2C bus and it is working fine.

Re: BME280 - No I2C devices found

Posted: 05 Sep 2017, 17:50
by manjh
When it dies, did you try an I2C scan (on the tools tab)?

Re: BME280 - No I2C devices found

Posted: 05 Sep 2017, 17:58
by nightshark
Yes, nothing found. I can do a soft reset and still nothing. Doing a power cycle will bring it back for a bit. I have checked the wires and connection. Nothing obvious there either.

Re: BME280 - No I2C devices found

Posted: 05 Sep 2017, 21:12
by manjh
nightshark wrote: 05 Sep 2017, 17:58 Yes, nothing found. I can do a soft reset and still nothing. Doing a power cycle will bring it back for a bit. I have checked the wires and connection. Nothing obvious there either.
Strange. Perhaps a conflict with other devices on I2C? Try it on it's own...

Re: BME280 - No I2C devices found

Posted: 05 Sep 2017, 23:23
by maluko
i dont have the BME280 sensor but i have another problem with mcp23017 i2c, even buy many to try but happen with all.

on breadboard, the schematic is the same that is on wiki.

when i do a i2c scan i have this:

0x20 PCF8574, MCP23017, LCD Modules
or
0x27 PCF8574, MCP23017, LCD Modules
or


0x20 PCF8574, MCP23017, LCD Modules
0x27 PCF8574, MCP23017, LCD Modules

i tryed with mega and 120.

Re: BME280 - No I2C devices found

Posted: 06 Sep 2017, 02:06
by nightshark
manjh wrote: 05 Sep 2017, 21:12
nightshark wrote: 05 Sep 2017, 17:58 Yes, nothing found. I can do a soft reset and still nothing. Doing a power cycle will bring it back for a bit. I have checked the wires and connection. Nothing obvious there either.
Strange. Perhaps a conflict with other devices on I2C? Try it on it's own...
I assuming it's dead then. I tried that too.

Re: BME280 - No I2C devices found

Posted: 06 Sep 2017, 13:41
by manjh
nightshark wrote: 06 Sep 2017, 02:06
manjh wrote: 05 Sep 2017, 21:12
nightshark wrote: 05 Sep 2017, 17:58 Yes, nothing found. I can do a soft reset and still nothing. Doing a power cycle will bring it back for a bit. I have checked the wires and connection. Nothing obvious there either.
Strange. Perhaps a conflict with other devices on I2C? Try it on it's own...
I assuming it's dead then. I tried that too.
I suspect that too. I have a BME280 running without a glitch.

Re: BME280 - No I2C devices found

Posted: 06 Sep 2017, 15:00
by ManS-H
I have here the same problem, when i connect a OLED SSD1306, and i use the I2C Scanner in the Tools tab it is visible.
When i connected the BME280 too it is "No I2C devices found"
I used 2 brandnew BME280 and both have the same problem.

I see something strange what i not can explain. I connect vcc, gnd and sda and my oled screen is still visible.
When i connect vcc, gnd and scl i see "No I2C devices found" It looks that the clock wire mades that the BME isn't pop up. Or is this a wrong conclusion?

Maybe i bought the bme280 from a wrong reseller. Give me a url where you bought this module.

I tried it with the 145 and the v2.0.0-dev11 firmware, both the same result.

Re: BME280 - No I2C devices found

Posted: 18 Sep 2017, 13:26
by TD-er
Can you please check if the problem also persists when running with the code change I made in this pull-request? https://github.com/letscontrolit/ESPEasy/pull/481
I changed also the measuring parameters, the init and the reset of the sensor.

I had once a similar lock-up, but could not reproduce the situation later on. (before I changed the code)