1# Copyright (c) 2022, HAW Hamburg FTZ-DIWIP
2# SPDX-License-Identifier: Apache-2.0
3
4
5description: |
6  Maxim MAX31865 SPI RTD-to-Digital Converter Temperature Sensor.
7  Find the datasheet here:
8  https://datasheets.maximintegrated.com/en/ds/MAX31865.pdf
9
10compatible: "maxim,max31865"
11
12include: [sensor-device.yaml, spi-device.yaml]
13
14properties:
15  resistance-at-zero:
16    type: int
17    required: true
18    description: Sensor resistance in ohms at 0 Celsius (100 ohms for PT100, 1000 ohms for PT1000)
19
20  resistance-reference:
21    type: int
22    required: true
23    description: Circuit reference resistance in ohms (recommended on MAX31865 datasheet 400 ohms
24      for PT100, 4000 ohms for PT1000, the Adafruit boards use 430 ohms and 4300 ohms)
25
26  low-threshold:
27    type: int
28    default: 0
29    description: Low fault threshold (ADC CODE, 15-bit value, unit-free, default value is the
30      minimum value)
31
32  high-threshold:
33    type: int
34    default: 32767
35    description: High fault threshold (ADC CODE, 15-bit value, unit-free, default value is the
36      maximum value)
37
38  maxim,3-wire:
39    type: boolean
40    description: 3-wire enabled (@a true) or 2-wire/4-wire (@a false)
41
42  filter-50hz:
43    type: boolean
44    description: 50 Hz filter enabled (@a true) or 60 Hz filter enabled (@a false)
45