Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BME680 IAQ fixed value up to 100 measurements

    BME680 IAQ fixed value up to 100 measurements

    elmagua90
    New Poster

    Hi there:

    I am using a BME680 with BSEC library and I have some problem with the IAQ values.  IAQ value start at 25 and it is fixed in 25 until after 100 measurements.  Also the iaqAccuracy is 0 until this momemnt. I´m using BSEC_SAMPLE_RATE_LP. 

    Is this behavior normal? I mean, the library take proper values of IAQ and iaqAccuracy only after 100 measurments?

    Thank you in advance,

    Ernesto

    5 REPLIES 5

    handytech
    Community Moderator
    Community Moderator

    Yes, this is normal and expected behavior. When gas measurements are triggered after the BME680 was turned off for some time, the output may need some time to stabilize. This initial period is indicated by an IAQ accuracy of 0 (and a fixed IAQ output if no state file is loaded) for a duration 5 minutes in LP mode (i.e. 5*60/3=100 samples), or 20 minutes in ULP mode.

     

    Thank you so much for clarifying my doubt @handytech ! So, if I load a state file the IAQ value can variate, although the accuracy will be 0 until after 5 min in LP mode. Isn´t it?

    handytech
    Community Moderator
    Community Moderator

    Exactly, the initial run in period will still be indicated by an IAQ accuracy of 0 since performance may not be optimal yet, but if a valid state was loaded (and ideally the state was saved when accuracy was at 3) you will already observe some changes in the IAQ output during the first few minutes .

    Please can you elaborate on how the initial period is being tracked by the code, i have the sensor with an esp8266 that crashes and reboots every couple of minutes but the sensor power stays on regardles, what is my understanding from your reply is that I will never get out of the initialization [if that's the right term to use]. That agrees with my readings that have been always 25. 

     

    I am using codes from the basic Arduino example but inside my home automation device and code.

     

    Thanks,

    AY

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist