OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

Using more than one MS5803 pressure sensor with the mux returns the wrong temperture #34

Closed maxchu765 closed 4 years ago

maxchu765 commented 5 years ago

Describe the bug When using more than one MS80302 pressure sensor, one of the sensors reports temperature about 10 degrees Celsius low. Pressure readings are accurate for both sensors. Only the temperature for one sensor is wrong.

Hardware in Use Feather M0 LoRa I2C multiplexer 2 MS580302 Pressure sensors

Code LOOM multiplexer example

Additional context Both pressure sensors by themselves report the correct temperature and pressure

prototypicalpro commented 5 years ago

Will be fixed with https://github.com/OPEnSLab-OSU/Loom/issues/25

maxchu765 commented 4 years ago

Currently fixed by re-initializing the sensor right before reading the data.