bluerobotics / bluerobotics/ms5837-python

Pressure reading seems to track temperature

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
33
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I have been having problems with accurate readings from several BAR02’s. I am measuring the water depth in an outdoor water fountain tank (20cm deep).

I finally plotted absolute pressure (Bar02 - atmospheric pressure measured with a BMP280) vs water temperature, measured with the BAR02. There is an exact correlation.
![18FD79BF-E04C-499A-B3CC-1569EFB7F4CE](https://user-images.githubusercontent.com/11572327/60389512-3c59d880-9a90-11e9-991b-4ffb029dbbbc.jpeg)

In the attached, there is rain at midnight, and the water pump switches on at 8:00am and off at 10:00am. The jumps in water pressure is reflected in the changes in water depth of the tank.

I have tried two different BAR02’s with the same result. It’s as if the temperature compensation is not working. The library init’s just fine though, so the CRC is correct. I have checked the math, and it corresponds to the datasheet.

Something is not right though.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.