Component: Thermocouple TypeK (EBM008) (EBM Modules)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category EBM Modules


Thermocouple TypeK component

A component matchin the Matrix EBM008 thermocouple board. As well as an interface to a standard TypeK thermocouple, this also includes a thermistor that is used for cold junction compensation.

Component Pack

SENSORS

Detailed description

No detailed description exists yet for this component

Examples

This demo reads the temperature from both the thermistor and thermocouple.

The thermocouple requires calibration from the thermistor to read accurate temperatures.

This is achieved by holding any switch on PORTD to set adjust the thermocouple to ambient.

FC6 Icon.png EBM008 Example


Downloadable macro reference

Fc9-comp-macro.png SetColdPointValue
Set the cold junction compensation point using a previously read ADC value. 
Fc9-u16-icon.png - UINT ADC_value
Integer ADC value. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetColdPoint
Set the current thermistor temperature as the reference point for cold junction compenation. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetTypeKTemperature
For the simulated Type K thermistor... Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. 
Fc9-f32-icon.png - FLOAT Temperature
Zero to one value - representing min-max of the sensor. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetTypeKADCValue
Get the current Integer value for the thermocouple probe's ADC channel. 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png GetNTCTemperature
Get the current temperature in Celcius for the cold junction thermistor. 
Fc9-s16-icon.png - INT Return


Fc9-comp-macro.png SetNTCTemperature
For the simulated cold junction thermistor... Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. 
Fc9-f32-icon.png - FLOAT Temperature
Zero to one value - representing min-max of the sensor. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetNTCADCValue
Get the current Integer value for the Cold Junction thermistor's ADC channel. 
Fc9-s16-icon.png - INT Return


Fc9-comp-macro.png GetTypeKTemperature
Get the thermocouple probe temperature with compensation for the cold junction temperature. 
Fc9-s16-icon.png - INT Return


Fc9-comp-macro.png Initialise
Set up the thermocouple sensor ready for use. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-6-icon.png Type K ADC Channel
Analog channel used for the Type K Thermocouple input 
Fc9-type-6-icon.png NTC ADC Channel
Analog channel used for the NTC Thermistor input 
Fc9-type-16-icon.png VDD
Operating Voltage of the hardware. ADC full scall is processor power rail 
Fc9-conn-icon.png Simulation
Fc9-type-10-icon.png Label
A text label to help you identify the component on the panel. 
Fc9-conn-icon.png Type K Thermocouple
Fc9-type-15-icon.png Max. Temp.
Maximum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-15-icon.png Min. Temp.
Minimum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-21-icon.png Scale divisions
Number of numbered divisions shown on the thermometer scale. 
Fc9-conn-icon.png NTC Thermistor
Fc9-type-15-icon.png Max. Temp.
Maximum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-15-icon.png Min. Temp.
Minimum termperature that can be set or displayed on the thermometer slider. 
Fc9-type-21-icon.png Scale divisions
Number of numbered divisions shown on the thermometer scale.