Component: RTD (MAX31865) (Environmental)
From Flowcode Help
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 1.0 |
| Category | Environmental |
Contents
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