Bosch Sensortec Community

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

    Integrating AI Studio config exported file

    Integrating AI Studio config exported file

    SHarsany
    Member

    I have and ESP32 custom board which has BME688 on it.  I also have the bosch 8 sensor board for training .   I can successfully run the BSEC2 library on my board using the example which uses the supplied "field_air_hand_sanitizer" config file.  It will successfully detect hand sanitizer when present.  

    My issue is the following:

    I cannot get my own trained scents to work.

    I successfully collect 30 minute samples of smells like field air (class 1), cheese(class 2), ipa beer(class 3).

    I successfully import them into AI studio and build a 3 smell algorithm which shows 98+% probability of telling the difference.

    I use the same example and replace the hand sanitizer includes with mine.

    I assume when you build an algorithm with 3 classes, that class 1 will be gas1, class 2 will be gas2, etc...

    I get 3 gas results but the results are odd.  For example, when sensor is in clean field air I get 40% gas2, and 56% gas3, 4% gas1

    If I move the sensor toward IPA source gas 1 goes to 98%, indicating class 3 is really gas 1.  

    Introducing cheese that was used for training simply returns to same settings as field air.

    Any help to explain the steps after the successfully training of the algorithm and how to integrate that config file properly into your application?

    I think I am doing things right and I am getting results but sensor feedback works extremely well for IPA, but sensor seems confused over feild air and cheese with no clear indication.

    Thanks

    2 REPLIES 2

    BSTRobin
    Community Moderator
    Community Moderator

    Hi SHarsany,

    BME688 is more sensitive to alcohol.
    After generating the configuration file from BME AI-Studio, you can run the algorithm in BME688 dev kit and test it. After confirming that the algorithm is correct, replace the configuration file of the hand sanitizer example and test it on ESP32 platform.

    Thanks!  So I should be able to have IPA beer, Cheese, clean air, and say cinnamon sensed at the same time as my 4 gases?  I did not realize I could test on the bme688 dev board.  Is this when you use the mobile app?

     

    Scott

    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