10K THERMISTOR SENSOR - thilo-hub/Lua-RTOS-ESP32 GitHub Wiki

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