Skip to content

10K THERMISTOR SENSOR

Thomas E. Horner edited this page Mar 12, 2019 · 3 revisions

Specification

What Comments
Identifier THERMISTOR
Interface ADC
Provides temperature celsius degrees
Properties none
Datasheet

Code

-- Attach 10K Thermistor sensor to GPIO35, 12 bits of resolution
s1 = sensor.attach("THERMISTOR", adc.ADC1, pio.GPIO35, 12)

-- Read temperature
s1:read("temperature")

Back to sensor list

Clone this wiki locally