The DHT22 measures temperature and humidity and hands back a calibrated digital reading over a single wire, so there is no ADC, no reference voltage and no calibration curve to work out at your end. It covers 0 to 100% RH and -40 to 80°C, holding ±2% RH through the 20 to 90% band and ±0.5°C on temperature. This one arrives on a red breakout with the 5.1k pull-up already fitted and the 3-pin header soldered on, so it goes onto a breadboard or an ESP32 with three jumper wires and nothing else.
- Humidity 0 to 100% RH, ±2% RH through 20 to 90%
- Temperature -40 to 80°C, ±0.5°C
- Resolution 0.1% RH and 0.1°C, 16 bits each
- Calibrated digital output on one wire, no ADC needed
- 5.1k pull-up resistor already fitted on the board
- Runs on 3.3V or 5V logic, 3.3 to 5.5V DC in
- 1.5mA while reading, 50µA sitting idle
- Cable runs of up to 20 metres
- 39.7 x 23.4mm with two 3mm mounting holes
- Native ESPHome support, Adafruit DHT library on Arduino
Specifications
What's in the box
Header already soldered and the pull-up already fitted, so there is nothing to add before you wire it up. Three jumper wires and a board and you are reading.
Great for
Getting started: the header reads DAT, VCC, GND top to bottom on the silkscreen, so check the board rather than wiring by habit. DAT goes to any digital GPIO, VCC to 3.3V or 5V, GND to ground. On Arduino install the Adafruit DHT sensor library and set the type to DHT22, not DHT11. On ESPHome use the dht platform with model: DHT22. Leave at least 2 seconds between reads or the call comes back as nan.
Good to know: ±2% RH holds through the 20 to 90% band and widens to about ±5% RH at the very top and bottom of the range, which is normal for a capacitive sensor. Keep it out of direct sun and away from anything warm, since a heat source next to the sensor skews humidity as well as temperature. Do not use it where condensation forms on the housing, and do not build it into safety or emergency stop equipment.
