adafruit / Adafruit_BME680

127 stars 76 forks source link

BME688 Wrong values after some working time. Arduino IDE 2.3.2 and esp32 by espressif 2.0.17 #57

Open rodriogs opened 3 months ago

rodriogs commented 3 months ago

After some random period of time I get reading error using the simplest example on Arduino IDE 2.3.2 and esp32 by espressif 2.0.17. I am using Heltec Lora32 v3 ESP32-s3 based board

After "Failed to perform reading :(" bme688 values are fixed at a wrong value, Temperature = 33.15 *C Pressure = 773.86 hPa Humidity = 100.00 % Gas = 0.00 KOhms

This is the logging

BME680 test Init Result: 0 T1 = 26243 T2 = 26635 T3 = 3 P1 = 35770 P2 = -10370 P3 = 88 P4 = 5392 P5 = 73 P6 = 30 P7 = 14 P8 = 733 P9 = -3981 P10 = 30 H1 = 792 H2 = 1007 H3 = 0 H4 = 45 H5 = 20 H6 = 120 H7 = -100 G1 = -20 G2 = -19363 G3 = 18 G1 = -20 G2 = -19363 G3 = 18 Heat Range = 1 Heat Val = 44 SW Error = -2 SetConf Result: 0 SetConf Result: 0 SetConf Result: 0 SetConf Result: 0 SetConf Result: 0 SetHeaterConf Result: 0 Opmode Result: 0 SetConf Result: 0 SetConf Result: 0 SetConf Result: 0 SetConf Result: 0 SetHeaterConf Result: 0 Opmode Result: 0 Waiting (ms) 182 t_fine = 0.00 Getting sensor data GetData Result: 0 data.status 0xB0 Temperature = 22.25 *C Pressure = 979.23 hPa Humidity = 68.86 % Gas = 246.21 KOhms Approx. Altitude = Opmode Result: 0 Waiting (ms) 182 t_fine = 113939.15 Getting sensor data GetData Result: 0 data.status 0xB0 287.08 m

Opmode` Result: 0 Waiting (ms) 182 t_fine = 104714.58 Getting sensor data GetData Result: 0 data.status 0xB0 Temperature = 20.34 *C Pressure = 979.33 hPa Humidity = 68.33 % Gas = 198.41 KOhms Approx. Altitude = Opmode Result: 0 Waiting (ms) 182 t_fine = 104129.21 Getting sensor data GetData Result: 0 data.status 0xB0 286.23 m

Opmode Result: 0 Waiting (ms) 182 t_fine = 104725.96 Getting sensor data GetData Result: 2 Failed to perform reading :( Opmode Result: 0 Waiting (ms) 182 t_fine = 104725.96 Getting sensor data GetData Result: 0 data.status 0x80 Temperature = 33.15 *C Pressure = 773.86 hPa Humidity = 100.00 % Gas = 0.00 KOhms Approx. Altitude = Opmode Result: 0 Waiting (ms) 182 t_fine = 169750.55 Getting sensor data GetData Result: 0 data.status 0x80 2216.41 m

This is an example where I get error values bmeerror