10-26-2021 02:21 PM - edited 10-26-2021 03:15 PM
Hi,
We are using BME280 to read only temperatures. Most of the time we read correct temperatures (98%). But sometimes, we read wrong temperature value. We have multiple BME280 devices, and same firmware is flashed in all the devices. But only 1 is causing the problem.
We figured out that this is due to reading wrong register value (calib00-calib25).
Most of the time we read correct values from this registers, and we observe wrong temperature value when we read wrong calib register value.
Before reading the temperature we apply reset sequence to the sensor each time, for reliability.
Correct Register Value (0x88) (calib00-calib05). -> {0xFE , 0x6D , 0xDF , 0x67 , 0x32 , 0x00} --> We read correct temperature value
InCorrect Register Value (0x88) (calib00-calib05). -> {0xFE , 0x6D , 0xDF , 0x67 , 0x32 , 0x23} --> We read wrong temperature value
Could you please let us know why just one calibration register value is changing sometime ? Has the sensor gone bad ?
10-26-2021 04:08 PM
Hello hetres_123,
Do you use BME280 driver code in github?
10-26-2021 04:50 PM
Yes, we are using the same code.but have slightly modified to read only temperature
11-01-2021 11:16 PM
Could you please provide us a solution how to proceed ? How can we make sure that the sensor is functional ?
11-05-2021 09:19 AM
Hello hetres_123,
Could you run it with the unmodified example code?