AZ-Delivery DHT22 Temperature and Humidity Sensor User Manual

User guide for the AZ-Delivery DHT22 (AM2302) temperature and humidity sensor, with wiring and Arduino and Raspberry Pi examples.


AZ-Delivery DHT22 Temperature and Humidity Sensor User Manual - cover page
Brand
AZ-Delivery
Category
sensor
Document type
User Manual
Language
English
Pages
14
File format
PDF
File size
534 KB
Published
29 November, 2026
Updated
29 November, 2026
MD5 checksum
0672DF330A8B353C46ACD77026B957AB

About this manual

This manual explains how to use and set up the AZ-Delivery DHT22 temperature module, a relative humidity and temperature sensor that outputs a digital signal. It describes the capacitive humidity sensor and NTC thermistor inside the case, the technical specifications, and the pin connections.

The guide then shows how to connect the module to an Arduino Uno and a Raspberry Pi, including example sketches and scripts, and points readers to AZ-Delivery for application examples and installation guides.

What's inside

  • Technical Specifications
  • Humidity sensing component
  • Temperature sensing part
  • Connecting the module with Arduino Uno
  • Arduino sketch example
  • Connecting the module with Raspberry Pi
  • Script example

Specifications

Operating voltage3 to 5V
Maximum operating current2.5mA
Humidity range0% - 100%
Temperature range-40°C - 125°C
Sampling rate0.5Hz (reading every 2s)
Dimensions15x38x9mm

Frequently asked questions

What is the DHT22 also known as?

The DHT22 is also named AM2302.

What is the recommended supply voltage and maximum cable length?

A 5V supply is recommended, and with 5V the cable can connect the sensor and microcontroller for as long as 20 meters. With 3.3V, the cable length shall not be greater than one meter.

Which library is used for the Arduino example?

The SimpleDHT library is recommended; the example sketch is DHT22Default, and the serial monitor baud rate should be set to 115200.

Which library is used for the Raspberry Pi script?

The Adafruit_DHT library is installed with pip, and the script reads the sensor on GPIO12 with a 2.5 second sleep interval.

Download PDF (534 KB)