ESP8266 DHT11 Test
Pic1. Output |
Sketch - Include Library - Library Manager - DHT Sensor Library by Adafruit - Install
https://github.com/adafruit/DHT-sensor-library1. 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