Description
Main Chip: AM2302
Temperature range: -40 to 80 degree celsius
Temperature measurement accuracy: +/- 0.5℃ degree Celsius
Humidity measuring range: 0~100%RH
Humidity measurement accuracy: ±2%RH
Ultra-low power consumption
No additional components
Excellent long-term stability
Single-bus digital signal output, bidirectional serial data
Completely interchangeable
Long distance signal transmission
Size: 28 x 12 x 10 mm (L / W / H)
Screw hole diameter: 2.6mm
Getting started with the DHT22/AM2302 Digital Temperature And Humidity Sensor Module
In this tutorial you will learn how to use this sensor with Arduino uno. The room temperature & humidity will be printed to serial monitor
Step1: Hardware required
Step2: Connecting the Hardware
Follow the next schematic diagram to wire the DHT22 temperature and humidity sensor to the Arduino.
Step3: Setting up the library
we’ll use the DHT library from Adafruit. To use this library you also need to install the Adafruit Unified Sensor library.
Step4: Upload the sample sketch
open the sample sketch that is located in file>examples>DHT sensor library>DHTtester. and upload it. as shown below
Step5: Testing the circuit
open your serial monitor by clicking on the icon in the right top corner(like search icon)