ARDUINO

Arduino DHT22 sensor wiring

A DHT22 shares temperature and humidity readings over one data line. This breadboard layout powers the sensor from the Arduino Uno rails and routes its data output to D2. The pull-up resistor gives the data line its required idle state. The drawing is useful for assembling a basic monitoring project, where the corresponding sketch should use the same Arduino pin specified in the wiring. Before using the layout in a build or document, compare every label with the source requirements and update the drawing when parts, conditions, or materials change. The example is deliberately small so the essential relationships remain readable, easy to review with collaborators, and ready to extend with the details required for the actual project.

UPDATED 2026-09-24
EXAMPLEArduino DHT22 sensor wiring
Make this diagram your own.

Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.

CASE ANALYSIS

Scenario

An Arduino reads a digital temperature and humidity sensor.

Key decisions

  • Power: The DHT22 is connected to the 5V and ground rails.
  • Data: The sensor signal is routed to D2.
  • Pull-up: A 10k resistor ties data to the positive rail.

When to reuse this

Use for a simple environment-monitoring prototype with a DHT22.

FAQ

Frequently asked questions

What does a DHT22 measure?01
It measures temperature and relative humidity.
Why is there a pull-up resistor?02
It holds the sensor data line high when no device is actively pulling it low.
Which Arduino pin receives data?03
The sensor data line is connected to D2.
Open this example in the editor →

Tweak it with chat, export PNG/SVG, or fork it for your own use case.