Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    bme688 saturation to 102400000.0 on low gas heater temperatures

    bme688 saturation to 102400000.0 on low gas heater temperatures

    zrummler
    Established Member

    With the bme68x.h sensor API, the gas resistance value occasionally saturates to 102400000.0 and this doesn't seem correct. This really only happens for lower temperatures in the heater profile (say 100C, as opposed to 150C or above)

    I ran some debugging and here's what I know:

    1. The gas resistance value is calculated using two inputs, gas_res_adc and gas_range. The calculation is 102400000.0 when both of these inputs are 0. (They shouldn't ever be 0).
    2. These values come from registers gas_adc and gas_range, at addresses x2C and x2D. It appears that often times when I read these registers, they store 0. This is the case even when the status bits BME68X_NEW_DATA_MSK, BME68X_GASM_VALID_MSK, BME68X_HEAT_STAB_MSK are TRUE.

    So it seems that the gas_adc and gas_range registers often hold no data even when the status bits indicate that there should be data there. This only happens for lower temperatures of the gas heater profile. I cannot figure out why this could be. Anyone seen this before?

    I am not using BSEC or the Development Kit, I am just using the source code API from GitHub: https://github.com/BoschSensortec/BME68x-Sensor-API/blob/master/bme68x.h

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hi zrummler,

    The sensor is saturated or not within the operating range specified in the specification when resistance 102400000.0 ohms is typically present. What is your test temperature? What is your testing environment?

    zrummler
    Established Member

    I'm indoors (at my office cubicle) at room temperature.

    BSTRobin
    Community Moderator
    Community Moderator

    Hi zrummler,

    You can run the sensor API and example code of BME688 and use the standard heater profile to observe the changes in gas resistance values.

    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