DIYables DIYables DHT22 AM2302 Digital Temperature and Humidity Sensor
Click to zoom





Quick Overview
This DIYables DHT22 (AM2302) digital temperature and humidity sensor delivers 0.1 resolution with ±0.5°C temperature accuracy and ±2% RH humidity accuracy for reliable environmental readings. It measures temperature from -40°C to 80°C and humidity from 0% to 100% RH, making it suitable for indoor, outdoor, and industrial monitoring applications.
The sensor communicates over a single-wire digital interface, eliminating the need for analog-to-digital conversion and providing stable, noise-resistant data. It operates on both 3.3V and 5V, and works with Arduino, ESP32, ESP8266, Raspberry Pi, and MicroPython using widely available DHT libraries.
This listing includes 5 DHT22 AM2302 sensors, ideal for weather stations, HVAC systems, greenhouse control, home automation, and IoT environmental monitoring projects. Perfect for building multiple sensor nodes or keeping spares on hand for your next project.
Key Features
- High Precision Sensing — 0.1 resolution with ±0.5°C temperature accuracy and ±2% RH humidity accuracy
- Wide Measurement Range — Temperature from -40°C to 80°C and humidity from 0% to 100% RH
- Single-Wire Digital Output — Eliminates analog-to-digital conversion for stable, noise-resistant readings
- Wide Voltage Compatibility — Works with both 3.3V and 5V microcontroller boards
- 5-Pack Value Set — Includes 5 DHT22 AM2302 sensors for multiple projects or spare replacements
- Easy Library Support — Compatible with popular Arduino and MicroPython DHT libraries
- Wide Compatibility — Works with Arduino, ESP32, ESP8266, Raspberry Pi, and MicroPython
- Tutorial Support — Comprehensive tutorials available for Arduino, ESP32, ESP8266, Raspberry Pi, and MicroPython
- Versatile Applications — Suited for weather stations, HVAC systems, greenhouse control, and home automation
- Compact 4-Pin Package — Simple pin layout for easy breadboard or PCB integration
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Digital Temperature and Humidity Sensor |
| Model | DHT22 (AM2302) |
| Package Quantity | 5 pieces |
| Resolution | 0.1 (temperature and humidity) |
| Temperature Range | -40°C to 80°C |
| Temperature Accuracy | ±0.5°C |
| Humidity Range | 0% to 100% RH |
| Humidity Accuracy | ±2% RH |
| Output Type | Digital (single-wire protocol) |
| Operating Voltage | 3.3V to 5V DC |
| Sampling Rate | 0.5 Hz (once per 2 seconds) |
| Pull-Up Resistor | Not included (10kΩ external resistor recommended) |
| Pin Count | 4-pin (VCC, Data, NC, GND) |
| Compatibility | Arduino, ESP32, ESP8266, Raspberry Pi, MicroPython |
| Applications | Weather stations, HVAC, greenhouse control, home automation, IoT monitoring |
Tutorials
- Arduino - DHT22 Temperature and Humidity Sensor
- Arduino Uno R4 - DHT22 Temperature and Humidity Sensor
- Arduino Nano - DHT22 Temperature and Humidity Sensor
- Arduino Nano ESP32 - DHT22 Temperature and Humidity Sensor
- ESP32 - DHT22 Temperature and Humidity Sensor
- ESP32 MicroPython - DHT22 Temperature and Humidity Sensor
- ESP8266 - DHT22 Temperature and Humidity Sensor
- Raspberry Pi - DHT22 Temperature and Humidity Sensor
- Raspberry Pi Pico - DHT22 Temperature and Humidity Sensor
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.) — Digital pin with 10kΩ pull-up resistor
- Arduino Uno R4 WiFi/Minima — Digital pin, 5V or 3.3V logic
- ESP32 development boards — Any GPIO pin, MicroPython or Arduino framework
- ESP8266 boards (NodeMCU, Wemos D1, etc.) — Digital pin, 3.3V logic level
- Raspberry Pi (all models) — GPIO pin with 3.3V logic
- Raspberry Pi Pico — GPIO pin, MicroPython or C/C++ supported
- Arduino Nano ESP32 — Digital pin for single-wire communication
- Any 3.3V or 5V microcontroller with digital I/O and DHT library support









