DHT22

A peripheral for use with the Kookaberry

The DF Robot DHT22 module measures temperature and relative humidity and sends the sampled data digitally to the Kookaberry.

The DHT22 has slightly better specifications than the cheaper, but more popular, DHT11 module.

Specification (DHT22)

  • Supply Voltage: 3-5 V
  • Temperature Range:-40-80℃ / resolution 0.1℃ / error <±0.5℃
  • Humidity Range: 0-100%RH /  resolution 0.1%RH / error±2%RH
  • Size: 38 x 20 mm

The two modules can be used interchangeably in practical applications. The SenseDHT app detects which DHT module has been connected. 

[The following comparison of the two modules is taken from an excellent How to Mechatronics tutorial]

The DHT22 is the more expensive version which obviously has better specifications. Its temperature measuring range is from -40 to +125 degrees Celsius with +-0.5 degrees accuracy, while the DHT11 temperature range is from 0 to 50 degrees Celsius with +-2 degrees accuracy. Also the DHT22 sensor has better humidity measuring range, from 0 to 100% with 2-5% accuracy, while the DHT11 humidity range is from 20 to 80% with 5% accuracy.

 

There are two specification where the DHT11 is better than the DHT22. That’s the sampling rate which for the DHT11 is 1Hz or one reading every second, while the DHT22 sampling rate is 0,5Hz or one reading every two seconds and also the DHT11 has smaller body size. The operating voltage of both sensors is from 3 to 5 volts, while the max current used when measuring is 2.5mA.

How do they work?

They consist of a humidity sensing component, a NTC  temperature sensor (or thermistor) and an IC on the back side of the sensor. The term “NTC” means “Negative Temperature Coefficient”, which means that the resistance decreases with increase of the temperature. A thermistor is a variable resistor that changes its resistance with change of the temperature.

For measuring humidity they use the humidity sensing component which has two electrodes with moisture holding substrate between them. So as the humidity changes, the conductivity of the substrate changes or the resistance between these electrodes changes. This change in resistance is measured and processed by the IC which makes it ready to be read by a microcontroller.

               

For measuring temperature, these sensors use a NTC temperature sensor. These sensors are made by sintering of semiconductive materials such as ceramics or polymers in order to provide larger changes in the resistance with just small changes in temperature.

On-chip microcontroller

Each sensor module contains an 8-bit microcontroller which samples the analogue resistive changes from the two sensors; calibrates them from coefficients held in its One Time Programmable (OTP) memory; and sends them to the Kookaberry as precisely timed digital signals. The code required to convert these digital signals from the DHT11/22  back into temperature and RH values is part of the algorithms written for specific Kookaberry apps.

Where are they used in real life?

Anywhere where temperature and relative humidity should be controlled such as terrariums, incubators or greenhouses.

Apps that use this sensor

Image
SKU:
SEN0137
Output Type:
Digital

Supply Voltage:

3.3 to 5v

Brand:

DF Robot
View the Wiki
Schematic
Product Page