Component: Thermocouple (MAX31856) (Environmental): Difference between revisions
Appearance
No edit summary |
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
||
| Line 64: | Line 64: | ||
===Initialise=== | ===Initialise=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 78: | Line 78: | ||
===ReadReference_Float=== | ===ReadReference_Float=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 92: | Line 92: | ||
===ReadReference_Int=== | ===ReadReference_Int=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 106: | Line 106: | ||
===ReadThermocouple_Float=== | ===ReadThermocouple_Float=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 120: | Line 120: | ||
===ReadThermocouple_Int=== | ===ReadThermocouple_Int=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 134: | Line 134: | ||
===Sample=== | ===Sample=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 148: | Line 148: | ||
===WriteColdJunctionOffset=== | ===WriteColdJunctionOffset=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 167: | Line 167: | ||
===WriteColdJunctionTemperature=== | ===WriteColdJunctionTemperature=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 187: | Line 187: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
Revision as of 14:15, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Environmental |
Thermocouple (MAX31856) component
Component to interface the MAX31856 IC from MAXIM. Uses a standard 4-wire SPI interface to connect to the IC and collect the temperature. Compatible with different thermocouple types.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
| Initialise | |
| Configures the SPI bus ready for communications. | |
| Return | |
ReadReference_Float
| ReadReference_Float | |
| Returns the reference temperature from the last sample as a floating point value in Degrees C. | |
| Return | |
ReadReference_Int
| ReadReference_Int | |
| Returns the reference temperature from the last sample as an integer value in Degrees C. | |
| Return | |
ReadThermocouple_Float
| ReadThermocouple_Float | |
| Returns the thermocouple temperature from the last sample as a floating point value in Degrees C. | |
| Return | |
ReadThermocouple_Int
| ReadThermocouple_Int | |
| Returns the thermocouple temperature from the last sample as an integer value in Degrees C. | |
| Return | |
Sample
| Sample | |
| Reads the memory of the MAX31855 IC and checks for errors. Must be called before any of the Read functions. Returns: 0=OK, 1=Open Circuit, 2=Under/Over Voltage, 3=Out of range | |
| Return | |
WriteColdJunctionOffset
WriteColdJunctionTemperature
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ThermocoupleMAX31856.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ThermocoupleMAX31856.fcfx