Bosch Sensortec Community

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

    BMP581 water level measurement

    BMP581 water level measurement

    PeterMark
    New Poster

    Hi

    I want to measure the water level with bmp581.

    So, how does this sensor track water levels with mm precision?

    Bosch Video (84) Detecting the water level of a washing machine powered by BMP390 - seems to be suggested by YouTube.

    Is there any example code or guide document I can refer to?

    9 REPLIES 9

    BSTRobin
    Community Moderator
    Community Moderator

    Hi PeterMark,

    For water level of a washing machine with mm precission, formula is " p=ρgh". we're supposed to substitute p as 50pa, ρ as 1000kg/m3, g as 9.8N/kg, and then we can get that h is equal to around 0.005m.

    Hi BSTRobin, thanks for your reply.
    I have a few more questions.

    1. Should I use only one sensor and apply it to the formula?
    2. Is there any problem setting the sensor as shown below?

    Pressure oversampling: x16
    Temperature oversampling: x2
    IIR filter coefficients: 4

    3. Should we consider a measuring device like the one below?

    PeterMark_0-1679268782648.png

     

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hi PeterMark,

    1, 3: In Youbute video, measuring device is like this, you need to use two sensor.

    water depth calculation.png
    2. Yes, you could use the sensor setting you mentioned. And you could also use other sensor setting, refer more BMP5 example code: https://github.com/boschsensortec/BMP5-Sensor-API/tree/master/examples

    Hi BSTRobin

    thanks for your reply.
    I have a few more questions.

    1. Why is 95817.06pa a reference?
    PeterMark_0-1681106953862.png

    2. Is the position of P0 a pressure input in the drum? Is it the pressure around?
    3. Should I simply get the P-P0 pressure? Is there a calibration value?
    4. Does the size of the tank not matter?
    5. Is it possible to measure up to 1mm?

    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