Difference between revisions of "Component: Analogue Temp Sensors (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 117: | Line 121: | ||
| width="90%" | Select Sensor | | width="90%" | Select Sensor | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Select the required sensor. Custom allows you to enter parameters of an analogue sensor not covered. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-6-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-6-icon.png]] | ||
Line 127: | Line 131: | ||
| width="90%" | Vref (mV) | | width="90%" | Vref (mV) | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | For a more accurate reading, enter the exact referance voltage. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Line 147: | Line 151: | ||
| width="90%" | Scale factor (mV x100) | | width="90%" | Scale factor (mV x100) | ||
|- | |- | ||
− | | colspan="2" | for a scale factor of 22mv/C or 22mV/F it's 2200 Scale factor is set for you automatically. It can only be adjusted | + | | colspan="2" | for a scale factor of 22mv/C or 22mV/F it's 2200. Scale factor is set for you automatically. It can only be adjusted when custom is selcted. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| width="90%" | Offset (mV) | | width="90%" | Offset (mV) | ||
|- | |- | ||
− | | colspan="2" | Offset is set for you automatically. It can only be adjusted | + | | colspan="2" | Offset is set for you automatically. It can only be adjusted when custom is selcted. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
− | | width="90%" | | + | | width="90%" | Total average samples |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | The number of ADC samples taken. The higher the number the more stable the reading. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
| width="90%" | Max Temp | | width="90%" | Max Temp | ||
|- | |- | ||
− | | colspan="2" | Max Temp the sensor can reach is set for you automatically. It can only be adjusted | + | | colspan="2" | Max Temp the sensor can reach is set for you automatically. It can only be adjusted when custom is selcted. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
| width="90%" | Min Temp | | width="90%" | Min Temp | ||
|- | |- | ||
− | | colspan="2" | Max Temp the sensor can reach is set for you automatically. It can only be adjusted | + | | colspan="2" | Max Temp the sensor can reach is set for you automatically. It can only be adjusted when custom is selcted. |
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Centigrade | ||
+ | |- | ||
+ | | colspan="2" | 0 for a fahrenheit sensor. 1 for a centigrade sensor. Can only be changed when custom is selected. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Kelvin | ||
+ | |- | ||
+ | | colspan="2" | 1 for a kelvin sensor. Can only be changed when custom is selected. | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]] | ||
Line 176: | Line 190: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Revision as of 17:11, 5 January 2022
Author | Medelec35 |
Version | 1.0 |
Category | Environmental |
Contents
Analogue Temp Sensors component
A range of the most popular temperature analogue sensors which are: AD22100, AD22103, LM135, LM235, LM335, LM35, LM36, LM37, LM60, MCP9700., MCP9701, TC1047, TMP35, TMP36, TMP37 & TSIC301. Uses a single ADC pin which will allow you to display the temperature in C or F. If your sensor is not listed, there is a Custom option. You will be able to enter the scale factor, offset voltage, min and maximum temperatures If the temperature is outside the min and max values, then 999.9 will be displayed.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
VoltageADC |
Calculates what the approximate voltage should be based on Vref, Scale factor, Offset. For TSIC301, based on Max temp and Min temp only. | |
![]() |
Return |
![]() |
GetTempIntFX10 |
![]() |
Return |
![]() |
IntValueADC |
![]() |
Return |
![]() |
GetTempFloatF |
Value of the temperature in deg F | |
![]() |
Return |
![]() |
GetTempFloatC |
Value of the temperature in deg C | |
![]() |
Return |