Connect wires with Arduino
How it's done
Connect wires from DHT22 to Arduino pins.
- 1 - gray to 5V on Arduino;
- 2 - white to any digital pin (2 to 13 or A0 to A5) on Arduino;
- 4 - black to ground on Arduino.
It is important to remember that the data wire (white in our sample) is connected to Arduino to setup code properly.
Need help with this activity?Add the first post