Bosch Sensortec Community

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

    BME680 ULP Plus Not Working!

    BME680 ULP Plus Not Working!

    NazarDiadiun
    Member

    Hey!

    I am trying to use the BME680 sensor in ULP + mode, that is, receive data both every 5 minutes and receive it when needed, for example, every 2 minutes.

    The problem is that even using the example from the BSEC library for the ULP Plus mode, I get error 101, which, as I understand it, means that I am trying to receive data at the wrong time intervals.
    From BSEC documentation: "ULP plus is not allowed because an ULP
    measurement just took or will take place ".

    Moreover, after trying to get data like this, the sensor stops measuring every 5 minutes, it just freezes.

    I tried to use the ULP Plus additional measurement both immediately after the automatic ULP measurement, and after a minute, two and three.

    What am I doing wrong and how do I use the sensor in this mode?

    P.S.
    ESP32. Sensor configuration: 3.3V. 3 seconds measurement (3s supports the ULP plus feature for the ULP mode) , 4 days 
    Sample Rate: ULP

    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hello NazarDiadiun,

    Could we know the link of the BSEC software you refer?

    Thanks for the answer.

    I am using version 1.4.8.0 from the official github repository.

    I found the documentation on using the library at the link: https://community.bosch-sensortec.com/varuj77995/attachments/varuj77995/bst_community-mems-forum/122...

    Hello NazarDiadiun,

    ULP mode offers output data at slow rate thereby minimizing power consumption.

    ULP could work with BSEC 1.4.8.0, you cold refer attachment example code on my side.

    Test result.png

    Hey! Thanks for the reply!

    No problem when using ULP mode. It measures and outputs data correctly every 5 minutes. But when I try to use the ULP + mode, when the sensor measures data every 5 minutes, and allows an additional measurement in the period between regular measurements, the sensor stops working.
    I am using the code from the BSEC library example

    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