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,

    BME688 Development-Kit was used to record sensor RAW data and verify the trained algorithm.
    BME AI-Studio Software was used to train BME688 sensor data and generate configuration file.
    You could get document and software from the link: https://www.bosch-sensortec.com/software-tools/software/bme688-software/
    Follow the guide to start your work.

    BME AI-Studio.png

    BME AI-Studio video.png

    Hi, I'm trying to run the example code you mentioned, and I got the following error:

    BME68X error code: -2

    Do you have any idea why I get this error?

    I'm using the Nicla Sense Me tool, which has the BME688 sensor.

    ilcnet
    Established Member
    Hi yohai i think there is a problem in wires that you use this code works with i2c wiring.regard

    Wait I didn't understand what you wrote.

    Ok, there is probably a problem with the wire, but how do I fix it?

    ilcnet
    Established Member
    You use which of the microcontroller esp32? If esp32 sda or sdi pin to d21 and sck or scl pin to d22
    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