BME680 temperature pressure and humidity value units
I am trying to use the BME680 sensor for temperature and pressure measurements, reading directly temp_adc and press_adc values right from the registers addresses (0x24<7:4> / 0x23 / 0x22 for temperature and 0x21<7:4> / 0x20 / 0x1F for pressure). I then apply the formulas in the datasheet to get the compensated values.
For the temperature, I get temperature values like 2720. If I divide by 100, it is close to what I measure from another thermometer. But I didn't see any mentioning that I need to divide by 100.
For the pressure, I get fast changing values like 102738, 97680, 68383.
Could someone please confirm/or infirm the temperature returned by the formula in datasheet is expressed in hundreds of degrees Celsius and the pressure is in Pascal.
Also, maybe someone knows why I get those fast changing pressure values ?
Re: BME680 temperature pressure and humidity value units
It is strongly advised to base your implementation on our latest official BME680 sensor API. Using this API, you can find the expected format of the outputs in the documentation of the field data structure.
Something seems odd with the pressure output, hopefully the sensor API can also help with that, otherwise we would need to understand more about the sensor's settings, data read-out and compensation.