Saturday, September 17, 2016

[ESP8266] DHT11 Simple Test

17 September 2016

ESP8266 DHT11 Test

Pic1. Output
0. Install DHT library
Sketch - Include Library - Library Manager - DHT Sensor Library by Adafruit - Install
https://github.com/adafruit/DHT-sensor-library
1. Code
2. Pinout
Pic2 ESP8266 NODEMCU Pinout
Pic3. DTH11 Pinout

3. Wire MAP
D1 -> INPUT KE DHT11 -> DHT11 PIN2
D1 -> PULL UP RESISTOR -> VCC


Referensi
-pinout nodemcu = https://github.com/nodemcu/nodemcu-devkit
-datasheet DTH11 = http://www.micropik.com/PDF/dht11.pdf

No comments:

Post a Comment