pi3g / bme68x-python-library

Python 3 Library for BME688 and BME680 (Bosch Sensortec sensors), supports Bosch BSEC
MIT License
44 stars 17 forks source link

Question: To I have to set the heater #16

Open MichaelMMS opened 2 years ago

MichaelMMS commented 2 years ago

Currently im polling the sensor in LP mode every 3s to get all data like IAQ, CO2 etc. Do I have to set the heater in the LP mode? If yes, which heater settings are the best?

THANKS

mcalisterkm commented 2 years ago

The example python code uses this profile temp_prof = [320, 100, 100, 100, 200, 200, 200, 320, 320, 320] dur_prof =[5, 2, 10, 30, 5, 5, 5, 5, 5, 5]

The BOSCH library has a configs folder containing defaults for a number of CPU/Boards, and in the PI3G python wrapper bme68xmodule.c there is a hard coded reference to

*bsec_conf_path = "BSEC_2.0.6.1_Generic_Release_04302021/config/bsec_sel_iaq_33v_4d/2021_04_29_02_51_bsec_h2s_nonh2s_2_0_6_1 .config";

So we are all using the default 3.3v, 4 day history config provided by Bosch as a baseline on initialising the Library.

The Bosch guide BST-BME688-Integration-Guide-AN008-06-Bsec2-May2021.pdf discusses these config files, and the data sheet bst-bme688-data-sheet000-April2021.pdf in section three discusses the heater steps.

I believe that the heater profile is something to fine tune when attempting to recognise a specific smell. When you have a sensor burned in and have adjusted your profile, do save the config to file and subsequently reload it to speed up the time to good accuracy.

Keith