DHT22 data line wiring

GPIO per sensor, 10 kΩ pull-ups, shared ground, and cable routing away from motor noise.

Each DHT22 uses one digital GPIO for its single-wire protocol. Power and ground come from the breadboard rails; a 4.7k–10k pull-up from data to 5 V keeps the line idle high between reads.

Per-sensor connections

  1. VCC to 5 V rail (some modules include onboard regulator for 3.3 V parts—check yours).
  2. DATA to a unique GPIO with pull-up resistor.
  3. GND to common ground at the Arduino.

Cable runs to remote probes

Short twisted or paired wire reduces noise. Avoid running data parallel to AC power. If reads degrade at distance, retry logic in DHT22 read errors helps but physics still wins—relocate or shorten runs.

Firmware mapping

GPIO order defines JSON keys 0 and 1. Document the mapping for dashboard labels. Sensor basics: DHT22 overview.