BME280 - No I2C devices found

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
nightshark
Normal user
Posts: 25
Joined: 29 Apr 2016, 06:54

BME280 - No I2C devices found

#1 Post by nightshark » 05 Sep 2017, 17:35

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.

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: BME280 - No I2C devices found

#2 Post by manjh » 05 Sep 2017, 17:50

When it dies, did you try an I2C scan (on the tools tab)?

nightshark
Normal user
Posts: 25
Joined: 29 Apr 2016, 06:54

Re: BME280 - No I2C devices found

#3 Post by nightshark » 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.

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: BME280 - No I2C devices found

#4 Post by manjh » 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...

maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

Re: BME280 - No I2C devices found

#5 Post by maluko » 05 Sep 2017, 23:23

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.

nightshark
Normal user
Posts: 25
Joined: 29 Apr 2016, 06:54

Re: BME280 - No I2C devices found

#6 Post by nightshark » 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.

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: BME280 - No I2C devices found

#7 Post by manjh » 06 Sep 2017, 13:41

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.

User avatar
ManS-H
Normal user
Posts: 281
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: BME280 - No I2C devices found

#8 Post by ManS-H » 06 Sep 2017, 15:00

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.

TD-er
Core team member
Posts: 8748
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BME280 - No I2C devices found

#9 Post by TD-er » 18 Sep 2017, 13:26

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)

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests