Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DHTxx family Humidity Sensors

(Models DHT11/DHT21/DHT21 and also known as AM2303)

 

Image Modified

Figure 1. Typical DHT humidity sensor. [1]

 

Introduction

 

The DHT family of humidity sensors consist of a capacitive humidity sensor and a thermistor. It is available in a few package types, most commonly in a 15mm x 25mm plastic box with four leads. The different models work with the same principles, but they have slightly different specifications and accuracy.

...

  • Low cost

  • 3 to 5V power and I/O

  • 2.5mA max current use during conversion (while requesting data)

  • Good for 20-80% humidity readings with 5% accuracy

  • Good for 0-50°C temperature readings ±2°C accuracy

  • No more than 1 Hz sampling rate (once every second)

  • Body size 15.5mm x 12mm x 5.5mm

  • 4 pins with 0.1" spacing

 

Applications: Arduino + Humidity Sensor + Temperature Sensor

 

Sensor details: https://www.youtube.com/watch?v=C7uS1OJccKI

Setting up sensors video: https://www.youtube.com/watch?v=Qj69qfneNzI

...

Raw basics: http://www.instructables.com/id/Arduino-Temperature-Humidity/

Arduino code: http://playground.arduino.cc/Main/DHTLib

 

DHT11 power consumption

 

Image Removed

Figure 2. Power consumption sheet.

 

Humidity Sensor DHT11 component can be used with batteries. For example AA battery 400-900 mAh.

 

Battery Life = Battery Capacity in Milli amps per hour / Load Current in Milli amps * 0.7

Battery Life = 750~ mAh / 0.2 mA * 0.7 = 2600~ Estimated Hours.

Arduino requires about 46.5 mA current in order to operate properly and sleeping power consumption 34.4 mA.

 

DHT11 material (used in component)

 

‘This sensor includes a resistive-type humidity measurement component and an NTC temperature measurement component, and connects to a highperformance 8-bit microcontroller, offering excellent quality, fast response, anti-interference ability and cost-effectiveness.’ [8]

 

So basicly humidity sensor is made out of regular material such as silicon microchip, ceramic body and plastic casing?

 


Relative Humidity

...

‘Relative humidity is the ratio of the current absolute humidity to the highest possible absolute humidity (which depends on the current air temperature). A reading of 100 percent relative humidity means that the air is totally saturated with water vapor and cannot hold any more, creatin­g the possibility of rain. This doesn't mean that the relative humidity must be 100 percent in order for it to rain -- it must be 100 percent where the clouds are forming, but the relative humidity near the ground could be much less.’ [2]

 

‘The relative humidity (Φ) of an air-water mixture is defined as the ratio of the partial pressure of water vapor (H2O) (eω) in the mixture to the equilibrium vapor pressure of water (e*ω) at a given temperature.Relative humidity is normally expressed as a percentage and is calculated by using the following equation:

Φ= eω/e*ω

The higher the percentage, the more humid. The higher the relative humidity, the less drying takes place. This affects the human bodies' perception of heat, as explained next.’ [3]

 

Image Modified

Figure 32. [7]

 

Image Modified

Figure 43. [7]

 

Capacitive Humidity Sensor and Physical principles models

...

A capacitive humidity sensor is used to measure relative humidity with a usual range of 5 to 95 % relHum. The sensor is a capacitor, made from two metal electrodes with a porous dielectric substance between them. Water vapour is able to penetrate this layer, changing the total capacitance. Typical capacitance at 50% relHum is 100 to 500pF, with 0.2 to 0.5pF change per 1% relHum.

...

 

 

AM2302 / DHT22

DHT11

Range

0-100%

20-90%

Absolute accuracy

±2%

±5%

Repeatability

±1%

±1%

Long term stability

±0.5% per year

±1% per year

Typical street price

US$ 4-10

US$ 1-5

 

 

Raw usage

 

Most humidity sensors available are sold as units that include the capacitive humidity sensor, a temperature sensor and a microcontroller that reads, calculates and transmits this data.

...

To actually get any usable humidity values, a relatively accurate temperature measurement is also needed, as relative humidity is very dependant on temperature.

Image Modified

Figure 4. Capacitive Humudity Sensor Schematic.

http://www.arduino.cc/en/Tutorial/CapacitanceMeter

 

Communication

...

DHT sensor family uses single wire serial communication.

...

Sensor proceeds to send the data, each bit starts with 50µs low, then the bit data itself; 26 to 28µs for ‘0’, 70µs for ‘1’

Image Modified

Figure 5. Timing Diagram. [5]

 

Applications: Arduino + Humidity Sensor + Temperature Sensor

Sensor details: https://www.youtube.com/watch?v=C7uS1OJccKI

Setting up sensors video: https://www.youtube.com/watch?v=Qj69qfneNzI

Setting up sensors video2: https://www.youtube.com/watch?v=Rppuxjc_Rzc

Raw basics: 

...

http://www.instructables.com/id/Arduino-Temperature-Humidity/

Arduino code: http://playground.arduino.cc/Main/DHTLib

 

DHT11 power consumption

Image Added

Figure 6. Power consumption sheet.

 

Humidity Sensor DHT11 component can be used with batteries. For example AA battery 400-900 mAh.

 

Battery Life = Battery Capacity in Milli amps per hour / Load Current in Milli amps * 0.7

Battery Life = 750~ mAh / 0.2 mA * 0.7 = 2600~ Estimated Hours.

Arduino requires about 46.5 mA current in order to operate properly and sleeping power consumption 34.4 mA.

 

DHT11 material (used in component)

‘This sensor includes a resistive-type humidity measurement component and an NTC temperature measurement component, and connects to a highperformance 8-bit microcontroller, offering excellent quality, fast response, anti-interference ability and cost-effectiveness.’ [8]

 

So basicly humidity sensor is made out of regular material such as silicon microchip, ceramic body and plastic casing?

Summary

Summary

 

‘Humidity sensors are sensors that convert the moisture content in air, gases, bulk materials or soil into an electric output signal.

...

Major amounts of humidity sensors are required by the various process industries such as the food industry, the mining sector, the cement industry, the chemical industry, the pharmaceutical industry and many more. They are used for product quality control, in-process quality testing and for research and development. In the food industry, humidity sensors help to guarantee the quality level of flour and potato chips. Moisture sensors are also of importance in the pharmaceutical industry; here they help to avoid excessive humidity, which could alter the quality features of the final products.’ [6]

Reference

...