Interfacing Arduino with a DHT11 humidity sensor

The dht11 humidity sensor is an economic way to sense the humidity of the air in arduino projects, and what is better, you can skip the stores that sells them sticked in a small piece of pcb, and cost ~6€/$, and instead buy them bulk in ebay half of the price.