In this project, we will measure Humidity, Temperature and Pressure parameters and display them on the web server, which makes it a IoT based Weather Station where the weather conditions can be monitored from anywhere using the Internet. Presented device is very essential for making and contains only three components:
- NodeMCU
- DHT11 sensor and
- BMP180 sensor
I designed the project based on the instructions of "circuitdigest" Web, but immediately after startup I noticed that the value of relative Atmospheric Pressure is incorrect. I found this because I have a few DIY barometers and I also have two comercial weather stations where the pressure readings were identical. After that, I study the "SFE_BMP180" library and made small corrections so that the code below gives correct value of the relative pressure depending on the altitude at which it is measured.
First we need to Connect the NodeMCU ESP12E with the PC and choose the board and port correctly and then hit the Upload button. After uploading the code, open the serial monitor. Make the baud rate of serial monitor as 115200. You will see the IP address in the monitor, just copy this IP and paste it in the browser. You will see a webpage in your browser as shown below. This page will be refresh automatically after every 10 seconds. You can change this time in code.
Comments
Please log in or sign up to comment.