Weather Reporting System (IOT) PDF
Weather Reporting System (IOT) PDF
1. INTRODUCATION .......................................................................................1
2. METHODOLOGY .........................................................................................3
4. DISCUSSION .................................................................................................24
ADVANTAGES ..............................................................................................25
5. CONCLUSION ...............................................................................................26
6. REFERENCES ...............................................................................................27
ABSTRACT
Weather forecast these days is unpredictable too be exact because of the climate
conditions over controlled areas likeshouse, industry, agriculture and etc. in real
time monitoring. Internet of Things (IoT) platform use is ThingSpeak it’s should
be able displaying the weather parameters and the information will visible
wherever in the world and it’s also displaying on the OLED with two-way
particular place that be reported by satellite weather report system does not give
the exact condition. However, the problem occurs when needed the accurate
weather report for current time. With weather reporting system all weather
will send all the data collected by sensors to the database by ThingSpeak andwill
visible anywhere in the world and also display on OLED that use Wemos D1
industries and vehicular traffic have seriously affected the purity of clean air and
does not give the exact condition of the particular place. The building sector
offers a great potential for the energy savings, where it is necessary to have
accurate weather data in the exact location where the building is being built in
controlling local weather reporting system with ESP32 and Wemos D1 mini
location. A precision agriculture and farming can be defined as the art and science
in the fields can prevent misuse of water. Use of technology in the field of
reducing the extra man power efforts, some of the researches tried for betterment
of farmers and provides the systems that use technologies which are helpful for
through offline system such as agriculture zone during certain hazardous envy
1
and critical situations where the people need to check manually the weather
condition at the places and it will take time unless it is online system.
Wireless technology, the concept of smart cities and IOT has given a new remark
in the world. One such remark leads towards the online smart weather station
monitoring system using ThingSpeak that connect user with internet that visible
anywhere in the world. To analyse and monitoring system using ThingSpeak that
connect user with internet that visible anywhere in the world. Internet of Things
There is a necessity in security or alarming system that give warning and alerting
when there is a bad condition at the place. The existing technologies are
developed using microcontrollers like Arduino, Node MCU etc. and ARM
processors like Raspberry Pi. So, machine learning techniques achieved better
expressly customized.
Data measured by the stations could be used for various purposes, such as: air
quality management to reduce pollutant gases in the local atmosphere and climate
2
2. METHODOLOGY
This project will focus on development of the ThingSpeak an IoT platform that
to show the data of the sensor. The method divided into two parts which are
the circuit construction and develops the prototype. Meanwhile, the software part
involves the IoT coding, circuit schematic diagram, circuit simulation and data
acquisition.
By using three (3) types of sensor to monitoring the weather parameter that are
temperature, humidity, rain, and air quality the system will be able to display the
weather condition by an analysis about the current weather with the sensor value
data. All the data will be control by a microcontroller ESP32 and Wemos as the
client that will receive the sensor data from ESP32 and display it on OLED.
Furthermore, this system will also be seen on ThingSpeak channel that has been
created to simplify user to check online and also an android application that is
Blynk to display the sensor data. The data collected will be analyse and compare
it with Jabatan Meteorologi Malaysia to ensure the precise of data and weather
condition on current condition. The Internet of Things (IoT) will connect the
system with the user wireless and online without the need of checking manually.
3
2.1. Project Block Diagram
The overall project block diagram is illustrated in Error! Reference source not
found.. The block diagram consists of the components that are utilized in this
project. There are two modes available in this project working operation. Firstly,
controlling mode will involve ESP32 and monitoring mode will involve Wemos
the monitoring mode get sensor data from controlling mode via wireless
Wi-Fi. Controlling mode will collect all the sensor data then send to the
ThingSpeak website and monitoring mode to display on OLED. The client will
display the sensor data on OLED and also on Blynk app. The data collected will
be analyse to configure the actual condition and the current condition by using
simple formula in Equation 1. The result of this data analysis then will be made
the weather state for this system to tell the user about the rain and air quality
4
Figure 1. Project block diagram.
process of the system is start after the microcontroller ESP32 configured all the
sensor and start to read the data from the sensor. Then, the data also be sends to
the IoT platform that is ThingSpeak via wireless communication by ESP32 Wi-
Fi network. The sensors that connect to ESP32 is act as the control unit of the
system where all the data is collected here. This system automatically displays
the temperature, humidity, pressure, rain, air quality, and weather condition on
5
specific webpage of IoT in ThingSpeak as well it will also display this data on
the weather station display. The flowchart of the con-trolling mode process is
shown in Figure 1.
Wi-Fi and received live sensor data and display on OLED. This communication
develop a perfect data input/output from a control unit to a monitoring unit. If the
sensor data come with faulty the buzzer/led will be on as the security of the
system. Then a push notification will be sent to the user by Blynk app on android
Figure 2.
6
Figure 2. Control unit flowchart.
7
2.4. Hardware Development
The hardware selection is vital in this project hardware development process.
part used. For this project, ESP32, Wemos D1 mini, BME280, MQ135, Rain
The circuit of the system can be divided to two where first circuit as weather
station that displaying all the value of weather parameters. Other circuit is control
unit circuit for controlling all the sensor data and send it to the ThingSpeak and
websites. Weather station will be communicating with control unit via client-
server communication where all the data catches by the sensor control unit will
send it to weather station to display it. This station also equips by emergency alert
where there is bad weather such as heavy rain and poor air quality. Figure 3 shows
the electronic circuit of the sensor. The weather station completed circuit is
shown in Figure 4. The bme280 sensor connect on I2C pin at ESP32 which is pin
8
2.5 Components Required
Node MCU
DHT11 sensor
BMP180 sensor
Breadboard
Jumper Wires
Rain Sensor
9
1. DHT11 Sensor :-
10
2. BMP 180 Sensor:-
sensor measures the absolute pressure of the air around it. The pressure
11
3. Rain Sensor
The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP
protocol stack that can give any microcontroller access to your WiFi network.
12
5. Breadboard
13
6. Node MCU
board designs are available. The name "NodeMCU" combines "node" and "MCU"
14
2.6. Software Development
to simulate and analyse the hardware configuration. This process can at least help
the project member to troubleshoot and analyse the project configuration and
result. Therefore, in this project few types of software will be used in order to
develop the project. Most help is Arduino IDE with the software for compile and
upload the coding, SolidWorks for 3D design, and Proteus for simulation are using
in this project.
15
With the assist of this platform the data can be recorded with ease and Table 1 can
website and sign up for free then create a new project that will link the sensor
station with the server then save it in google drive by google sheet form.
This data is received from sensor station, with ESP32 will send the weather
parameters data to google sheet but unfortunately this method use by IFTTT can
receives only three set of data so for this temperature, air quality, and rain data has
been chooses.
IFTTT use to collect the data, so that the analysis can be done without any miss
of data collecting. This system IoT platform converted the reading of three
weather parameters to a table and IFTTT limited only three weather parameters
16
The uses of Buzzer and LED are to alert the user about the hazardous weather
condition outside by triggering the Buzzer and LED Red ON. The LED Green
determine the current condition is good and LED Red determine the current
condition is bad. The switch act will freeze the Buzzer alarm but the LED still
ON. Figure 9 shown the trigger weather parameters are temperature, rain, and air
17
3. RESULTS AND DISCUSSION
First the circuit of control unit system have been made that ESP32 microcontroller
control all weather parameters sensor, that are BME280 (Temperature, Humidity,
and Pressure) sensor, MQ135 (Air quality sensor), Rain sensor, and LDR sensor.
Then it powered by USB cable also to upload the sketch of coding in ESP32
microcontroller. The sensor data can be display on serial monitor in Arduino IDE
software. ESP32 will connect with the Wi-Fi hotspot that have applied to this
system so that the web server can be create to display all the sensor data.
The web server contains html that can display the sensor data by simple coding
and connection where the IP address of the ESP32 are needed to complete this
Figure 9. After that it will read all the sensor value and then send to the cloud data
where ThingSpeak has been uses for this. ThingSpeak will stored the sensor value
and display that data to the channel create there. The user can check the weather
parameter via ThingSpeak websites. The data has collected from the reading of
ESP32 for all sensor and send that data to the ThingSpeak as the results of this
18
project objective. The analysis of the data has been made and there are table
comparing the data with the help of the graph on this ThingSpeak channel.
Figure 8. Full circuit for Sensor station and Weather station displaying sensor
data.
As shown on the web server all the weather parameter clearly displays sensor
data of the ESP32 sensor unit. After analyse the result from the web server and
Thing speak graph there are these statistics the sensor data can been conclude as
unpredictable. The data are taken from morning, noon, and night to seen the
accuracy of the sensor reading. Based on ideally result of the practical results of
the circuit operation are concluded in Table 1, 2, and 3. All data of bme280
sensor, air quality sensor, and rain sensor were recorded from google sheet form
19
to Table 1, 2, and 3. The data temperature, air quality, and rain sensor are got
from google sheet and the others data are got from ThingSpeak platform.
After testing with the web server, the ThingSpeak channel also received the same
sensor data as web server displaying but with better display of graph plot. This
graph makes the analysis of the sensor data be easier. All weather parameter
come with analogue data with ThingSpeak this data will be plot on the graph
20
21
CODE
#include <SFE_BMP180.h>
#define DHTPIN 0
status;
delay(100); dht.begin();
Serial.print(".");
else
22
{
delay(1000);
void loop() {
pressure: ");
float f = dht.readTemperature(true);
23
4. DISCUSSION
Based on the results that are obtained by the sensors send and display to
ThingSpeak for user viewing. This will make monitoring weather parameter
more easily with the Wi-Fi connection this system will start and ThingSpeak start
displaying sensor data by graph and also all this data can be analysing in
ThingSpeak. From the data Table 1, 2 and 3 and Table 4, the results have been
compared and shown that the weather parameter from forecast station is not too
accurate so with weather reporting system people can get the actual condition at
The results of MQ135 and rain sensor from Table 6 uses to make comparison in
corresponding with actual condition and conclusion of the results data recorded
can be made.
With wireless monitoring network devices, the people can check online on the
web page the weather condition to take certain steps and issues even in worst case
for monitoring the weather parameters. With all the data also weather reporting
determining agricultural enterprise success or failure and have ease the user from
getting inaccurate forecast from Forecast Company for their place. The IoT
24
component that has established the communication between the microcontroller
boards were ESP32 and Wemos D1 mini with communication via Wi-Fi hotspot.
ADVANTAGES
1. Data from the sensors can be sent to the web page also which can be
Smart Weather Monitoring System is also quite low due to the presence
of fewer parts.
25
5. CONCLUSION
As the conclusion this project have cleared the objective that to build a system
that can monitored weather parameter by wireless system and IoT. The Sensor
limited in areas covered but still better in communication via wireless. The value
that been recorded from google sheet and Table 1, 2 and 3 it seen that the weather
at particular place has different condition from the exact condition with the
accuracy of weather reporting system and forecast system data has been
compared. It says that weather reporting system is more accurate than forecast
system. This weather reporting system will display the sensor data to
ThingSpeak and IFTTT to save the data into google sheet. It also can be checked
26
6. REFERENCES
[3] Karim F, Karim F and Frihida A (2017). “Monitoring system using web
[6] Kodali R K and Sahu A (2016). “An IoT based weather information
612–616.
27
[7] Joe F, and Joseph J (2019). “IoT Based Weather Monitoring System for
[8] Nallakaruppan, M.K, and Kumaran U.S (2019). “IoT based Machine
175.
28