Important Cookie Information

This website uses absolutely necessary cookies. If you consent to the use of convenience cookies, please click “Yes, I agree.” By clicking on “Privacy Settings.” you can change this setting at any time and withdraw your given consent. Icon down see more You can find detailled information in our Privacy Policy Icon forward-right
Icon up see less

Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 + BSEC frequency

    New Poster

    BME680 + BSEC frequency

    Hello,

    We are using a BME680 + BSEC on a Cortex-M0 platform.

    For now, the frequency is the 3s provided by the integration example.

    We would like to increase the speed. We understand that the BSEC is designed to output data every 3s, but can we increase the raw outputs speed of the BME680. And how to do it while we still use BSEC?

    Thanks

    Thomas

    Tags (1)
    3 REPLIES 3
    Community Moderator

    Re: BME680 + BSEC frequency

    BME680 are working under Force mode when using BSEC lib. 

    So you are also able to make BME680 working more offten (higher ODR) with Force mode and just call the BSEC every 3 s to get IAQ value. 

    This means you need to feed in the data for BSEC lib and get the suggest sensor control setting from BSEC for next calling every 3 s.  

    The highest ODR are determined by the over sampling setting for gas, pressure and humidity sensors which you can find relationship in datasheet.

    New Poster

    Re: BME680 + BSEC frequency

    Thanks for your answer.

     

    We don't understand how to change the oversampling setting.

    We call bme680_set_sensor_settings() with the oversampling parameters provided by bsec_sensor_control().

    Where can we change the oversampling parameter? In the BSEC configuration? Or between bsec_sensor_control() and bme680_set_sensor_settings()?

    Do you have an example or a sample code for the oversampling tunning?

    Community Moderator

    Re: BME680 + BSEC frequency

    During typical usage, BSEC provides the sensors settings via bsec_sensor_control(), which is then process in bme680_bsec_trigger_measurement(). We would recommend to leave this section of the integration example untouched.

    Changing the oversampling will not change the data rate, but as mentioned above it will reduce the maximal data rate available. To increase the raw data frequency, you would need to trigger additional measurements between the existing bsec_sensor_control() calls (reminder: setting the power mode to forced mode triggers one measurement).

    Please note that you shall not trigger additional gas measurements, nor break BSEC timings (e.g. calling bsec_sensor_control() every 3s in LP mode), ortherwise BSEC will not operate as expected.

    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