Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME688 evaluation

    Minhwan
    Community Moderator

    Re: BME688 evaluation

    Hi, 

     

    I checked your log, it's quite strange result. 

    Several questions I have. 

    1. Have you changed any code for BME68x API? If yes, please don't. Just modify BSEC source code is enough. 

    2. Which config file are you using it? If you are using config file which we provided, 5 cyclic result doesn't make sense. Are you using custom config file made yourself? Could you upload it config file? 

    Thanks, 

    doppio-R
    Member

    Re: BME688 evaluation

    Hi,

    I haven't changed any code in the API. The file, which I have uploaded is the only one. Many parts of the code are from Bosch as well. The config file belongs to an older bsec 2.X version. The array has the size of 2277 and is the bsec_sel_iaq_33v_3s_28d.

    In your datasheet is written, that the sensor has 5 measurement cycles during the gas sensor mode.

    Minhwan
    Community Moderator

    Re: BME688 evaluation

    Hi doppio, 

     

    Yes, I'm talking about the code you uploaded. 

    It seems like you mixed BME68x API example code and BSEC example code. 

    For exampe, you don't need those kind of code for getting proper data. 

      uint16_t temp_prof[10] = { 250, 100, 100, 100, 100, 100, 100, 250, 250, 250 };		// Heater temperature in degree Celsius
      uint16_t mul_prof[10] = { 2, 0, 10, 15, 2, 2, 2, 2, 2, 2 };							// Multiplier to the shared heater duration

    There is latest BSEC2 in below url

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

    And there is integration guide in the bsec2 library zip file. 

    Please download and check the integration guide. 

    And feel free to ask me after you check the document. 

    Plus, in case of scan mode, you can make your own scan mode technically, but BSEC2 handles it. 

    Thank you. 

     

    doppio-R
    Member

    Re: BME688 evaluation

    Hi Minhwan,

    i downloaded the new software and renew my code. See below. I changed the power mode to LP, because I'm interested in the air quality and do not search for a specific gas. Additional I updated the associated files. When I'm using the newer libalgobsec.a the system seems more agile and realistic, but the CO2 value starts at 600 and do not go below. Why?   Even though I'm sitting next to an open window, I don't get the low value.

    Additional the values of temperature and humidity in both library version have a big difference. Which version should I use?

    I attach the log file, where both versions are included. During both measurement I have blow to the sensor.

    Thanks.

     

    Minhwan
    Community Moderator

    Re: BME688 evaluation

    Hi, 

     

    I saw your result and it is pretty much okay so far. 

    You can get any CO2 value once you reach to IAQ accuracy level 1  although we recommend to wait up to 3. 

    Then, CO2 value changed in your log down to 460 when IAQ is going down, then CO2 level going up when IAQ level is going up. 

    And I recommend to use latest BSEC library and recommend to keep checking data for a long time. 

    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