Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Status codes for the BME688 sensor data

    Status codes for the BME688 sensor data

    shivpatil
    New Poster

    Hello Community,

    I am working on the BME688 sensor with the Raspberry pi.
    I am referring to the BME68X Sensor API  to port the application to raspberry pi CM4.

    I am not using the COINES Tool to communicate with the sensor device. Instead of that, I am using the I2C interface.

    Till now I am able to port the application & run the Force mode example successfully.
    & getting the following result as output.
    Note: I haven't printed the TimeStamp value here.

    I2C Interface
    Sample, TimeStamp(ms), Temperature(deg C), Pressure(Pa), Humidity(%), Gas resistance(ohm), Status
    1, 00000000, 31.53, 94684.11, 44.89, 219459.92, 0xa0
    2, 00000000, 31.71, 94687.38, 44.91, 7887.60, 0xb0
    3, 00000000, 32.17, 94678.07, 44.96, 9411.76, 0xb0
    4, 00000000, 32.58, 94677.10, 44.99, 12741.39, 0xb0
    5, 00000000, 32.85, 94684.97, 45.00, 16060.23, 0xb0
    6, 00000000, 33.04, 94675.18, 44.99, 19282.92, 0xb0
    7, 00000000, 33.17, 94677.45, 44.97, 22260.87, 0xb0
    8, 00000000, 33.29, 94680.03, 44.93, 25559.11, 0xb0
    9, 00000000, 33.37, 94682.83, 44.87, 28064.02, 0xb0

    Now, 
    I would like to know,
    1. Is this data is valid or not?
    2. What does status code 0xa0 & 0xb0 actually mean?

    Will you please help me to understand this?

    Regards,
    Shiv Patil.

    6 REPLIES 6

    3 status bits to check when measuring data

    1. new_data, the mask for this bit is 1000000 (0x80)

    2. gas_valid, the mask for this bit is 00100000 (0x20)

    3. heat_stab, the mask for this bit is 00010000 (0x10).

    A status of 0xA0 means new_data=1, gas_valid=1, heat_stab=0. Error on heat_stab bit

    A status of 0xB0 means new_data=1, gas_valid=1, heat_stab=1. This means the data measurment is valid to use.

    yurtkuran
    New Poster

    Did you ever get a response to this question?

    2. What does status code 0xa0 & 0xb0 actually mean?

    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