bluerobotics / bluerobotics/ms5837-python

Pressure reading seems to track temperature

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
33
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo il comportamento segnalato di BAR02 relativo alla pressione in funzione della temperatura usando la libreria e le formule di compensazione del datasheet. Confronta le letture calcolate con il riferimento della pressione atmosferica di BMP280 e con le variazioni della profondità dell’acqua; il lavoro è completato quando il problema di compensazione è spiegato e viene documentata una correzione verificata o un chiaro problema di utilizzo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
embedded-iot
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.