NodeMCU ESP8266 Monitoring DHT11/ DHT22 Temperature and Humidity with Local Web Server

preview_player
Показать описание
In this project, we will create a standalone web server using a NodeMCU ESP8266 that displays the temperature and humidity with a DHT11 or DHT22 sensor using the Arduino IDE. Actually, the webserver we will build can be easily accessed with any device that features a browser on your local network. NodeMCU ESP8266 Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server. Throughout this tutorial we’ll show how we build web servers:

Web Server: Asynchronous web server which will updates the temperature and humidity automatically. We don’t need to refresh the webpage to update the data. Actually, we have used custom CSS to style the webpage.
*****************************************
Code Explanation, Written Tutorial, and Program Sketch Link:
*****************************************
Monitoring DHT11/DHT22 Temperature and Humidity with Local Web Server Using NodeMCU ESP8266
Components required
NodeMCU ESP8266 and DHT11/DHT22 Schematic Diagram
Installing the DHT Library for NodeMCU ESP8266
ESP8266 Asynchronous Webserver
Program Sketch/Code
How the Code Works
Importing libraries
Setting your network credentials
Variables definition
Design Web Page for ESP8266 DHT11/DHT22 Temperature & Humidity with Local Web Server
Styles
HTML Body
How to display icons
Automatic Updates
Processor
Setup( )
Uploading the code
ESP8266 IP Address
Monitoring DHT11/DHT22 Temperature and Humidity Demonstration
Conclusion

NodeMCU Monitoring DHT11/ DHT22 Temperature and Humidity with Local Web Server.
***********************
Follow us on Social Media:
************************
Please Subscribe to this Channel and Never Miss any Future Projects

Thank You for Watching

-~-~~-~~~-~~-~-
Please watch: "Relay Control with Arduino & DWIN HMI Display"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

How would I get it to display the Temperature in Fahrenheit?

DennisDay
Автор

How can I erase the part of the statistics of coronavirus and only keep the temperature and humidity

cv
Автор

I got weird symbol °C
also have to manually refresh the page to see new value

jumbo
Автор

Failed to read from DHT sensor! how to fix this thank you

baldojr_marvin_d.