User guide for Adafruit's DHT11, DHT22, and AM2302 temperature and humidity sensors, covering wiring, Arduino and CircuitPython usage, and code examples.
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.
| DHT11 Temperature Range | 0-50°C |
|---|---|
| DHT11 Humidity Range | 20-80% |
| DHT22 Temperature Range | -40 to 80°C |
| DHT22 Humidity Range | 0-100% |
| DHT11 Sampling Rate | 1 Hz |
| DHT22 Sampling Rate | 0.5 Hz |
Check your wiring, ensure the pull-up resistor is connected, and verify the power supply. Try retrying the read operation.
The body size of the DHT11 is 15.5mm x 12mm x 5.5mm.
These sensors are good for temperature readings from -40 to 80°C.
A 10 Kohm resistor should be placed between VCC and the data pin to serve as a medium-strength pull up.