ESP8266 DHT22 AM2302 Temperature Humidity Sensor Wireless Module Wifi

$8.85 Inc. GST
You save

Availability: 8 in stock SKU: 8-3-2-2 Category:
Quantity Discount (%) Price
1 — $8.85
2 - 4 5% $8.41
5 - 9 7.5% $8.19
10 - 19 10% $7.97
20 - 49 12.5% $7.74
50 - 99 15% $7.52
100+ 17.5% $7.30

Description

Wireless Temperature and Humidity Monitoring with ESP8266 DHT22 AM2302 Sensor Module

Discover precise environmental insights with our ESP8266 DHT22 AM2302 Temperature Humidity Sensor Wireless Module. This calibrated digital sensor offers accurate detection of ambient temperature and humidity levels, utilizing the DHT22 (AM2302) technology and a standard single bus interface. When compared to the DHT11, this sensor boasts superior precision and an extended measurement range.

Key Features:

  • Temperature Resolution: 0.1 °C
  • Temperature Accuracy: ±0.5 °C
  • Temperature Detection Range: -40 °C to 80 °C
  • Humidity Resolution: 0.1% RH
  • Humidity Accuracy: ±2% RH (at 25°C)
  • Humidity Detection Range: 0% RH to 99.9% RH
  • Working Voltage: 3.3V to 5.5V
  • Recommended Storage Environment: Temperature: 10°C to 40°C, Humidity: 60% RH or lower

Applications: Perfect for a range of applications including weather stations, humidity regulators, test and inspection equipment, and more. Our sensor is designed to provide you with reliable data for informed decision-making.

Compatibility: This sensor seamlessly integrates with ESP-01 and ESP-01S WIFI modules, enhancing your wireless connectivity options. Note that this product includes the Wifi DHT22 Temperature Humidity Sensor only. For your convenience, we offer ESP modules separately in our store.

Package Includes:

  • 1x Wifi DHT22 Temperature Humidity Sensor

Elevate your environmental monitoring capabilities with the ESP8266 DHT22 AM2302 Temperature Humidity Sensor Wireless Module. Make informed choices and create a more comfortable and efficient environment today.

Shop Now for the full range of our ESP modules and accessories.

Port wiring diagram:
Port wiring diagram:

📌 Code Examples & Usage – DHT22 (AM2302) Sensor Board for ESP-01 / ESP-01S

📋 Overview

This module is a DHT22 (AM2302) temperature and humidity sensor carrier board designed specifically to work with an ESP-01 or ESP-01S Wi-Fi module.

⚠ Important:
This product does NOT include an ESP8266 on the board itself.
You must plug in an ESP-01 or ESP-01S module for it to function.

Once an ESP-01 is installed, the board becomes a compact Wi-Fi temperature & humidity sensor node.


⚙ Key Features

  • Sensor: DHT22 / AM2302

  • Compatible with: ESP-01 / ESP-01S

  • Wi-Fi provided by ESP-01 module

  • Compact plug-in design

  • Arduino IDE compatible (via ESP8266 core)

Ideal for:

  • Wi-Fi room temperature monitoring

  • Home Assistant / MQTT sensors

  • Small IoT nodes

  • Low-cost wireless sensing projects


⚠ IMPORTANT – Read Before Use

🚨 ESP-01 / ESP-01S NOT INCLUDED

🚨 ESP-01 GPIO is limited

  • Only GPIO0 and GPIO2 available

  • Sensor is pre-wired to a fixed GPIO (usually GPIO2)

🚨 Power stability matters

  • ESP-01 draws high current during Wi-Fi transmission

  • Use a stable 3.3V power supply (≥300mA recommended)


🔌 ESP-01 Installation

  1. Align the ESP-01 / ESP-01S correctly with the socket

  2. Insert gently — do not force

  3. Ensure antenna orientation is correct and unobstructed

📌 Never hot-plug the ESP-01 while powered.


🔌 Power Requirements

Parameter Requirement
Voltage 3.3V ONLY
Current Up to 300mA during Wi-Fi
5V tolerant ❌ NO

❌ Do NOT power directly from Arduino 3.3V pin
✅ Use a dedicated ESP-01 power module, LDO, or buck converter


🛠 Arduino IDE Setup (ESP-01)

1️⃣ Install ESP8266 Board Support

Arduino IDE → File → Preferences
Add to Additional Boards Manager URLs:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

Then:

  • Tools → Board → Boards Manager

  • Install esp8266 by ESP8266 Community


2️⃣ Board Settings

  • Board: Generic ESP8266 Module

  • Flash Mode: DIO

  • Flash Size: 1M (no SPIFFS)

  • Upload Speed: 115200

  • CPU Frequency: 80 MHz


📦 Library Installation

Install:

  • DHT sensor library (Adafruit)

  • Adafruit Unified Sensor (dependency)

Arduino IDE → Library Manager


🧪 Example – Read DHT22 via ESP-01

On most ESP-01 DHT carrier boards:

  • DHT22 data is connected to GPIO2

#include <ESP8266WiFi.h>
#include <DHT.h>

#define DHTPIN 2 // GPIO2 on ESP-01
#define DHTTYPE DHT22

DHT dht(DHTPIN, DHTTYPE);

void setup() {
Serial.begin(115200);
dht.begin();
Serial.println("ESP-01 + DHT22 ready");
}

void loop() {
float h = dht.readHumidity();
float t = dht.readTemperature();

if (isnan(h) || isnan(t)) {
Serial.println("Failed to read from DHT22");
delay(2000);
return;
}

Serial.print("Temperature: ");
Serial.print(t, 1);
Serial.print(" °C Humidity: ");
Serial.print(h, 1);
Serial.println(" %");

delay(2000); // DHT22 minimum interval
}


🌐 Example – Wi-Fi Web Page (ESP-01)

#include <ESP8266WiFi.h>
#include <DHT.h>

#define DHTPIN 2
#define DHTTYPE DHT22

const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASSWORD";

WiFiServer server(80);
DHT dht(DHTPIN, DHTTYPE);

void setup() {
Serial.begin(115200);
dht.begin();

WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) delay(300);

server.begin();
}

void loop() {
WiFiClient client = server.available();
if (!client) return;

float h = dht.readHumidity();
float t = dht.readTemperature();

client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println();
client.println("<h2>ESP-01 DHT22 Sensor</h2>");

if (!isnan(t) && !isnan(h)) {
client.print("Temperature: ");
client.print(t);
client.println(" &deg;C<br>");
client.print("Humidity: ");
client.print(h);
client.println(" %");
} else {
client.println("Sensor read failed");
}

client.stop();
delay(2000);
}


📡 MQTT / Home Assistant Use

This module is commonly used as:

  • MQTT temperature & humidity sensor

  • Home Assistant Wi-Fi node

📌 Due to ESP-01 GPIO limits, keep firmware simple and lightweight.


🧠 Common Issues & Fixes

Issue Cause Fix
ESP won’t boot GPIO0 pulled low Ensure GPIO0 HIGH during run
Wi-Fi resets Weak power Use proper 3.3V supply
DHT read fails Wrong pin Use GPIO2
Upload fails Wrong board settings Use Generic ESP8266

Additional information

Weight 30 g
Dimensions 260 × 160 × 20 mm

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.