Skip to content

10K THERMISTOR SENSOR

Jaume Olivé Petrus edited this page Sep 24, 2017 · 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