bluerobotics / bluerobotics/ms5837-python
Pressure reading seems to track temperature
- 主要言語
- Python
- スター
- 33
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.

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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、ライブラリとデータシートの補正式を使って、報告された BAR02 の圧力対温度の挙動を再現します。計算された測定値を BMP280 の大気圧リファレンスおよび水深の変化と比較します。補正の問題が説明され、検証済みの修正または明確な使用上の問題が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- embedded-iot
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100