> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# DHT22 Module (Temperature and Humidity)

**Type:** Product page · **SKU:** CE09581 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/dht22-module-temperature-and-humidity.html ([markdown](https://core-electronics.com.au/dht22-module-temperature-and-humidity.html.md))

Accurately measure temperature and humidity with the DHT22 module. Ideal for DIY weather stations or automatic plant watering systems. Only one pin required for temperature and humidity readings.

## Pricing

- **Price:** $9.40 (inc GST) — $8.55 AUD, exc GST
- **Quantity discounts:** 5+ $8.37 (exc GST) · 15+ $8.12 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 200 today; more stock is typically available with a 8–12 day lead time.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=CE09581:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/CE09581:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

Perfect for your next weather station! This module includes all passives that you need to run the sensor directly on the module and only uses one pin to return the temperature and humidity!

This classic maker sensor is extremely well documented with many libraries for almost any microcontroller or single-board computer.

### Specifications

- Voltage Input: 3.3-5V
- Temperature Range: -40~80°C, with ±0.5°C error
- Humidity Range: 0-100% RH with ±2% RH error

### Examples

#### Raspberry Pi Pico - Micropython

```
import dht<br></br>import time<br></br>from machine import Pin

# Define pin for DHT22 sensor
DHT_PIN = 2

# Initialize DHT22 sensor object
dht22 = dht.DHT22(Pin(DHT_PIN))

# Loop to read temperature and humidity every second
while True:
    try:
        dht22.measure()
        temperature = dht22.temperature()
        humidity = dht22.humidity()
        print("Temperature: {:.1f} C".format(temperature))
        print("Humidity: {:.1f} %".format(humidity))
    except OSError as e:
        print("Failed to read DHT22 sensor:", e)

    time.sleep(1)
```

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/C/E/CE09581-1.jpg)
