Attach DHT22 sensor

How it's done

Because we need to use 4.7 k ohm resistor, take two parts of wire and solder resistor with them. Each side of resistor should go with one wire.

Screw one end in 5V hole and other in Pin 8. This is used instead of attaching resistor on DHT22 pins directly as shown in tutorial.

Connect wires to DHT22 as follows:

  • Pin 1 - Vcc (5V);
  • Pin 2 - Pin 8 (Arduino);
  • Pin 3 - Not connected;
  • Pin 4 - Ground (Arduino);

I suggest to solder DHT22 pins with wire through the window on female jumper side (see picture).

Activity Q&A

Need help with this activity?Add the first post