boschsensortec / BME68x_SensorAPI

Common Sensor API for the BME680 and BME688 sensors
BSD 3-Clause "New" or "Revised" License
203 stars 67 forks source link

static gas resistance on sensor readings #19

Open ratio-x opened 1 year ago

ratio-x commented 1 year ago

Not sure if this is the right place for reporting this issue: I'm using BME688 on an Adafruit breakout with the proprietary arduino <bsec.h> library. Temperature, humidity an pressure readings work fine. Only the gas resistance is constant in every reading (12946860 Ohms), and subsequently all other derived/calculated measures (IAQ, CO2 equivalent, breath VOC equivalent) are hanging at their lowes values.

BSEC library version 1.4.8.0
Timestamp [ms], raw temperature [°C], pressure [hPa], raw relative humidity [%], gas [Ohm], IAQ, IAQ accuracy, temperature [°C], relative humidity [%], Static IAQ, CO2 equivalent, breath VOC equivalent
3496, 23.67, 102518.00, 31.25, 12946860.00, 25.00, 0, 23.67, 31.25, 25.00, 500.00, 0.50
6496, 23.68, 102517.00, 31.18, 12946860.00, 25.00, 0, 23.62, 31.29, 25.00, 500.00, 0.50
9496, 23.72, 102517.00, 31.09, 12946860.00, 25.00, 0, 23.66, 31.14, 25.00, 500.00, 0.50
12496, 23.72, 102515.00, 31.00, 12946860.00, 25.00, 0, 23.66, 31.07, 25.00, 500.00, 0.50
15495, 23.73, 102517.00, 30.93, 12946860.00, 25.00, 0, 23.67, 30.99, 25.00, 500.00, 0.50
18495, 23.73, 102517.00, 30.88, 12946860.00, 25.00, 0, 23.67, 30.96, 25.00, 500.00, 0.50

I tested with <Adafruit_BME680.h> library, which works fine and outputs reasonable and changing (slowly increasing) gas resistance values. Am I missing something? Configuration of the heater...?

I used the example script from the Arduino library.

https://github.com/boschsensortec/BSEC-Arduino-library

This repository was not updated since 3 years.

Thank you.

BST-Github-Admin commented 1 year ago

Hi @ratio-x , you are probably using a BME688 with a BME680 library. For the core sensor library, it is recommended to update to Bosch-BME68x-Library and for BSEC, Bosch-BSEC2-Library