09-15-2021 02:49 PM
Hi everybody, I have to program a BME680 with a µc in different configurations. In on of them I would like to skip the gas measurement and do only measurements for pressure, temperature and humidity. Is there a way to do that? Should I just let all the gas registers to 0?
Thanks for your reply,
Sébastien
09-16-2021 05:31 PM
Hello nkdnnlr,
Thanks for your reply.
Hello sguigue,
If you would like to skip the gas measurement and do only measurements for pressure, temperature and humidity. You could refer the following code when you run sensor initialization code.
/* Set the remaining gas sensor settings and link the heating profile */
dev->gas_sett.run_gas = BME680_DISABLE_GAS_MEAS;
09-16-2021 05:46 PM
Hi, thank you for your answer?
If I don't send instruction with function with an arduino for example but by directly writting in the sensor's registers. Can I just skip gas measurement by letting all the related registers to zero?
Best,
Sébastien
11-01-2021 08:17 AM
Hello sguigue,
If you want to skip gas measurement, you could call BME680 driver code to got pressure, temperature and humidity data.
Please refer the code in github: https://github.com/BoschSensortec/BME68x-Sensor-API/blob/master/examples/forced_mode/forced_mode.c