DHT22 / AM2302 temperature and humidity sensor module on a red breakout PCB with 3-pin header

DHT22 / AM2302 Temperature & Humidity Sensor Module - 0-100% RH, Pull-Up Fitted

$5.49 NZD
Save 10% at 3+
Skip to product information
SKU: DHT22-AM2302-MODULE

DHT22 / AM2302 Temperature & Humidity Sensor Module - 0-100% RH, Pull-Up Fitted

$5.49 NZD
5.0 1 review
6 bought this month
Availability:
Order before 7:30am for same-day dispatch Dispatch 7 days a week, excluding public holidays

NZ Post: 1-2 days urban · 2-4 days rural

Shipping from $5.99 urban / $9.99 rural, or free pick-up in Te Awamutu.

Buy more, pay less Prices shown are per unit. Add enough of this item and the lower rate applies on its own at checkout. There is no code to enter and you do not need to buy a pack. Choosing a tier here just sets the quantity for you. Larger quantities go out in the same bag, so packing, handling and postage cost us less per unit. We pass that saving straight on to you, so you can buy more for less.

Email me when it’s back

We’ll send you one email when DHT22 / AM2302 Temperature & Humidity Sensor Module - 0-100% RH, Pull-Up Fitted is back in stock. We won’t use your address for anything else.

Cancel anytime from the email. Privacy policy

Easy 30-day returns · 12-month warranty

Add these too
Add $66.00 for Free Urban delivery ($88.00 for Rural)
Urban $66 Rural $88

A DHT22 (also sold as the AM2302) temperature and humidity sensor on a small red breakout board, with the 5.1kΩ pull-up resistor and a 3-pin header already fitted. It sends calibrated digital readings on one data wire and runs from 3.3V or 5V, so it connects straight to an Arduino, ESP32 or Raspberry Pi with three jumper wires.

Specifications

SensorDHT22 / AM2302 on a breakout PCB
Supply voltage3.3V to 5.5V DC
Logic levelFollows VCC: 3.3V on an ESP32, 5V on an Arduino Uno
OutputDigital single-wire, 40-bit frame with checksum
Humidity range0 to 100% RH
Humidity accuracy±2% RH from 20 to 90% RH, up to ±5% RH outside that band
Temperature range-40 to 80°C
Temperature accuracy±0.5°C
Resolution0.1% RH and 0.1°C
Read intervalAt least 2 seconds between readings
Current drawAbout 1.5mA while measuring, 50µA idle
Pull-up resistor5.1kΩ fitted on the board (marked 512)
PinsDAT, VCC, GND, in the order printed beside the header
Board size39.7 x 23.4 x 8.5mm, two 3mm mounting holes
Header3-pin 2.54mm, already soldered

Datasheets

What's in the box

1×
DHT22 / AM2302 sensor module

Header soldered and pull-up fitted. Jumper wires are not included.

Great for

Adding a room temperature and humidity sensor to Home Assistant with ESPHome
Logging greenhouse or grow tent humidity with an ESP32
An Arduino weather station in a sheltered spot outside
Watching a 3D printer filament dry box or curing cupboard
Switching a bathroom or shed extractor fan on high humidity
A temperature alarm for a server cupboard or workshop

Wiring & getting started

  1. Check the pin labels

    The board is marked DAT, VCC and GND beside the header. DAT is on the end, not in the middle, so wire by the labels rather than by habit.

  2. Wire it up

    DAT to any digital pin, VCC to your board's 3.3V or 5V pin, and GND to GND. The pull-up is already on the board, so no extra resistor is needed.

  3. Install the library

    On Arduino, install the Adafruit DHT sensor library and set the type to DHT22, not DHT11. On ESPHome, use the dht platform with model DHT22.

  4. Read it every 2 seconds or slower

    A reading of nan usually means the sketch asked too soon or the wrong sensor type is set. The first reading after power-up can also fail, so skip it.

Related guide DHT22 vs DS18B20 vs BMP280: Which Sensor Should You Choose?Choose a sensor for air temperature, humidity, remote temperature or pressure. Compare DHT22, DS18B20 and BMP280, with practical wiring and placement checks.
  • 5 stars: 1 (100%)
  • 4 stars: 0 (0%)
  • 3 stars: 0 (0%)
  • 2 stars: 0 (0%)
  • 1 star: 0 (0%)
g
glasimonix
Trade Me feedback

Great service, well packed and very fast shipping. Thank you! Sensor works with no issues

Frequently Asked Questions

Answers to the questions buyers ask most.

Does it work with a 3.3V ESP32 or a 5V Arduino?
Yes, both. Power it from 3.3V to 5.5V and the data line runs at the same voltage as VCC, so on an ESP32 power it from 3.3V and on an Arduino Uno or Nano use 5V. Do not power it from 5V while reading it on a 3.3V-only pin.
Do I need to add a pull-up resistor?
No. A 5.1k pull-up is already fitted on the board, marked 512 next to the header. Only one pull-up should be on the data line, so if you run several sensors on long cables, check the combined pull-up value.
Which way round do the pins go?
Follow the labels printed beside the header: DAT, VCC, GND. The data pin is on the end, not in the middle, which is different from many other 3-pin sensor boards.
Is it really 0 to 100% RH? Some listings say 20 to 90%.
Yes. The DHT22 / AM2302 sensor datasheet gives an operating range of 0 to 100% RH. The 20 to 90% figure is the band where it holds its rated plus or minus 2% RH. Outside that band it still reads, with error up to about plus or minus 5% RH.
Why do my readings come back as nan?
Usually the sketch is reading too often. Leave at least 2 seconds between reads. If it still fails, check that the library type is set to DHT22 rather than DHT11 and that DAT is wired to the pin named in your code. The first reading straight after power-up can also fail.
Does it work with ESPHome and Home Assistant?
Yes. ESPHome has a built-in dht platform. Set the model to DHT22 and the pin you wired DAT to, and the temperature and humidity appear in Home Assistant as two sensors.
How long can the cable to the sensor be?
Up to about 20 metres with the fitted pull-up and good quality cable. For runs longer than a couple of metres, use twisted or shielded cable and keep it away from mains and motor wiring.
Can I use it outside?
In a sheltered spot, yes. The housing is vented, not sealed, so keep it out of rain and direct sun and do not let condensation form on it. Direct sun heats the plastic and throws out both readings, so a vented radiation shield or the underside of an eave works well.
What is the difference between the DHT22 and the DHT11?
The DHT22 covers 0 to 100% RH and -40 to 80 degrees C with 0.1 resolution. The DHT11 covers a narrower range with lower accuracy and 1 degree resolution. They use the same three wires and protocol, so switching is usually a one-line change to the sensor type in code.
How accurate is it?
The sensor is rated at plus or minus 2% RH from 20 to 90% RH and plus or minus 0.5 degrees C. Its datasheet rates long-term humidity drift at about 0.5% RH per year. NZN has not independently calibrated these modules.

Have a Question About This Product?

Send it through and we will get back to you by email.

Why Buy from NZN

Useful parts, fair prices and someone local to help.

I'm Lukas, an engineering student and maker based in Te Awamutu. NZN grew out of a CNC build that dragged on for months because every missing cable, bolt or electronic part meant another overseas order. I started the shop so Kiwi makers can spend more time building and less time waiting for the next parcel.

  • Stocked here in New Zealand

    Orders are picked and packed in Te Awamutu and dispatched within 24 hours every day, excluding public holidays. NZ Post target delivery is 1-2 days urban and 2-4 days rural. In Te Awamutu and Kihikihi you can choose local delivery at checkout: same day if you order before 8am, otherwise next day.

  • Fair prices, clearly shown

    Prices are kept competitive and quantity discounts are shown upfront. Free delivery starts at $66 for urban addresses and $88 for rural addresses.

  • 30-day returns and 12-month warranty

    Get in touch if something is not right and we will help sort it.

  • Practical product support

    Ask a product question and get help from a real person in New Zealand who knows the range.

You may also like