DHT22 AM2302 Digital Temperature Humidity Sensor Module

DHT22 AM2302 Digital Temperature Humidity Sensor Module
DHT22 AM2302 Digital Temperature Humidity Sensor Module
$6.20
100 or more $4.93
500 or more $3.91
1000 or more $3.38
  • Stock: In Stock
  • Product Code: SNC002.DHT22
  • Weight: 6.00

DHT22 AM2302 Digital Temperature Humidity Sensor Module

The DHT22, also known as the AM2302, is a high-accuracy digital temperature and humidity sensor. It is an upgraded version of the DHT11 and provides better accuracy and a wider measurement range. Here's a detailed overview of the DHT22 (AM2302) sensor:


General Information:

The DHT22 is designed to measure both temperature and humidity and output the data digitally. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and provides a digital signal on the data pin.


Features:

  1. Temperature Range: -40 to +80°C with an accuracy of ±0.5°C.
  2. Humidity Range: 0 to 100% RH with an accuracy of ±2-5% RH.
  3. Resolution: 0.1 for both temperature and humidity.
  4. Power Supply: 3.3V to 6V.
  5. Low Power Consumption: Ideal for battery-powered applications.
  6. Digital Output: Single-wire communication protocol.
  7. Response Time: Typically less than 2 seconds.
  8. Long-Term Stability: Good long-term stability.


Pin Configuration:


The DHT22 sensor typically has four pins, but often only three are used:

  • VCC: Power supply (3.3V to 6V).
  • GND: Ground.
  • DATA: Data pin for digital signal output.
  • NC: Not connected (optional).


Applications:


  • Weather Stations: For measuring ambient temperature and humidity.
  • HVAC Systems: For monitoring and controlling heating, ventilation, and air conditioning systems.
  • Home Automation: For environmental monitoring.
  • Agriculture: To monitor greenhouse conditions.
  • Industrial Applications: For monitoring environmental conditions in factories and warehouses.

Wiring:


To connect the DHT22 to an Arduino:

  1. Connect the VCC pin of the DHT22 to the 5V pin of the Arduino.
  2. Connect the GND pin of the DHT22 to the GND pin of the Arduino.
  3. Connect the DATA pin of the DHT22 to a digital pin (e.g., pin 2) on the Arduino.
  4. A pull-up resistor (4.7kΩ to 10kΩ) is required between the VCC and DATA pins.

Example Code:

To use the DHT22 with an Arduino, you can use the DHT library. First, install the DHT library by Adafruit through the Library Manager in the Arduino IDE.


#include "DHT.h"

// Define the type of sensor and the pin it's connected to
#define DHTTYPE DHT22   // DHT 22 (AM2302)
#define DHTPIN 2        // Digital pin 2

DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(9600);
  Serial.println("DHT22 (AM2302) test!");

  dht.begin();
}

void loop() {
  // Wait a few seconds between measurements
  delay(2000);

  // Reading temperature and humidity values
  float humidity = dht.readHumidity();
  float temperature = dht.readTemperature();

  // Check if any reads failed and exit early (to try again).
  if (isnan(humidity) || isnan(temperature)) {
    Serial.println("Failed to read from DHT sensor!");
    return;
  }

  // Print the results
  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.print(" %\t");
  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" *C");
}


Calibration and Usage Tips:

  1. Ensure the sensor is placed in an area with good airflow for accurate readings.
  2. Avoid placing the sensor in direct sunlight or near heat sources to prevent false readings.
  3. Periodically check and recalibrate the sensor if used in critical applications.

The DHT22 (AM2302) is a reliable and accurate sensor suitable for various applications requiring precise temperature and humidity measurements. It is favored for its accuracy, stability, and ease of integration into projects.

Write a review

Note: HTML is not translated!
Rating
Bad Good

Related Products

1kg Load Cell Weight Sensor for Electronic ScaleOur 1kg Load Cell Weight Sensor is a high-quality, precision measurement tool designed to provide accu..
$2.73
Add to Cart
5kg Load Cell Weight Sensor Our 5kg Load Cell Weight Sensor is a high-quality, precision measurement tool designed to provide accurate weight measurem..
$2.50
AM2301A Digital Temperature Humidity Sensor Module The AM2301A, also known as DHT21, is a digital temperature and humidity sensor. Here's some informa..
$7.50
Add to Cart
DHT11 Digital Temperature Humidity Sensor Temperature Sensor The DHT11 is a basic, low-cost digital temperature and humidity sensor. It is popular in ..
$1.10
Add to Cart
DHT21 AM2301 Digital Temperature Humidity Sensor ModuleThe DHT21 (also known as AM2301) is a digital temperature and humidity sensor. It is widely use..
$6.60
Add to Cart
DS18B20 Temperature Sensor The DS18B20 is a digital temperature sensor that provides 9 to 12-bit (configurable) temperature readings over a 1-Wire int..
$1.10