LabWired The easy way to build hardware
board I/O module

DHT22 / AM2302

The DHT22 / AM2302 is a board I/O module in the LabWired part catalog. Its catalog type is dht22. It connects to the MCU over GPIO. The catalog gives a supply range of 3.3–6 V. It has 3 pins. A device model in the simulation engine, reached through a dedicated dispatch path rather than the peripheral registry.

DHT22 / AM2302 in LabWired
Rendered by the matching LabWired editor component.

Key facts

CategoryBoard I/O modules
Catalog typedht22
InterfaceGPIO
Supply range3.3–6 V
Pins3
DatasheetAosong DHT22 temperature/humidity sensor datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet

DHT22 / AM2302 pinout

PinElectrical typeFunction
VCC Power input Supply
DATA Bidirectional GPIO
GND Power input Supply

How to simulate the DHT22 / AM2302 in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the DHT22 / AM2302 (catalog type dht22).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 3.3–6 V.
  4. Connect DATA to a free GPIO pin.
  5. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts

Modelled from Aosong DHT22 temperature/humidity sensor datasheet.