Difference between revisions of "Component: Thermocouple (MAX31855) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==Thermocouple component== | ==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. | 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. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SENSORS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:24, 7 January 2022
Author | 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.
Component Pack
SENSORS
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 |