Sensor specifications:
Temperature and humidity sensor DHT22 is a basic and inexpensive digital sensor for measuring temperature and humidity. A capacitive sensor is used to measure humidity, and a thermistor is used to measure temperature. The measurement results are sent to the DATA pin (there is no analog pin indicating voltage levels). The rate at which new data is read from the DATA pin is once every 2 seconds. It is advisable to connect a high-value pull-up resistor to the DATA pin. The sensor has 4 pins, of which 3 are used – VCC, DATA and GND. The DHT22 sensor also features a mounting hole for secure attachment.
Compared to a similar sensor (DHT11) DHT22 is more precise, more accurate, and has a wider operating range for the measured values. A drawback is that it has larger physical dimensions.
Wiring diagram (when using an Arduino-type microcontroller):

Additional information: