Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Usage of BSEC Config File from Bosch AI-Studio

    Usage of BSEC Config File from Bosch AI-Studio

    mehkir
    New Poster

    Hello Community,

    I am using an Adafruit HUZZAH32 feather board in combination with a BME688 dev-kit board.
    I have collected some gas samples over time and imported them into AI-Studio, trained a neural network and exported the resulting algorithm as a BSEC configuration file, like here: https://www.youtube.com/watch?v=4vdliMRtxBY

    My expectation is that the exported algorithm can somehow be used in code to distinguish two different gases, for example.
    However, I don't understand the BSEC 2.x software example from here https://www.bosch-sensortec.com/software-tools/software/BME688-software/ to realize my plans.

    Is there an explanation or example that shows what I need to do to initialize or prepare the board to use it as I intend?

    Best regards
      Mehmet

    1 REPLY 1

    Minhwan
    Community Moderator
    Community Moderator

    Hello, 

     

    I believe that you already generated your own config file. 

    Then, you can use custom config file in our BSEC 2 library. https://www.bosch-sensortec.com/software-tools/software/bme688-software/

    Please download bsec 2 software, and there is example file in BSEC_2.0.6.1_Generic_Release_04302021\examples\bsec2\examples\basic_config_state. 

    What you should do is to replace config original file with your own file. 

    (You can find config files in BSEC_2.0.6.1_Generic_Release_04302021\config)

    Then, you can get BSEC_OUTPUT_GAS_ESTIMATE_1 ~ 4 in output. 

    Thanks, 

    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