Bosch Sensortec Community

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

    BME 688 Developement Kit vs. Breakout Board - Sensitivity

    BME 688 Developement Kit vs. Breakout Board - Sensitivity

    TomBernand
    New Poster

    Hello everyone, I have the following experimental setup: I want to use the BME688 to distinguish between normal air and compressed air (containing oil). To do this, I have recorded 4 hours of training data in 2 sessions using the Development Kit.
    I then loaded the data into the BME AI Studio, processed it and trained an algorithm. The resulting algorithm had a Heater Profile with an accuracy of 99.75%.
    Extended testing of the algorithm in the AI studio on another set of training data (normal air) showed a clear assignment.

    In a further step, I now took the breakout board from pi3g.com and took the example project from https://github.com/pi3g/BME688CheeseMeatDetector and adapted it to my use case.

    If I now test my setup in normal air, the value runs unambiguously (1.0/0.0) to compressed air.

    Now I have the following questions:
    Has anyone had experience in this direction and can tell me whether the project is at all promising?
    What are the limits of the sensor in terms of detecting odours?
    What could be the reason that the test in the studio deviates so much from the application on the breakout board?

    Many thanks and best regards

    5 REPLIES 5

    kmca
    Established Member

    I have tried this with Ethanol and Air  sucessfully.  

    I have a tutorial with data/models  and python code here: https://github.com/mcalisterkm/teach-your-pi-to-sniff-with-bme688 

    If the model that AI studio builds has a high degree of discrimination, I can't see why it would not work the same with a breakout board (PI3G, Pimoroni, Adafruit, etc ).    Are you using BSEC 2.4.0 ?   AI-Studio and BSEC are not at the same version, and you need to be sure of a supported mix, there is a table in my tutorial which lists current versions. 

     I am surprised you had any sucess recording training data with a single sensor, and sucessfully generating a model in AI-Studio.  The PI3G bmerawdata.py has multiple problems (file naming, data structure,  etc) that prevent a sucessful model being built.  Using the 8 sensor dev-kit is the way to go.   Using a model on a single sensor  is relatively easy.    

    One thing to bear in mind is that a model is specific to the data set, in my case I recorded Ethenol is high concentrations. When I used the model to detect low concentrations it mis-categorized it.  With more data collection to cover a wider range of scenarios I am sure I could have generated a model with better results across a wider range of concentrations.   In your case you are trying to detect an oil mist, that could be something that fouls the sensor - touching the sensor contaminates it requiring cleaning.  

    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