DHT22 Temperature & Humidity Sensor
Pre-calibrated digital temperature and humidity sensor with single-wire data line.
Price last verified: 6 Nov 2026 · Check seller specifications before ordering
Buy
Maker Marketplace MY is an independent electronics and maker resource. We link out to third-party marketplaces such as Shopee Malaysia and Lazada Malaysia. Purchases happen on those external sites, not here. We may earn an affiliate commission when you buy through our links, at no extra cost to you. Prices are shown only when recorded; check the seller’s current price, specifications and delivery terms before ordering.
Opens externally in a new tab. We do not handle checkout or fulfilment.
Full description
The DHT22 (also sold as AM2302) is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity element and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin. It is more accurate and stable than the cheaper DHT11, and the pre-mounted resistor on the breakout board means no external pull-up is needed.
Main use case
Indoor weather monitoring, greenhouse automation, smart home.
Intended audience
Beginners learning data acquisition with a microcontroller.
Why we recommend it
Cheapest calibrated temperature+humidity combo in the Malaysian market.
Specifications
| Temperature range | -40 to 80 °C |
| Temperature accuracy | ±0.5 °C |
| Humidity range | 0–100 % RH |
| Humidity accuracy | ±2 % RH |
| Sampling period | ≥ 2 s |
| Protocol | Single-wire digital |
Pros & Cons
Pros
- Pre-calibrated — no maths required
- Single-wire protocol, 1 GPIO pin
- Better accuracy than DHT11 (±0.5°C, ±2% RH)
- Breakout includes pull-up resistor
Cons
Common beginner mistakes to avoid
- Polling more often than every 2 seconds returns NaN
- Mixing up DHT11 and DHT22 libraries in code
- Forgetting the 10 kΩ pull-up on the bare sensor
- Reading humidity in sealed enclosures drifts
Who should avoid it
Projects needing sub-second updates — use a BME280 or SHT31 instead.