bluerobotics / bluerobotics/ms5837-python
Pressure reading seems to track temperature
- Lenguaje dominante
- Python
- Estrellas
- 33
- Forks
- 41
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo el comportamiento reportado de presión frente a temperatura de BAR02 mediante la biblioteca y las fórmulas de compensación de la hoja de datos. Compara las lecturas calculadas con la referencia de presión atmosférica del BMP280 y los cambios de profundidad del agua; se considera terminado cuando se haya explicado el problema de compensación y se haya documentado una corrección verificada o un problema claro de uso.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- embedded-iot
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100