Thermistor
THERMISTOR is the support for reading thermistor sensors.
Add Input Device
Item |
Description |
---|---|
Thermistor |
Reads thermistor sensors. The default coefficients are designed to match the thermistor included in the Breadboard Pack of the TI-Innovator™ Hub, when used with a 10KΩ fixed resistor. A new set of calibration coefficients and reference resistance for the thermistor can be configured using the calibrate() function. |
CE products: from thermist import *
TI-Nspire CX II: from ti_hub import *
|
|
|
The function to create the object is pasted from the menu.
var=thermistor("port")
Command: |
var=thermistor("port") |
---|---|
Command |
var=thermistor("port") |
Range: |
|
Describe: |
Creates an object for the thermistor sensor. |
Result: |
|
Type or |
Control |
var.measurement()
Command: |
var.measurement() |
---|---|
Command |
var.measurement() |
Python |
TI Nspire CX II: from ti_hub import * t1 = thermistor("IN 1") val = t1.measurement() print("Thermistor value: ", val) |
|
CE products: from thermist import * t1 = thermistor("IN 1") val = t1.measurement() print("Thermistor value: ", val) |
Range: |
|
Describe: |
Returns the measured value of the thermistor. |
Result: |
|
Type or |
Control |
var.calibrate(c1,c2,c3,r)
Command: |
var.calibrate(c1,c2,c3,r) |
---|---|
Command |
var.calibrate(c1,c2,c3,r) |
Range: |
|
Describe: |
Calibrates the thermistor with the specified values. |
Result: |
|
Type or |
Control |