Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC_OUTPUT_GAS_ESTIMATE_x is always 100%

    BSEC_OUTPUT_GAS_ESTIMATE_x is always 100%

    steven_bsec
    Member

    Hi @BSTRobin 

    When I train Coofee or Air,

    1. Class A is Air, Class B is Coffee, BSEC_OUTPUT_GAS_ESTIMATE_2 is always 100%. 

    2. Class A is Coffee, Class B is Air, BSEC_OUTPUT_GAS_ESTIMATE_1 is always 100%. 

    I try replace with another sensor , the result is tha same.

    4 REPLIES 4

    BSTRobin
    Community Moderator
    Community Moderator

    Hi steven_bsec,

    Are you testing the config file you trained in a coffee environment?

    Yes , I followed the video to test config file exactly

    when I detect coffee, it is OK. But when I detect normal air , it don't work well , and result is not normal air always, and sometimes is coffee.

    I think that the config file is right, bucause it work well in bme688_development_kit. (Bosch-BSEC2-Library-master\examples\x8_board_examples\basic_config_state)

    There is only one sensor in my project, and 8 sensors in bme688_development_kit. Does it matter?

    Can you share me air-detection demo for STM32?

    And I observe gas_index is 0,1,2,3,4,5,6,7,8,9 cyclically in bme688_development_kit, but in my project gas_index is 1,2,3,5,7,9 or 1,2,4,6,8,9 or  other order . why?

    Yes, I test  the config file following the video

    I think config file is OK. It work well in bme688_development_kit, but don't work in my project.

    and I observed that gas index is 0,1,2,3,4,5,6,7,8,9 cycle in bme688_development_kit, but in my project, gas index is 1,2,4,6,8,9, or 1,2,3,5,7 or other order.Why ?

    BSTRobin
    Community Moderator
    Community Moderator

    Hi steven_bsec,

    I uploaded an example code on STM32 that enables the following macro definition in user_define.h.

    #define BME68X_OUTPUT_GAS_ESTIMATE
    //#define BME68X_OUTPUT_GAS_IAQ

    This example demonstrates the detection of marker pen and normal air. It runs well and I hope it will be useful to you.

    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