Temperature and humidity DHT11 sensor module (KY-015) [S008]
2) Sensor/Temperature 2016. 9. 3. 19:34Temperature and humidity DHT11 sensor module (KY-015) [S008]
* Specs
It Can detect ambient humidity and temperature
Humidity measuring range:20% -90 %RH, Humidity
measurement tolerance:+ /-5%
Temperature measurement range:0 Degree-50
Degree temperature measurement tolerance:+/ -2 Degree
Resolution: humidity(1%RH),temperature(1 degree)
Stability: <±1%RH/year
Storage temperature:10-40 degree,humidity:below 60%RH
Operating Voltage:3.3V-5V
Output Type: Digital Output
With fixed bolt hole for easy installation
Small size, PCB Size:3.2cm*1.4cm
Power indicator ( red )
Weight is about 8g
* Content
- DataSheet : http://www.ram-e-shop.com/ds/general/KY-015.pdf
- Library : http://deneb21.tistory.com/attachment/cfile24.uf@220A6C3755DA9E322E7FED.zip
- Connect
S - D4
5V - 5V
- - GND
- Key Code
#include <DHT11.h>
DHT11 dht11(pin);
int err;
float temp, humi;
if((err=dht11.read(humi, temp))==0)
{
lcd.setCursor(0,1);
lcd.print("temperature=" + (String)temp + "'C");
lcd.setCursor(0,2);
lcd.print("humidity=" + (String)humi + "'F");
}
else
{
lcd.setCursor(0,3);
lcd.print("err=" + (String)err);
}
delay(DHT11_RETRY_DELAY);
'2) Sensor > Temperature' 카테고리의 다른 글
MAX6675 Module + K Type Thermocouple Thermocouple Sensor (MAX6675) [S080] (0) | 2016.09.07 |
---|---|
Infrared Thermometer MLX90614 (GY-906) [S034] (0) | 2016.09.07 |
Multifunctional Digital Temperature Sensor Module LM393 (KY-028) [S021] (0) | 2016.09.02 |
Analog Temperature Sensor (KY-013) [S020] (0) | 2016.09.02 |
Terminal sensor adapter (DFR0055) [S093] (0) | 2016.09.02 |