In this project you’ll create a standalone web server with an ESP8266 that displays the temperature and humidity with a DHT11 or DHT22 sensor using the Arduino IDE. The web server you’ll build can be accessed by any device that has a browser on your local network.
This is the code for this project if you use DTH Sensor You can downlode Library for that . https://github.com/adafruit/DHT-sensor-library
This is the code for this project if you use DTH Sensor You can downlode Library for that . https://github.com/adafruit/DHT-sensor-library
ESP8266 IP Address
Open the Arduino IDE serial monitor at a baud rate of 115200. After a few seconds your IP address should appear. In my case it’s 192.168.1.95.
For the final demonstration open any browser from a device that is connected to the same router that your ESP is. Then type the IP address and click Enter!
Now you can easily see the current temperature in Celsius and Fahrenheit and the humidity.
No comments