wit-thermistor

cristian-garcia/wit-fire-detection/wit-thermistor

Analog reading intended to sample thermistor
wit-thermistor
@/wit-thermistor
Analog reading intended to sample thermistor
MODboolean
Set to TRUE to implement custom Port selection on node.
PORTport
Input port when custom is enabled.
POLLpulse
Rate at which to poll analog input for updates.
ASCLnumber
The output from the analog-read block is a percentage of the full scale voltage (5V max), so multiply the output by 5 to get Vout.
ALRMnumber
If the voltage is less than the specified value, output TRUE. Since this thermistor is a negative temp coeff, we need to use a less than comparison. 1.32V corresponds to 50°C using the complex equation for NTC thermistors which would take too many blocks to calculate out.
wit-thermistor
THTRD
MOD
PORT
POLL
ASCL
ALRM
THTRDboolean
Output TRUE if thermistor is detecting a fire event and FALSE if it is reading 'nominal'
To use the node in your project you should have the cristian-garcia/wit-fire-detection library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.