Tags:
tag this topic
create new tag
view all tags
The DHT11 temperature and humidity sensor
The
DHT11
is a temperature and humidity sensor using its own private protocol. Fortunately a driver is again available in the micro Python library implementing this protocol and making the use of the module very simple.
As before I wrote a small hardware test program verifying that I can correctly read temperature and humidity values before integrating the sensor into our Cayenne IoT network.
Here is the hardware test code:
https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/dht11/dht11.py
and here the Cayenne version publishing the temperature and humidity readouts.
https://github.com/uraich/MicroPython_IoTDemos/blob/master/cayenne/dht11/cayenneDHT11.py
--
Uli Raich - 2019-03-22
Comments
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
txt
dht11.py.txt
r1
manage
0.2 K
2019-03-22 - 14:45
UliRaich
png
wemosdht11.png
r1
manage
141.7 K
2019-03-22 - 14:43
UliRaich
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2019-05-17
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
AFNOG Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback