Component: Thermocouple (MAX31855) (Environmental)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Environmental |
Contents
Thermocouple component
Component to interface the MAX31855 IC from MAXIM. Uses a standard 3-wire SPI interface to connect to the IC and collect the temperature. IC available in different versions to suit different thermocouple types.
Detailed description
No detailed description exists yet for this component
Examples
Example program showing how to use the Thermocouple component.
MAX31855_Example
Downloadable macro reference
![]() |
ReadReference_Int |
Returns the reference temperature from the last sample as an integer value in Degrees C. | |
![]() |
Return |
![]() |
ReadReference_Float |
Returns the reference temperature from the last sample as a floating point value in Degrees C. | |
![]() |
Return |
![]() |
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=Short GND, 3=Short VCC | |
![]() |
Return |
![]() |
ReadThermocouple_Int |
Returns the thermocouple temperature from the last sample as an integer value in Degrees C. | |
![]() |
Return |
![]() |
ReadThermocouple_Float |
Returns the thermocouple temperature from the last sample as a floating point value in Degrees C. | |
![]() |
Return |
![]() |
Initialise |
Configures the SPI bus ready for communications. | |
![]() |
Return |