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.

wemosdht11.png

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://afnog.iotworkshop.africa/pub/AFNOG/DHT11Shield/dht11.py.txt

-- Uli Raich - 2019-03-22

Comments

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt dht11.py.txt r1 manage 0.2 K 2019-03-22 - 14:45 UliRaich  
PNGpng wemosdht11.png r1 manage 141.7 K 2019-03-22 - 14:43 UliRaich  

This topic: AFNOG > WebHome > AFNOGWorkshop2019 > WeMosD1Mini > DHT11Shield
Topic revision: r1 - 2019-03-22 - UliRaich
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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