In order to program the Arduino board, the Arduino IDE should be installed. Then the DHT22 library should be installed inside the IDE. For this: Click Sketch -> Include library -> Manage libraries ...
This Arduino project reads data from DHT11 and DHT22 sensors to measure temperature and humidity. The DHT11 sensor is a basic and affordable option, while the DHT22 sensor provides higher accuracy.
You can use the DHT22 (or AM2302) humidity/temperature sensor and the Arduino UNO board to read data and print it out to the serial monitor or to display it on an LCD ...