DHT11: Temperature and Humidity Sensor
by juanqr93 in Circuits > Microcontrollers
215 Views, 1 Favorites, 0 Comments
DHT11: Temperature and Humidity Sensor
BOM:
NodeMCU
Breadboard
Jumper wires
DH11
4.7 Kohm resistor
Connection
Code Upload
Upload the code and make sure of downloading the library from sketch>manage library> DHTesp
I needed this modified library because all the others gave me a "nan" output
ThingSpeak
Go to ThingSpeak.com and start a channel,
Obtain the API key and place this key in the arduino code.
Optional: Cellphone Access
Download ThingSpeak on your cellphone and on the bottom right click the "+" to add a new channel.