Component: RTD (MAX31865) (Environmental): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 35: | Line 35: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AutoConvert''' | ||
|- | |- | ||
| colspan="2" | Enables or disables automatic continuous conversion. | | colspan="2" | Enables or disables automatic continuous conversion. | ||
| Line 54: | Line 54: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ClearFault''' | ||
|- | |- | ||
| colspan="2" | Clears any latched fault flags in the MAX31865. | | colspan="2" | Clears any latched fault flags in the MAX31865. | ||
| Line 68: | Line 68: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''EnableBias''' | ||
|- | |- | ||
| colspan="2" | Enables or disables the MAX31865 bias current. | | colspan="2" | Enables or disables the MAX31865 bias current. | ||
| Line 87: | Line 87: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Initialises the SPI bus and basic MAX31865 configuration. | | colspan="2" | Initialises the SPI bus and basic MAX31865 configuration. | ||
| Line 101: | Line 101: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadFault''' | ||
|- | |- | ||
| colspan="2" | Reads the MAX31865 fault status register. | | colspan="2" | Reads the MAX31865 fault status register. | ||
| Line 115: | Line 115: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadTemperature''' | ||
|- | |- | ||
| colspan="2" | Performs a sample and returns temperature in Degrees C. | | colspan="2" | Performs a sample and returns temperature in Degrees C. | ||
| Line 129: | Line 129: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Sample''' | ||
|- | |- | ||
| colspan="2" | Performs a single MAX31865 conversion and returns the raw sensor reading. | | colspan="2" | Performs a single MAX31865 conversion and returns the raw sensor reading. | ||
| Line 143: | Line 143: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetNotchFilter''' | ||
|- | |- | ||
| colspan="2" | Sets the notch filter to 50Hz (1) or 60Hz (0). | | colspan="2" | Sets the notch filter to 50Hz (1) or 60Hz (0). | ||
| Line 162: | Line 162: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetWires''' | ||
|- | |- | ||
| colspan="2" | Sets the RTD wiring mode (2/3/4-wire). | | colspan="2" | Sets the RTD wiring mode (2/3/4-wire). | ||
| Line 181: | Line 181: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | RTD Properties | ||
|- | |- | ||
|- | |- | ||
| Line 219: | Line 219: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | SPI Properties | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Environmental |
RTD (MAX31865) component
Component to interface the MAX31865 RTD-to-digital converter IC. Uses a standard SPI interface to connect to the IC and measure RTD resistance / temperature. Compatible with PT100 and PT1000 temperature sensors.
Version information
Library Version, Component Version, Date, Author, Info 1, 1.0, 23-12-24, BR, Initial MAX31865 RTD component implementation
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AutoConvert
| AutoConvert | |
| Enables or disables automatic continuous conversion. | |
| Enable | |
| 0 = One-shot, 1 = Continuous | |
| Return | |
ClearFault
| ClearFault | |
| Clears any latched fault flags in the MAX31865. | |
| Return | |
EnableBias
| EnableBias | |
| Enables or disables the MAX31865 bias current. | |
| Enable | |
| 0 = Off, 1 = On | |
| Return | |
Initialise
| Initialise | |
| Initialises the SPI bus and basic MAX31865 configuration. | |
| Return | |
ReadFault
| ReadFault | |
| Reads the MAX31865 fault status register. | |
| Return | |
ReadTemperature
| ReadTemperature | |
| Performs a sample and returns temperature in Degrees C. | |
| Return | |
Sample
| Sample | |
| Performs a single MAX31865 conversion and returns the raw sensor reading. | |
| Return | |
SetNotchFilter
| SetNotchFilter | |
| Sets the notch filter to 50Hz (1) or 60Hz (0). | |
| Mode | |
| 0 = 50Hz, 1 = 60Hz | |
| Return | |
SetWires
| SetWires | |
| Sets the RTD wiring mode (2/3/4-wire). | |
| Wires | |
| 2, 3 or 4 wires | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ThermocoupleMAX31865.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ThermocoupleMAX31865.fcfx