DHT22/AM2302 Digital Temperature and Humidity Sensor SEN46

Fr6,500

DHT22 output calibrated digital signal. It utilizes exclusive digital-signal-collecting-technique and humidity
sensing technology, assuring its reliability and stability.Its sensing elements is connected with 8-bit single-chip
computer.

Out of stock

SKU: 3061SEN Category: Tag:

Description

DHT22 output calibrated digital signal. It utilizes exclusive digital-signal-collecting-technique and humidity
sensing technology, assuring its reliability and stability.Its sensing elements is connected with 8-bit single-chip
computer.

Getting started DHT22/AM2302 Digital Temperature and Humidity Sensor

In this tutorial you will learn how to use this sensor with Arduino uno. The room temperature & humidity will be printed to serial monitor.

So, let’s get started!

The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Connections are simple, the first pin on the left to 3-5V power, the second pin to your data input pin and the right most pin to ground.

Technical details:

  • Power: 3-5V
  • Max Current: 2.5mA
  • Humidity: 0-100%, 2-5% accuracy
  • Temperature: -40 to 80°C, ±0.5°C accuracy

Step1: Hardware required

For this tutorial you will need:

Step2: Connecting the hardware

The connections are pretty easy, see the image above with breadboard circuit schematic.

Step4: Upload the sample sketch

To read from the DHT sensor, we’ll use the DHT library from Adafruit. To use this library you also need to install the Adafruit Unified Sensor library.

Step3: Making the code and Upload it!

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 the serial monitor from tools menu of Arduino IDE.

The result: