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.
|Signal Collecting Period||–||–||2||–||S|
Note:3Pin–Null;MCU=Micro-computerUniteorsinglechipComputer .When the connecting cable is shorter than 20 metres, a 5K pull-up resistor is recommended; when the connecting cable is longer than 20 metres, choose a appropriate pull-up resistor as needed.
1. Download the DHT11 library here: http://osoyoo.com/wp-content/uploads/samplecode/DHT.zip Unzip and put it in the libraries file of Arduino IDE by the path: ..\arduino-x.x.x\libraries,then use the Arduino IDE to start your first DHT11 project. [library]
2. DHT11 datasheet: http://osoyoo.com/driver/DHT11-datasheet.pdf [datasheet]
3.” A DHT11 Class for Arduino” on arduino.cc [library & simple examples]
DownLoad Url osoyoo.com