Jump to content

Component: RTD (MAX31865) (Environmental): Difference between revisions

From Flowcode Help
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder""
Line 186: Line 186:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | RTD Properties
| width="90%" class="mtx-class-propfolder" | RTD Properties
|-
|-
|-
|-
Line 220: Line 220:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | SPI Properties
| width="90%" class="mtx-class-propfolder" | SPI Properties
|-
|-
|-
|-

Revision as of 14:35, 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. 
- BYTE Enable
0 = One-shot, 1 = Continuous 
- VOID Return


ClearFault

ClearFault
Clears any latched fault flags in the MAX31865. 
- VOID Return


EnableBias

EnableBias
Enables or disables the MAX31865 bias current. 
- BYTE Enable
0 = Off, 1 = On 
- VOID Return


Initialise

Initialise
Initialises the SPI bus and basic MAX31865 configuration. 
- VOID Return


ReadFault

ReadFault
Reads the MAX31865 fault status register. 
- BYTE Return


ReadTemperature

ReadTemperature
Performs a sample and returns temperature in Degrees C. 
- FLOAT Return


Sample

Sample
Performs a single MAX31865 conversion and returns the raw sensor reading. 
- UINT Return


SetNotchFilter

SetNotchFilter
Sets the notch filter to 50Hz (1) or 60Hz (0). 
- BYTE Mode
0 = 50Hz, 1 = 60Hz 
- VOID Return


SetWires

SetWires
Sets the RTD wiring mode (2/3/4-wire). 
- BYTE Wires
2, 3 or 4 wires 
- VOID Return


Property reference

Properties
RTD Properties
RTD Type
Selects the RTD type used with the MAX31865. 
Reference Resistor (Ohms)
Reference resistor value used on the MAX31865 breakout (default 430 Ohms). 
Notch Filter
 
Bias Current
 
Auto Convert
 
RTD Wiring Mode
 
SPI Properties
Channel
SPI Channel selector 
Prescale
Prescale option selector 
MOSI
SPI Data Out pin (MOSI). 
MISO
SPI Data In pin (MISO). 
CLK
SPI Clock pin (SCK). 
CS / SS
Chip Select / Slave Select pin used to enable the MAX31865. 

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