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