I use the AZ-Delivery NodeMCU Amica V2 for your project and a BME680 by pimoroni.
The wiring is written as in project.
What can I do?
Hi.
Double-check that you are in fact wiring the BME280 properly.
Then, I suggest using an I2C scanner sketch to check the BME280 I2C address and change the code if necessary. You can find the sketch here: https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/LCD_I2C/I2C_Scanner.ino
Finally, I suggest experimenting a sample sketch from the BME280 sensor library and see if that works: https://raw.githubusercontent.com/RuiSantosdotme/ESP32-Course/master/code/bme280test/bme280test.ino
Regards,
Sara
Dear Sara,
thank you very much for the good advices.
Scanning the I2C address resulted in 0x76.
The example sketches again resulted in the error message:
"Could not find a valid BME680".
Could the sensor be defective, even if it delivers an I2C address?
What else can I do?
Regards,
Meinhard
Hi friends,
I was able to solve the problem myself:
For the correct I2C address I had the line:
if (!bme.begin())
replace by:
if (!bme.begin(0x76))
Thanks again!
Meinhard