bluerobotics / bluerobotics/ms5837-python
Pressure reading seems to track temperature
- Langage dominant
- Python
- Étoiles
- 33
- Forks
- 41
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.

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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le comportement signalé de BAR02 concernant la pression en fonction de la température à l’aide de la bibliothèque et des formules de compensation de la fiche technique. Comparez les mesures calculées avec la référence de pression atmosphérique du BMP280 et les variations de profondeur de l’eau ; le travail est considéré comme terminé lorsque le problème de compensation est expliqué et qu’une correction vérifiée ou un problème d’utilisation clairement documenté est fourni.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- embedded-iot
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100