Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMP581 temperature affecting pressure reading

    BMP581 temperature affecting pressure reading

    lucas_allen
    New Poster

    I am attemting to use the BMP581 to measure height change but it seems that changes in temperature of the sensor is having a massive effect on the pressure readings. 

    I am using the sensor in the form of the sparkfun bmp581 breakout board and interfacing via I2C.

    startup procedure:

    reading device id at register 0x01 gives a value of 0x50

    reading register 0x28  gives a value of 0x02

    reading int status register 0x29 gives a value of 0x10

    write register 0x36 with value of 0x60  to set press_en=1, osr_p=16x,   osr_t=1x

    write register 0x37 with value of 0x5d  to set power_mode=normal,  odr=10hz

     

    read procedure:

    burst read six bytes starting at register 0x1d 

    temperature =bytes[0-2]/65536

    pressure=bytes[3-5]/64

    here is a graph of temperature(bottom) vs pressure(top) over time when i placed my finger on the back of the breakout board to apply heat and then released to allow it to cool.

    IMG_20240312_095857501.jpg

     

    the bmp581 is supposed to have an absolute pressure accuracy of +-30pa

    is my sensor faulty or am I doing something wrong?

    any help would be greatly appreciated

    3 REPLIES 3

    MrjT
    New Poster

    Hello Lucas,

    It is likely that, in pressing your finger on the back of the board, you are inducing mechanical stress / deformation on the board which can corrupt the pressure measurement. 

    Sections 7.1.2 to 7.1.10 of BMP5xy HSMI (bosch-sensortec.com) show some guidelines on avoiding mechanical stress on the sensors. We'd recommend using (gentle) warm air to heat the BMP581 to see if this reduces the pressure variations you are seeing.

    Hello MrjT,

    Thank you for bringing this to my attention. I will definitly take this into consideration for my design, but I have confirmed that my sensor was faulty.

    I just tested a new bmp581 sensor with the same code and the performance was impressive.

    The sensor could reliably detect height changes of around 10cm and seemed to be compensating well for temperature changes.

     

     

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hi lucas_allen,

    As mentioned by MrjT, the BMP5xy HSMI document states the need to avoid mechanical stress and heat sources.
    Additionally, if you still feel that your sensor is faulty, you can confirm it with your supplier. If you purchased the sensor from an official distributors or sales representatives , they will inspect it based on your stock.

    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