DHT22 Temperature & Humidity Sensor

Digital capacitive humidity and temperature sensor. Single-wire serial output. Suitable for indoor climate monitoring.

Sensor Aosong DHT22 environmental 1wire Draft

This entry is draft and has not been confirmed against physical hardware. A conforming tool will refuse to provision it. The datasheet is the authority, not this page.

Specifications

Protocol 1wire
Sensor type environmental
Manufacturer Aosong
Model number DHT22
Datasheet url https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf
Read interval seconds 30

Readings

SlugDevice classUnitRange
humidity humidity % 0 to 100
temperature temperature °C -40 to 80

Wiring

PinRequiredNotes
data Yes Any free GPIO.

Supply: 3.3V or 5V

Failure modes

  • Intermittent read failure is expected behaviour. The driver raises RuntimeError on a checksum or timing failure and the caller must retry on the next cycle.
  • A successful call can still return None for either value. Both temperature and humidity must be checked for None before publishing.
  • Polling faster than every 2 seconds returns stale or failed reads.
  • use_pulseio must be false on Raspberry Pi. With pulseio enabled the read path fails continuously under load.
  • Sustained failure across many consecutive cycles indicates wiring rather than the expected intermittency.

Entry

Keydht22
StatusDraft
Revision1
Registry0.3.0

Join the Private Beta

Pre-registering for the IntelliConnect Beta provides early access to infrastructure features, the development roadmap, and early-adopter pricing tiers.

Early Access

Access to the broker, MCPs, rule engine, and developer console during launch phase.

Direct Support

Direct communication channel with the engineering team for integration assistance.

Discounts

Beta testers secure specialized pricing tiers for both Enterprise and Maker accounts.

Pre-register Now