DHT22 / AM2302 Digital Temperature Humidity Sensor
Specifications:
Type: temperature and humidity sensor (DHT22).
Operating voltage: DC 5.5 V.
Temperature range from -40 ° C to 80 ° C.
Temperature measurement accuracy: ± 0.5 degrees Celsius.
Measuring range for air humidity: 0-100% RH.
Humidity measurement accuracy: ± 2% RH.
Operating voltage: DC 5 V.
Size: 28 x 12 x 10 mm (L x W x H).
Screw hole diameter: 2.6 mm.
Weight: 4 g.
With hole for fastening screw, easy to install and fix.
Single bus digital signal output, serial ports data Bidirectional interface.
How to connect D1 Mini and DHT22 sensor?
D1 Mini comes with these pins and these pins are not soldered so I recommend to solder them as later on, plugging the Jumper wires will be pretty easy.
Here are the steps to connect D1 Mini and DHT22 Sensor:
Connect the + (plus) output on the DHT22 to the 3V3 pin on the D1 mini.
Then connect the middle output of the DHT22 labeled Out to the D2 pin on the D1 Mini
Finally, connect the - (minus) on the DHT22 to the G (Ground) pin on the D1 mini.
This is how everything looks like at the end:
Blue: (Neg) - Ground
Yellow: Out - D2
Green: (Positive) - 3V3