I connected the DHT11 Digital Humidity and Temperature Sensor to the Arduino.   Sensor pin, VCC, and Ground from Left to Right.  I installed the DHT.h library to the IDE.  Download the latest copy.   Unzip and copy to your IDE Library directory.  

dht-sensor-library

DHT11 Specifications:
  • Operating Voltage: 3.5V to 5.5V.
  • Operating current: 0.3mA (measuring) 60uA (standby)
  • Output: Serial data.
  • Temperature Range: 0°C to 50°C.
  • Humidity Range: 20% to 90%
  • Resolution: Temperature and Humidity both are 16-bit.
  • Accuracy: ±1°C and ±1%