Adafruit DHT11/DHT22/AM2302 Temperature & Humidity Sensor User Manual

User guide for Adafruit's DHT11, DHT22, and AM2302 temperature and humidity sensors, covering wiring, Arduino and CircuitPython usage, and code examples.


Adafruit DHT11/DHT22/AM2302 Temperature & Humidity Sensor User Manual - cover page
Brand
Adafruit
Category
sensor
Document type
User Manual
Language
Chinese
Pages
13
File format
PDF
File size
924 KB
Published
23 November, 2026
Updated
23 November, 2026
MD5 checksum
037D84D111F61BFE4092149BE52A9C7C

About this manual

This manual explains how to use Adafruit's DHT temperature and humidity sensors, including DHT11, DHT22, and AM2302. It covers wiring, connecting to Arduino and CircuitPython boards, and provides example code for both platforms. The sensors are simple to use but have slow response times and limited sampling rates. The guide also includes troubleshooting tips and links to datasheets and libraries. This manual is written in Chinese.

What's inside

  • Overview
  • DHT11 vs DHT22
  • Connecting to a DHTxx Sensor
  • Using a DHTxx Sensor with Arduino
  • DHT CircuitPython Code
  • Adafruit CircuitPython Module Install
  • Wiring
  • Usage
  • Example Code
  • Python Docs

Specifications

DHT11 Temperature Range0-50°C
DHT11 Humidity Range20-80%
DHT22 Temperature Range-40 to 80°C
DHT22 Humidity Range0-100%
DHT11 Sampling Rate1 Hz
DHT22 Sampling Rate0.5 Hz

Frequently asked questions

What should I do if the sensor doesn't read correctly?

Check your wiring, ensure the pull-up resistor is connected, and verify the power supply. Try retrying the read operation.

What are the dimensions of the DHT11 sensor?

The body size of the DHT11 is 15.5mm x 12mm x 5.5mm.

What is the temperature reading range for the DHT22 and AM2302 sensors?

These sensors are good for temperature readings from -40 to 80°C.

What resistor is recommended for the data line?

A 10 Kohm resistor should be placed between VCC and the data pin to serve as a medium-strength pull up.

Download PDF (924 KB)

More Adafruit Manuals


View all Adafruit manuals →