Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Calculate co2 and h2s with Bme688

    Calculate co2 and h2s with Bme688

    ilcnet
    Established Member
    Hello we want to know how we can get the co2 and h2s value in ppm by Bme688 sensor,this is very important for us that true answers for our questions.

    1- can we use default bsec algorithms or we need bosch shuttle Bme688 development kit?

    2- if we need shuttle how can we use import algorithm in bsec library?( After make algorithm step by ai studio )

    3- can 1 sensor enough to detect co2 and h2s after training by shuttle Such as your tests with coffee (normal air coffee1 normal air coffee2) , or we need 2 sensors one of them for co2 and other for h2s to calculate with high reference?

    4- is there any sample codes for detect and print co2 and h2s with esp32 ardunio ide c++?
    And any other information that you can give us to help our project to do.

    Best Regards
    12 REPLIES 12

    BSTRobin
    Community Moderator
    Community Moderator

    Hi ilcnet,

    1. If you want to run BSEC algorithm, you could use BME688 shuttle board or the board with BME688 designed by you.
    2. If you would like to use BME AI-Studio, you need to get BME688 dev kit.
    3. After you download BSEC2 software from https://www.bosch-sensortec.com/software-tools/software/bme688-software/, you could find integration guide from "BSEC_2.0.6.1_Generic_Release_04302021\integration_guide" folder, and see if the output you need is already in the list.

    BSEC 2.x software.png

    Supported virtual sensor output signals.png
    4.For example code, you could refer "BSEC_2.0.6.1_Generic_Release_04302021\examples\bsec2\examples\basic_config_state" or more example on github: https://github.com/BoschSensortec/Bosch-BSEC2-Library/tree/master/examples/generic_examples

    ilcnet
    Established Member
    Thank you BSTRobin and bosch team for fast response.

    if i understand
    1- we can detect co2 and h2s with Bme688 sensor,that's true?
    2- we can detect them by 1 sensor?
    3- or for best results we can train 2 sensor separate 1 for co2 1 for h2s with shuttle board and use 2 sensor parallel on 1 esp32 board?i2c numbers not problem?
    4- in example codes that you send i see a code for h2s detecting that's ok for use? Are any sample codes for co2 im looking for it.

    i want to see results by default codes and test codes with Bme688 and Esp32 see errors and other things, then to buy bosch shuttle board because a bit expensive.

    Thanks again

    BSTRobin
    Community Moderator
    Community Moderator

    Hi ilcnet,

    1, 2. Yes, you could detect H2S and co2 equivalent estimate [ppm] with one BME688;
    3. You can parallel two BME688 with different I2C address;
    4.To detect H2S, you should following BME688 application note and record H2S, import & label data, train and evaluate the algorithm, etc. with BME AI Studio.
    H2S is a dangerous gas. As long as there is no open fire and high heat energy in the test environment, it will not cause combustion and explosion.
    BSEC has supported direct output co2 equivalent estimate [ppm].

    ilcnet
    Established Member
    Thanks for your response dear BSTRobin, so if we record and labeling h2s with shuttle board then after export algorithm 1-we must import it to bsec 2.0.6.1 library?
    2-co2 are default and we can directly use bsec 2.6.0.1 to get co2 value?

    My problem is how to combine exported algorithm by shuttle board with bsec 2.0.6.1 library.
    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