Bosch Sensortec Community

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

    Estimates don't change on BSEC2.2.0.0

    Estimates don't change on BSEC2.2.0.0

    Prop4et
    Established Member

    I used the development board to sample data in a clean environment and in a jar with some cheese inside. After that i successfully created the ai algorithm and I managed to successfully load the configuration into the bsec_config_state.ino. The board with 8 sensors and the flashed code is then able to give me the percentages right.

    After that i loaded the configuration into my custom code for the Raspberry Pi Pico using the bsec2.2.0.0 library, but when asking for the gas estimates i always obtain gas_estimate_1 at 100%, no matter in which environment i put the sensor.
    I followed the workflow of the integration guide:

    • set_config
    • update_subscription
    • loop
      • sensor control
      • set conf
      • set heatr conf
      • set op mode
      • if trigger meas
        • get_meas_dur
        • get_data
        • process_data
        • bsec_do_steps

    The sample rate is set to scan, is there anyone that already faced this kind of issue even if on other devices?

    9 REPLIES 9

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Prop4et,

    Could we know what are BME688 dev kit software version and BME AI-Studio software version you used?

    Prop4et
    Established Member

    Hi BST Robin,

    I am using the BME688 Dev Kit Software version 2.0.6 and the BME AI Studio version 2.0.0.

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Prop4et,

    You should use BSEC2.4.0.0 as the release note mentioned it in BEM688 dev kit release package.

    BME688 dev kit software v2.0.6 release note.png

    Prop4et
    Established Member

    To my understandings by switching to the bsec2.4.0.0 in my implementation with a single sensor i should be able to get more accurate readings right? Because the devkit implementation of the sensing, based on the .ino example, works fine already.
    In the image below there is the output generated by the adafruit sensor connected to a raspberry pi pico: During the first "parallel mode" it was exposed to the environment while during the second one it was inside a jar with some cheese (the same one used for the sampling).
    As you can see the probability doesn't even flinch, and that's what makes me worry. As you can see in the image the version this time around is 2.4.0.0 (obtained through bsec_get_version, no cheating).
    I am attaching the .h and .c files for the configuration too, if someone wants to try.

    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