Bosch Sensortec Community

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

    BME680 ultra low power profile

    BME680 ultra low power profile

    NicoBosch
    New Poster

    Good morning,

    I'm integrating your BME680 in my custom board (esp32 and lora board).

    We wanto to use the sensor in the following two configurations using I2c in order to acquire T/H pressure and IAQ:

    1) ULP : 300 seconds . How can I know the sensor has finished to acquire data and is ready to be polled by the master (esp32) ? How is the pseudo state machine (FSM)  in this configuration? I see 100uA of consumption, this mean the sensor is always active and ready to be polled ?

    2) the sensor will be switched on every 20 minutes by the esp32  and then has to acquire data for the necessary time. How much is this time in order to get the internal heater working and having a goos measurements? when I have switched on the sensor which is the FSM for this configuration to get proper measurements?

    Hope you can help,  thanks in advance for support

    Nico

     

     

     

    8 REPLIES 8

    handytech
    Community Moderator
    Community Moderator

    @NicoBosch wrote:

    Could you please tell me how much seconds t takes for TPGH in force mode considering also the heater time to be ready  and the total average current in this time window?


    In Ultra-Low-Power mode (ULP), the TPHG measurement takes ~2s with a current of ~12mA then the sensor remains in sleep mode for the remaining ~298s, so the total average current over the 300s cycle is ~0.09mA.


    @NicoBosch wrote:

    ULP:

    What do you mean about BSEC. Is it a fw library supplied by bosch?

    From what I know since I understood the sensor is still active in sleep mode, my MCU has simply to send a request every about 5 minuts but what you mean with :

    "BSEC uses timestamps as input/output which tells you when the next measurement is needed"


    Yes, BSEC is a SW library that you can find here. The library doesn't run in the sensor but in an external controller, typically the MCU connected to the sensor (the ESP32 is supported in the default package). This library processes the raw BME680 data over time and converts raw sensor signals into the IAQ index, etc. You need to pass a timestamp to BSEC together with the raw sensor data, and together with the outputs you have enabled it will return the timestamp it wants for the next sample.

    Hi HandyTech and thanks for info,

    From what you say I will not able to do this:

    Mcuu Sleep every -20 minute -----> read a TPGH ----->MCU sleep for other 20 minutes

    From what you say every time I go to sleep with my MCU I will also Know when I can wake up for a new good sample form BME680, right ?

    In this way the sleep time of my MCU is related to the sensor and this situation could get worse my power budget because I have to wake up the MCU exactly when I have to read the BME which could be less than 20 minutes: is possible to skip measurements in order to get them every about 20 minutes.

    Awaiting your kind reply.

    Thanks

    Nicola

     

    handytech
    Community Moderator
    Community Moderator

    Your understanding seems correct.

    The sensing technology of the BME680 requires the sensor to stabilize to its environment. This equilibrium depends a little on the environmental conditions, but mostly on the operation of the gas sensor (ON/OFF time duty-cycle and temperature). Extending the sleep duration could slightly change the behavior of the sensor or require different gas sensor settings to perform optimally. Therefore with the ULP mode (5 minutes), we try to offer an optimal ratio between sampling rate, current consumption and performance of the BME680.

    It's clear, 

    I will wakeup the MCU every 5min and I will read just the BME680 . Then after 20 minutes I will send the last 4 samples readings

     

     

    Thanks a lot for support.

    Nicola

    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