-
Notifications
You must be signed in to change notification settings - Fork 227
DHT11 SENSOR
Jaume Olivé Petrus edited this page Jan 19, 2017
·
38 revisions
What | Comments | |
---|---|---|
[Datasheet] (http://www.micropik.com/PDF/dht11.pdf) | ||
Interface | GPIO | 1 pin |
Provides | temperature | celsius degrees |
humidity | % relative humidity |
s1 = sensor.setup("DHT11", pio.GPIO4)
s1:acquire()
temperature = s1:read("temperature")
humidity = s1:read("humidity")