Jump to content

Component: Thermistor Using Beta (Environmental): Difference between revisions

From Flowcode Help
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder""
Line 67: Line 67:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Themistor
| width="90%" class="mtx-class-propfolder" | Themistor
|-
|-
|-
|-
Line 81: Line 81:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Fixed Resistor
| width="90%" class="mtx-class-propfolder" | Fixed Resistor
|-
|-
|-
|-
Line 95: Line 95:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | ADC
| width="90%" class="mtx-class-propfolder" | ADC
|-
|-
|-
|-
Line 129: Line 129:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Temperature
| width="90%" class="mtx-class-propfolder" | Temperature
|-
|-
|-
|-
Line 148: Line 148:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
| width="90%" class="mtx-class-propfolder" | Simulation
|-
|-
|-
|-

Revision as of 14:36, 13 July 2026

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

ReadTemperature
 
- BOOL TempFormat
0 = Centigrade, 1 = Fahrenheit 
- FLOAT Return


ReadThermistorValue

ReadThermistorValue
 
- FLOAT Return


Property reference

Properties
Themistor
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  
Beta Value
Beta value is usually found on the thermistor datasheet 
Fixed Resistor
Ohms Value
Value of pullup or pulldown fixed resistor in ohms 
Resistor Biasing
Pullup - Fixed resistor is connected to + of the supply Pulldown - Fixed resistor is connected to 0V of the supply 
ADC
Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
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  
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. 
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. 
Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 
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 
Temperature
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.  
OffSet
 
Result Decimal Places
Number of decimal places (0 to 4) for temperaure results  
Simulation
Highest Temperature
 
Lowest Temperature
 
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