Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Pressure reading seems to track temperature

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
embedded-iot

Research direction

Start by reproducing the reported BAR02 pressure-versus-temperature behavior using the library and the datasheet's compensation formulas. Compare the calculated readings with the BMP280 atmospheric-pressure reference and water-depth changes; done means the compensation problem is explained and a verified correction or clear usage issue is documented.

Written by the indexing model from the issue text.

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

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.

Dominant language
Python
Stars
33
Forks
41
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bluerobotics/ms5837-python

All issues in bluerobotics/ms5837-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.