Component: Thermistor Using Beta (Environmental)

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


Thermistor Using Beta component

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

ReadTemperature

Fc9-comp-macro.png ReadTemperature
 
Fc9-bool-icon.png - BOOL TempFormat
0 = Centigrade, 1 = Fahrenheit 
Fc9-f32-icon.png - FLOAT Return


ReadThermistorValue

Fc9-comp-macro.png ReadThermistorValue
 
Fc9-f32-icon.png - FLOAT Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Themistor
Fc9-type-21-icon.png Ohms Value at 25C
Thermistor resistance at 25C is usually found on the thermistor datasheet. If you have a 10K thermistor, that that will be the value at 25C  
Fc9-type-21-icon.png Beta Value
Beta value is usually found on the thermistor datasheet 
Fc9-conn-icon.png Fixed Resistor
Fc9-type-21-icon.png Ohms Value
Value of pullup or pulldown fixed resistor in ohms 
Fc9-type-16-icon.png Resistor Biasing
Pullup - Fixed resistor is connected to + of the supply Pulldown - Fixed resistor is connected to 0V of the supply 
Fc9-conn-icon.png ADC
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-14-icon.png VRef voltage
Used by the GetVoltage or GetString component macros to take an ADC reading and convert it into a Voltage. +VRef voltage x 10mV Default 500 = 5.0V  
Fc9-type-16-icon.png VRef option
Defines what is used as the ADC maximum reference. ADC Range = GND to VRef Voltage VDD - Defines the microcontrollers power supply pin as the max reference, VREF+ Pin - Dedicated pin on the microcontroller to allow for a variable reference voltage. 
Fc9-type-16-icon.png Conversion speed
Clock setting to select how fast the ADC peripheral will perform an ADC conversion. The FRC setting is based on a RC time base and so will vary with temperature and pressure. Other settings are generally based on divisions of the master clock. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 
Fc9-type-14-icon.png Bit Depth
Maximum number of digital bits the ADC can sample. 8 bit = ADC range 0 - 255 10 bit = ADC range 0 - 1023 12 bit = ADC range 0 - 4095 
Fc9-conn-icon.png Temperature
Fc9-type-14-icon.png Offset x 100
+/- x100 Enter temperature offset x 100 For example, temperature measured with an accurate thermometer is 22.0. Returned is 23.4, which is 1.4 degrees too high. For offset enter -140.  
Fc9-type-15-icon.png OffSet
 
Fc9-type-21-icon.png Result Decimal Places
Number of decimal places (0 to 4) for temperaure results  
Fc9-conn-icon.png Simulation
Fc9-type-15-icon.png Highest Temperature
 
Fc9-type-15-icon.png Lowest Temperature
 
Fc9-type-16-icon.png Temperature Units
 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Thermistor_Using_Beta.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Thermistor_Using_Beta.fcfx