DHT22 - Digital Temperature Humidity Sensor Program for Raspberry PI and DHT22. Code is derived from Book Source Code for Mastering the Raspberry Pi and modified for DHT22. How to build and run Go to src directory and run make. $ cd src $ make $ ./dht22