Difference: TheDHT11TemperatureAndHumiditySensor (1 vs. 2)

Revision 22020-05-14 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

Exercise 4: The DHT11 Temperature and Humidity Sensor

Added:
>
>

Introduction

 
Changed:
<
<
Article text.
>
>
The DHT11 is a digital temperature and humidity sensor featuring his own proprietary communication protocol. It uses a single GPIO line (GPIO 16) to serially transfer its temperature and humidity measurement.

wemosDHT11.png

MicroPython already has a driver for the DHT type sensors (DHT11 and DHT22) included in its binary making it very easy to read the temperature and humidity values. The driver however hides the protocol from the user and the student cannot see what is going on behind the scene.

For this reason I have added a second driver allowing to read raw bit values as they appear in the DHT11 protocol. This allows the student to understand how the DHT11 actually works and what the driver is doing to extract the temperature and humidity values.

Here is the DHT11 data sheet:

https://iotworkshop.africa/pub/IoT_Course_English/TheDHT11TemperatureAndHumiditySensor/DHT11.pdf

  -- Uli Raich - 2020-05-06

Comments

<--/commentPlugin-->
Added:
>
>
META FILEATTACHMENT attachment="wemosDHT11.png" attr="" comment="" date="1589442088" name="wemosDHT11.png" path="wemosDHT11.png" size="116136" user="UliRaich" version="1"
META FILEATTACHMENT attachment="DHT11.pdf" attr="" comment="" date="1589442656" name="DHT11.pdf" path="DHT11.pdf" size="1518826" user="UliRaich" version="1"

Revision 12020-05-06 - UliRaich

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Exercises"

Exercise 4: The DHT11 Temperature and Humidity Sensor

Article text.

-- Uli Raich - 2020-05-06

Comments

<--/commentPlugin-->
 
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