dht11 Humidity and Temperature Sensor Tutorial.
The DHT11 is a basic, ultra low-cost digital temperature and humidity
sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old
Library: https://github.com/adafruit/DHT-senso...
dht11 datasheet: http://www.micropik.com/PDF/dht11.pdf
dht11 code: https://goo.gl/BsCXLZ