Important Cookie Information

This website uses absolutely necessary cookies. If you consent to the use of convenience cookies, please click “Yes, I agree.” By clicking on “Privacy Settings.” you can change this setting at any time and withdraw your given consent. Icon down see more You can find detailled information in our Privacy Policy Icon forward-right
Icon up see less

Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BMP280 Compensated temperature always zero

    New Poster

    BMP280 Compensated temperature always zero

    Hi,

    I have a BMP280 shuttle board connected to a ESP32 using I2C.

    Using the Bosh BMP280 API i can initialize, configure and read measured data. I can see the raw output of pressure and temperature changes over time.

    The problem is that the raw registers values of the trimming parameters (i.e. registers 0x88+) have the first 6 bytes zeros. This causes the compensated temperature to be zero. And also t_fine is zero so the compensated pressure is off.

    I have two BMP280 shuttle boards. Tested both, one at a time, they both have the same problem.

    Are these sensors faulty or am i doing something wrong?

     

    For refference here is a raw readout of the trimming parameters for both sensors.

    Left most is 0x88. Each line is different BMP280. Values are decimal 0-255.

    000000341502062132081119925510712492551406024819811223
    000000015018521320811214518402492551406024819811223

     

    3 REPLIES 3
    Community Moderator

    Re: BMP280 Compensated temperature always zero

    Would you be able to share some more details about your setup? For example schematic of the sensors' connections, code snippet of the sensor API usage, eventually even a logic analyzer capture of the trimming parameters read-out when using the sensor API?

    Community Moderator

    Re: BMP280 Compensated temperature always zero

    Please  read the chip ID to ensure if the reading from I2C is correct or not,check whether HW connection issue.

     

    New Poster

    Re: BMP280 Compensated temperature always zero

    The issue has been resolved.

    It was a software problem. Updating the underlying framework (ESP-IDF) was needed.

    Thank you for your time and helpfull suggestions.

    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