TMP36 SENSOR - thilo-hub/Lua-RTOS-ESP32 GitHub Wiki

Specification

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

Code

-- Attach sensor using internal ADC / channel 6
s1 = sensor.attach("TMP36", adc.ADC1, 6)

s1:read("temperature")

Back to sensor list