#1 DS18B20: sometimes sensor readings are wrong for 1 sample

クローズ
2 年 前Flo によって開かれました · 1 コメント
Flo Kra2 年 前 にコメントしました

When this happens the DallasTemperature lib returns a temperature reading of exactly 85 °C which seems to be some error code.

As DS18B20 sensors are used to monitor heating feed/return 85°C is a plausible value, so this needs at least some smart filtering.

Also DallasTemperature does not seem to do a CRC check. Maybe better switch to OneWireOG lib instead.

When this happens the DallasTemperature lib returns a temperature reading of exactly 85 °C which seems to be some error code. As DS18B20 sensors are used to monitor heating feed/return 85°C is a plausible value, so this needs at least some smart filtering. Also DallasTemperature does not seem to do a CRC check. Maybe better switch to OneWireOG lib instead.
Flo Kra2 年 前 にコメントしました
オーナー

fixed with d5d331e05b -> filter 85° readings if last reading was <80 or >90 -> increase precision of OneWire sensors to 12 bit

fixed with d5d331e05b -> filter 85° readings if last reading was <80 or >90 -> increase precision of OneWire sensors to 12 bit
Flo 2 年 前 に閉じられました
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません