CATEGORIES

My Account

CATEGORIES
Your Cart

DHT21 AM2301 Digital Temperature Humidity Sensor Module

DHT21 AM2301 Digital Temperature Humidity Sensor Module
DHT21 AM2301 Digital Temperature Humidity Sensor Module
Orders placed before 16:30 on weekdays are sent on the same day. Free shipping over 150 RON.
30,36RON
Ex Tax: 30,36RON
  • Stock: In Stock
  • Model: T182.DHT21

DHT21 AM2301 Digital Temperature Humidity Sensor Module

The DHT21 (also known as AM2301) is a digital temperature and humidity sensor. It is widely used in various applications due to its reliability and ease of use. Here is a detailed overview of the DHT21 (AM2301) sensor:

General Information:

The DHT21 is a sensor that measures both temperature and humidity and provides digital output. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and spits out 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 ±3% RH.
  3. Resolution: 0.1 for both temperature and humidity.
  4. Power Supply: 3.3V to 5.5V.
  5. Low Power Consumption: Ideal for battery-powered applications.
  6. Digital Output: Single-bus communication protocol.
  7. Response Time: Relatively fast response time, typically less than 2 seconds.


Pin Configuration: 

The DHT21 sensor typically has three pins:

  • VCC: Power supply (3.3V to 5.5V).
  • GND: Ground.
  • DATA: Data pin for digital signal output.


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 DHT21 to an Arduino:

  1. Connect the VCC pin of the DHT21 to the 5V pin of the Arduino.
  2. Connect the GND pin of the DHT21 to the GND pin of the Arduino.
  3. Connect the DATA pin of the DHT21 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 DHT21 with an Arduino, you can use the DHT library. First, install the DHT library by Adafruit through the Library Manager in the Arduino IDE.

cpp

#include "DHT.h"

// Define the type of sensor and the pin it's connected to
#define DHTTYPE DHT21   // DHT 21 (AM2301)
#define DHTPIN 2        // Digital pin 2

DHT dht(DHTPIN, DHTTYPE);

void setup() {
  Serial.begin(9600);
  Serial.println("DHT21 (AM2301) 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 DHT21 (AM2301) is a versatile and reliable sensor suitable for a wide range of applications requiring accurate temperature and humidity measurements.

Your orders placed before 16:30 on weekdays are dispatched the same day.

Write a review

Note: HTML is not translated!
Rating
Bad Good

Category Products

IRF740 N-Channel Power MOSFET in TO-220 PackageThe IRF740 is a high-voltage, N-channel power MOSFET engineered for swift switching applications. With ..
4,00RON
Ex Tax:4,00RON
Add to Cart
 Original Integrated Circuit TDA1022PTDA series integrated circuits (ICs) are a family of components designed for various functions such as audio ampl..
32,20RON
Ex Tax:32,20RON
Add to Cart
Brand: Philips
TDA2582 Integrated Circuit Original PhilipsTDA series integrated circuits (ICs) are a family of components designed for various functions such as audi..
14,72RON
Ex Tax:14,72RON
Add to Cart
0.0047uF 250VAC GPF - MKP X2 Polypropylene Film Capacitor  The 0.0047 µF 250V GPF - MKP X2 capacitor has specific characteristics and is sui..
20,70RON
Ex Tax:20,70RON
Add to Cart
0.1F 5.5V Super Capacitor: High-Performance Battery-Type Superfarad CapacitorIntroducing our high-performance 0.1F 5.5V Super Capacitor, a battery-typ..
11,09RON
Ex Tax:11,09RON
Add to Cart
0.1F 5.5V H-Type Super Capacitor: High-Performance Electronics ComponentIntroducing the 0.1F 5.5V H-Type Super Capacitor, a high-capacity, battery-lik..
10,81RON
Ex Tax:10,81RON
Add to Cart

WhatsApp Chat

Hi Guest! Please click one of our representatives Below To Chat On WhatsApp.