Chat freely about anything...

User avatar
By martinayotte
#41320 Ok !
That means the wiring and hardware are good !
Maybe something wrong in the library, I mean "not compatible" with ESP ...
Looking at the code again I see the following, I suggest to add that print in the lib to figure out if CHIPID is wrong :
Code: Select allif (read8(BME280_REGISTER_CHIPID) != 0x60) {
    Serial.print("ChipID = ");
    Serial.println( read8(BME280_REGISTER_CHIPID) );
    return false;
}
User avatar
By Gawan
#41375 Where would you add this piece of code ?

To Adafruit_BME280.cpp consists of a number of functions.
On Top ? To all of them ?

I added it to the BME280::begin function, not it does not even tell me that something went wrong. It simply reboots all the time

Code: Select allets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
User avatar
By martinayotte
#41376 Yes, in the BME280::begin() ! right at that place : https://github.com/adafruit/Adafruit_BM ... 80.cpp#L62
Is it printing something ?
For the reboot, it is caused by the watchdog when hitting infinite loop in their example :
https://github.com/adafruit/Adafruit_BM ... st.ino#L40