Hi
I’m trying to log PHT data from two MS8607 sensors (inside/outside enclosure) connected to the OLA via the qwiic mux. Both sensors are detected and send data, but the data appears to be uncalibrated for at least one sensor. I’ve done some testing with a RedBoard Qwiic and manage to reproduce the data if I connect one sensor directly and run the basic example from the MS8607 arduino example library. If I then hot swap the sensors, the data will be off (up or down) until I hit reset and the sensor calibration is read again. Finally I manage to get good data from both sensors via mux (running mux example sketch) if I initialize the sensors before each read (ie. run begin() in the loop, not in setup).
Is there any way to make the OLA hold calibration data (or reinitialize continously) for two PHT-MS8607 sensors?
OLA debug info showing one sensor reading 16,16 degrees and one reading 22,40 on my desk:
Artemis OpenLog v1.8
Logging to: dataLog00026.TXT
Finding the next available log file.
This could take a long time if the SD card contains many existing log files.
Logging to: serialLog00000.TXT
SD card online
Data logging online
Serial logging online
IMU online
detectQwiicDevices started
Identifying Qwiic Muxes…
detectQwiicDevices: something detected at address 0x70
detectQwiicDevices: multiplexer found at address 0x70
detectQwiicDevices: found 1 multiplexer
beginQwiicDevices: attempting to begin deviceType Multiplexer at address 0x70 using mux address 0x00 and port number 0
beginQwiicDevices: device is online
Identifying Qwiic Devices…
detectQwiicDevices: something detected at address 0x70
Multiplexers found. Scanning sub nets…
detectQwiicDevices: scanning the ports of multiplexer 0
detectQwiicDevices: scanning port number 0 on multiplexer 0
detectQwiicDevices: added PHT-MS8607 at address 0x40.0x70.0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 1 on multiplexer 0
detectQwiicDevices: added PHT-MS8607 at address 0x40.0x70.1
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 2 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 3 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 4 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 5 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 6 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
detectQwiicDevices: scanning port number 7 on multiplexer 0
detectQwiicDevices: skipping device address 0x70 because we found one on the main branch
Autodetect complete
beginQwiicDevices: attempting to begin deviceType PHT-MS8607 at address 0x40 using mux address 0x70 and port number 0
beginQwiicDevices: device is online
beginQwiicDevices: attempting to begin deviceType PHT-MS8607 at address 0x40 using mux address 0x70 and port number 1
beginQwiicDevices: device is online
beginQwiicDevices: attempting to begin deviceType Multiplexer at address 0x70 using mux address 0x00 and port number 0
beginQwiicDevices: device is online
PHT-MS8607 online at address 0x40.0x70.0
PHT-MS8607 online at address 0x40.0x70.1
Multiplexer online at address 0x70
Device count: 3
rtcDate,rtcTime,aX,aY,aZ,gX,gY,gZ,mX,mY,mZ,imu_degC,humidity_%,hPa,degC,humidity_%,hPa,degC,output_Hz,
01/01/2000,00:01:05.33,-208.50,-47.36,-994.63,-1.13,-2.33,1.27,-6.45,0.15,-117.45,27.79,46.12,984.49,16.16,47.11,991.54,22.40,8.77,