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

닫힘
Flo2 년 전을 오픈 · 1개의 코멘트
Flo Kra 코멘트됨, 2 년 전

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 Kra 코멘트됨, 2 년 전
소유자

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 년 전가 Close
로그인하여 이 대화에 참여
레이블 없음
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.