Post by vk2psf on Dec 31, 2018 5:25:59 GMT -8
Running the BC24 Weather kit. (Kickstarter)
The AM2315 sends the correct data for maybe 3 to 6 cycles every few dozen system resets, The rest of the time it seems to corrupt the I2C bus data with no valid results from other I2C. When it goes faulty all the other I2C components send bad data, the system will not recover.
I have removed the AM2315 however the library routine to read data still says it is present, and reports bad crc on the data. Has there been any updates on the library to correctly determine that the unit is not there?
Does not seem to impact WeatherRack data, or network connectivity.
Truncated log to show the change between good and bad.
Free heap on ESP32:219696
---------------
Internal Clock
---------------
1969-12-31 17:01:34
---------------
AM2315
---------------
AOK=1
Temp: 29.00
Hum: 55.20
DwPt: 20.04
-----------------
AM2315 Statistics
-----------------
goodReads = 6
badReads = 0
badCRCReads = 0
badSpikeReads = 0
badMessageReads = 0
highTemp = 29.00
lowTemp = 29.00
lastGoodTemp = 29.00
highSingleBadReadCount =0
:0:0:0:0:0:0:0:0:0:0:
-----------------
---------------
BMP280
---------------
Pressure: 1092.17 hPa
Temperature: 30.35 C
Altitude: 23.50 m
---------------
HDC1080 Inside Temp/Humidity Present
---------------
HDC1080 Inside Temperature:29.48 Degrees C
HDC1080 Inside Humdity:58.09 %
---------------
.....
2 second Loop executed
Free heap on ESP32:219696
---------------
Internal Clock
---------------
1969-12-31 17:01:52
---------------
AM2315
---------------
AOK=1
Temp: 29.00
Hum: nan
DwPt: nan
-----------------
AM2315 Statistics
-----------------
goodReads = 6
badReads = 7
badCRCReads = 7
badSpikeReads = 0
badMessageReads = 0
highTemp = 29.00
lowTemp = 29.00
lastGoodTemp = 29.00
highSingleBadReadCount =0
:FF:FF:FF:FF:FF:FF:FF:FF:0:0:
-----------------
---------------
BMP280
---------------
Pressure: 1379.99 hPa
Temperature: -149.44 C
Altitude: -1993.34 m
---------------
HDC1080 Inside Temp/Humidity Present
---------------
HDC1080 Inside Temperature:125.00 Degrees C
HDC1080 Inside Humdity:100.00 %
The AM2315 sends the correct data for maybe 3 to 6 cycles every few dozen system resets, The rest of the time it seems to corrupt the I2C bus data with no valid results from other I2C. When it goes faulty all the other I2C components send bad data, the system will not recover.
I have removed the AM2315 however the library routine to read data still says it is present, and reports bad crc on the data. Has there been any updates on the library to correctly determine that the unit is not there?
Does not seem to impact WeatherRack data, or network connectivity.
Truncated log to show the change between good and bad.
Free heap on ESP32:219696
---------------
Internal Clock
---------------
1969-12-31 17:01:34
---------------
AM2315
---------------
AOK=1
Temp: 29.00
Hum: 55.20
DwPt: 20.04
-----------------
AM2315 Statistics
-----------------
goodReads = 6
badReads = 0
badCRCReads = 0
badSpikeReads = 0
badMessageReads = 0
highTemp = 29.00
lowTemp = 29.00
lastGoodTemp = 29.00
highSingleBadReadCount =0
:0:0:0:0:0:0:0:0:0:0:
-----------------
---------------
BMP280
---------------
Pressure: 1092.17 hPa
Temperature: 30.35 C
Altitude: 23.50 m
---------------
HDC1080 Inside Temp/Humidity Present
---------------
HDC1080 Inside Temperature:29.48 Degrees C
HDC1080 Inside Humdity:58.09 %
---------------
.....
2 second Loop executed
Free heap on ESP32:219696
---------------
Internal Clock
---------------
1969-12-31 17:01:52
---------------
AM2315
---------------
AOK=1
Temp: 29.00
Hum: nan
DwPt: nan
-----------------
AM2315 Statistics
-----------------
goodReads = 6
badReads = 7
badCRCReads = 7
badSpikeReads = 0
badMessageReads = 0
highTemp = 29.00
lowTemp = 29.00
lastGoodTemp = 29.00
highSingleBadReadCount =0
:FF:FF:FF:FF:FF:FF:FF:FF:0:0:
-----------------
---------------
BMP280
---------------
Pressure: 1379.99 hPa
Temperature: -149.44 C
Altitude: -1993.34 m
---------------
HDC1080 Inside Temp/Humidity Present
---------------
HDC1080 Inside Temperature:125.00 Degrees C
HDC1080 Inside Humdity:100.00 %