Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Running BME688 on STM32

    Running BME688 on STM32

    niss3k
    New Poster

    Hi, I am trying to find an example of how to use an algorithm generated in Bosch AI Studio to sense gases using the STM32 board and BME688 breakout board. I've tried doing it on my Raspberry Pi with picockpit and it worked, but I want something, that consumes less power. I'll be thankful for an example code or instruction on how to apply the algorithm to STM32. 

    Have a great day

    Antek

    4 REPLIES 4

    Minhwan
    Community Moderator
    Community Moderator

    Hi, 

     

    There is migration introduction guide in BSEC 2 library.

    \bsec_2-0-6-1_generic_release_04302021\BSEC_2.0.6.1_Generic_Release_04302021\integration_guide

    https://www.bosch-sensortec.com/software-tools/software/bme688-software/

    In terms of power consumption, we need to use high performance mode for AI feature, but if you don't use AI feature, then you can use low power mode as well. 

    Thank you. 

    Okay, thank you
    So is it possible to collect data using stm32/esp and then stare it to another device that could use this data to sense gases? How can I do it?

    Minhwan
    Community Moderator
    Community Moderator

    Technically, yes. 

    Originally, you can gather data for AI studio using our BME688 dev kit. 

    https://www.bosch-sensortec.com/software-tools/software/bme688-software/

    And also, we open our BME688 dev kit code as below. 

    https://github.com/BoschSensortec/Bosch-BSEC2-Library/tree/master/examples/bme68x_demo_sample

    If you can migrate our project sample and make same data format for AI studio, you can use the data for AI studio. 

    Then, you can create your own config file using AI studio and apply it to other MCU. 

    Thanks, 

    Sorry, I wasn't clear. I want to create an algorithm to sense two gasses using dev kit, but then I want t use a breakout board with esp to collect data once in 15 minutes and then send it to Raspberry Pi, which based on the algorithm, could tell if esp is in the first gas or in second. And my question is how to run (not generate) an algorithm (generated on dev kit) on Raspberry Pi with data collected from esp with a breakout board?

    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