![]() ![]() ![]() Following output should be shown on the serial monitor. Upload the above code to the NodeMCU and open serial monitor. #include "DHT.h" // including the library of DHT11 temperature and humidity sensor #define DHTTYPE DHT11 // DHT 11 #define dht_dpin 0 DHT dht ( dht_dpin, DHTTYPE ) void setup ( void ) 6. You may download this Arduino Sketch from here. Library 2: You may download library file from here. Library 1 : You may download library file from here. I have a 64 bit Win7 OS and my arduino library folder address is located at Download Arduino Libraries, Description: Arduino Libraries Download and Projects they are used in In this article, I am going to share with you Top Arduino, Nodemcu ESP8266, and ESP32 libraries and their download links along with the projects links they are used in. This library file should be placed at the install folder of Arduino. Download the zip file extract the same and copy this to your Arduino library folder. Library Fileįollowing two libraries will be required to run this code. Understanding DHT11 sensorÄHT11 sensor gives humidity and temperature data. Copy both of the files and paste them in one of the following paths: C:Program FilesLabcenter ElectronicsProteus 8 ProfessionalLIBRARY. Extract the zip file and navigate to Proteus-masterArduinoLibrary. Most important of all, it is relatively inexpensive for the given performance. Download all library-related files from GitHub. The DHT11 is chosen because it is lab calibrated, accurate and stable and its signal output is digital. Robo India presents tutorial on how to read temperature and humidity data through DHT11 sensor using ESP8266 wifi module on NODEMCU LUA platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |