Last modified 10 years ago Last modified on 2014-03-23 14:00:54

NOTE! This page is no longer updated

You will find the latest information about MySensors here:

Temperature and Humidity sensor (DHT11/DHT22)


You can download the Arduino sketch

This sensor sleeps most of the time. You can change the sleep interval by updating SLEEP_TIME define at the top of the file.

Wire things up

Follow the instructions in ConnectingRadioModule to connect radio module.

To connect the DHT22 sensor to the Arduino board follow these instructions:
Pin1. Connect VCC of the DHT22 sensor to +5V
Pin2. Connect Data to digital pin 3 of the Arduino board
Pin3. Not used.
Pin4. Connect to Ground

Use also need a pull up resistor between +5V and Data. See picture below.

Hardware - Purchase guide

To build this sensor you'll need one arduino + radio specified in the base kit found here:
The DHT humidity sensor exists in two versions 11 and 22. The 22-version is a bit more accurate than 11.

1x of DHT11 Temperature and Humidity sensor or DHT22 Temperature and Humidity sensor

TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $5 (DHT22) = $12,6