shetty_merged
shetty_merged
ON
IOT BASED WEATHER MONITORING SYSTEM
Submitted in the partial fulfilment of the requirements for the award of
BACHELOR OF TECHNOLOGY
IN
ELECTRONICS AND COMMUNICATION ENGINEERING
SUBMITTED BY
KOPPISETTI THANUSHMA SHIVANI
22BK5A0410
ASSISTANT PROFESSOR
Approved by AICTE, New Delhi, Accredited by NBA and NAAC with ‘A’ Grade,
2021-2025
DEPARTMENT OF ELECTRONICS & COMMUNICATION
ENGINEERING
CERTIFICATE
i
ACKNOWLEDGEMENT
ii
INSTITUTE VISION
INSTITUTE MISSION
IM1: Making students knowledgeable in the field of core and applied areas of Engineering
to innovate Technological solutions to the problems in the Society.
IM2: Training the Students to impart the skills in cutting edge technologies, with the help
of relevant stake holders.
IM3: Fostering conducive ambience that inculcates research attitude, identifying promising
fields for entrepreneurship with ethical, moral and social responsibilities.
iii
DEPARTMENT OF
DEPARTMENT VISION
DEPARTMENT MISSION
DM1. To adopt pedagogical processes, facilities to meet the educational objectives and
outcomes of emerging Technologies in the field of Electronics.
DM3. To impart knowledge in the field of Electronics and its related areas with a focus
on developing the required competencies and virtues to meet the requirements of society.
iv
PROGRAM OUTCOMES (POs)
v
7: ENVIRONMENT AND SUSTAINABILITY: Understand the impact of
professional engineering solutions in societal and environmental contexts,
and demonstrate the knowledge of, and need for sustainable development.
12: LIFE-LONG LEARNING: Recognize the need for and have the
preparation and ability to engage in independent and lifelong learning in the
broadcast context of technological changes.
vi
PROGRAM EDUCATIONAL OBJECTIVES (PEOs)
vii
PROGRAM SPECIFIC OBJECTIVES (PSOS)
PSO1: Ability to use electronic modern IT tools for the design and analysis of
complex electronic systems for additional research activities.
viii
DEPARTMENT OF
DECLARATION
Group No: B - 2
Program: B. Tech
Branch: ECE
Date Submitted:
K THANUSHMA 22BK5A0410
SHIVANI
ix
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING
x
ABSTRACT
The Internet of Things (IoT) has revolutionized the way we interact with the
environment by enabling the development of smart systems for various applications. One
such application is weather monitoring, where IoT-based systems can provide real-time
data and analysis. This project aims to design and implement an IoT-based weather
monitoring system that collects data on temperature, humidity, and atmospheric pressure
using sensors. The collected data is then transmitted to a cloud server for storage and
analysis. This system provides real-time weather updates and alerts, making it valuable
for agriculture, disaster management, and environmental monitoring. The implementation
includes the use of microcontrollers, sensors, and wireless communication modules to
create an efficient and reliable weather monitoring system.
xi
CONTENTS
a. Certificate.............................................................................................................i
b. Acknowledgments..............................................................................................ii
c. Institute Vision and Mission.............................................................................iii
d. Department Vision and Mission........................................................................iv
e. Program Outcomes...............................................................................................v
f. Program Education Objectives...........................................................................vi
g. Program Specific Objectives...............................................................................vii
h. Declaration..........................................................................................................viii
i. Abstract..................................................................................................................ix
CHAPTER 1: INTRODUCTION................................................................3
1.1 OVERVIEW OF THE WEATHER MONITORING SYSTEM......................................3
1.2 MOTIVATION FOR THE PROJECT...............................................................................4
1.3 OBJECTIVES OF THE PROJECT...................................................................................4
1.3.1 OUTCOMES..................................................................................................................6
1.4 SCOPE AND SIGNIFICANCE OF THE PROJECT.......................................................6
1.5 TARGET SPEACIFICATIONS..........................................................................................8
1.5.1 ENVIRONMENTAL PARAMETERS MONITORED.............................................8
1.5.2 SENSORS AND ACCURACY.....................................................................................8
1.5.3 DATA TRANSMISSION..............................................................................................8
1.5.4 DATA PROCESSING AND STORAGE.....................................................................9
1.5.5 POWER SUPPLY AND ENERGY EFFICIENCY.....................................................9
1.5.6 RELIABILITY AND DURABILITY..........................................................................9
1.5.7 SECURITY AND DATA PRIVACY...........................................................................9
1.6 PROJECT WORK SCHEDULE......................................................................................10
CHAPTER 2: LITERATURE SURVEY..................................................11
2.1 LITERATURE REVIEW..................................................................................................12
2.1.1 RESENT STATE AND RECENT DEVELOPMENTS IN THE WORK AREA 12
2.1.2 BRIEF BACKGROUND THEORY..........................................................................13
2.1.3 LITERATURE SURVEY...........................................................................................14
xii
CONTENTS
2.2 SUMMARY OF THE LITERATURE REVIEW.............................................................19
CHAPTER 3: METHODOLOGY............................................................21
3.1 METHODOLOGY.............................................................................................................22
3.1.1 DETAILED METHODOLOGY................................................................................22
3.1.2 ASSUMPTIONS MADE.............................................................................................23
3.1.3 BLOCK DIAGRAM....................................................................................................24
3.2 TOOLS USED.....................................................................................................................25
3.2.1 DETAILED SPECIFICATION / LISTING OF COMPONENTS.........................25
3.2.2 JUSTIFICATION FOR COMPONENT SELECTION...........................................30
3.2.3 SOFTWARE TOOLS.................................................................................................30
3.3 SOURCE CODE.................................................................................................................33
3.4 BLYNK APP SETUP.........................................................................................................35
CHAPTER 4: RESULT ANALYSIS.........................................................41
4.1 RESULT ANALYSIS.........................................................................................................41
4.1.1 TABULAR FORMS....................................................................................................41
4.1.2 SYSTEM CONFIGURATION AND KIT DEVELOPMENT................................43
4.1.3 WORKING RESULTS FOR EACH SENSORS......................................................45
4.1.4 EXPLANATION FOR THE GRAPHICAL / TABULATED RESULTS................52
4.2 SIGNIFICANCE OF THE RESULTS OBTAINED........................................................53
CHAPTER 5: APPLICATIONS................................................................56
5.1 APPLICATIONS................................................................................................................56
5.2 ADVANTAGES..................................................................................................................57
CHAPTER 6: CONCLUSION AND FUTURE SCOPE OF WORK.....59
6.1 BRIEF SUMMARY OF THE WORK.............................................................................59
6.2 CONCLUSION...................................................................................................................60
6.3 SIGNIFICANCE OF THE RESULTS OBTAINED........................................................61
6.4 FUTURE SCOPE OF WORK...........................................................................................62
REFERENCES............................................................................................64
xii
i
LIST OF FIGURES
xiv
LIST OF TABLES
xv
[Type here]
CHAPTER 1: INTRODUCTION
The methodology for this project contains the flow chart and block diagram,
which explains the overall method taken during the project. Besides that, this part also
introduces software development and hardware development. To develop the system, it
starts with designing the system. Designing the system concludes identifying the suitable
component. After all the components have been listed, the next step is to build up all
components. This part will focus on coding using IDE software. The program will be
finished and completed when the system has been configured.
1
[Type here]
2
[Type here]
Things (IoT) to automate the data collection process, reducing the need for human
intervention while providing more accurate and timely weather updates.
3
[Type here]
1.3.1 OUTCOMES:
• Accurate Weather Information: Users will have access to precise and up-to-
date weather data for their location, aiding in better decision-making for outdoor
activities, travel, and planning.
• Improved Safety: Timely alerts and notifications for severe weather conditions
enhance user safety by allowing them to take necessary precautions.
• Data Analysis: The historical weather data stored can be used for trend analysis,
climate research, and studying long-term weather patterns.
• Mobile Accessibility: The mobile app ensures that users can access weather
updates on the go, making it a valuable tool for travelers, hikers, and outdoor
enthusiasts.
• Educational Value: The project can serve as an educational resource for students
and researchers interested in meteorology and IoT technology.
4
[Type here]
The system’s scope extends across several sectors, such as agriculture, urban
planning, disaster management, environmental protection, and scientific research. In
agriculture, it can assist farmers in optimizing irrigation, managing crops, and predicting
adverse weather events. For disaster management, it enables early warning systems,
which are crucial in mitigating the effects of natural calamities like storms or floods. In
urban areas, the system contributes to smart city initiatives, helping authorities manage
urban infrastructure and respond to climate challenges effectively.
The significance of this project lies in its potential to revolutionize how weather
data is collected, analyzed, and utilized. One of the most crucial benefits is the ability to
provide real-time and localized weather information, which traditional weather stations
often fail to offer, especially in remote or underserved areas. This helps individuals and
organizations make more informed decisions, reducing risks and enhancing preparedness
in sectors such as agriculture, transportation, and emergency services.
5
[Type here]
• Wind Speed and Direction: Measurement for more advanced weather systems.
• Sensors must have low power consumption to extend the operational life of the
system in remote or hard-to-reach locations.
6
[Type here]
• Ensure secure and reliable data transmission protocols to protect against data loss
or interference.
• Integration with cloud storage platforms to store large amounts of historical data
for future analysis.
• Efficient use of energy to ensure the system can run for extended periods without
frequent maintenance or power outages.
• High uptime with minimal maintenance, reducing the need for frequent
interventions, especially in remote locations.
7
[Type here]
The project then moves to deployment and field testing, where the system is
installed in a real-world environment to monitor weather conditions and refine
performance. Finally, the project concludes with documentation, final review, and the
official launch, where the system is delivered to end users, along with training and
8
[Type here]
operational support. The entire project is expected to take around 12-16 weeks, ensuring
that each phase is executed efficiently and thoroughly.
9
[Type here]
The project titled “IOT Based Weather Monitoring System” using Blynk App
aims to design on developing a real-time, connected weather monitoring system utilizing
Internet of Things (IoT) technology. The aim of the project is to create a system capable
of monitoring and displaying critical environmental parameters such as temperature,
humidity, rainfall, and soil moisture levels. These parameters are measured using specific
sensors like DHT11sensor for (Temperature and Humidity), Rain sensor for rainfall
detection, and a Soil Moisture sensor for soil condition assessment and the data is
transmitted to users through the Blynk app.
10
[Type here]
In the present state, IOT weather monitoring systems typically consist of low-cost
sensors, such as temperature, humidity, rain, and soil moisture sensors, paired with
microcontrollers like Arduino, Raspberry Pi, or NODEMCU to process and transmit the
data. IOT weather systems have become particularly useful in applications like
agriculture, smart cities, and disaster management, where accurate, localized, and real-
time weather data are essential. The Blynk app is often employed to provide users with
mobile access to this data, allowing them to monitor weather conditions from anywhere,
set alerts, and track trends over time.
11
[Type here]
sensors via the internet, allowing them to communicate, share data, and perform tasks
autonomously without human intervention. In the context of weather monitoring, IoT
technology enables the deployment of multiple environmental sensors to continuously
monitor weather conditions such as temperature, humidity, rainfall, and soil moisture in a
cost-effective and scalable manner.
12
[Type here]
This proposed system uses temperature and humidity sensors (DHT11), pressure and
altitude sensors (BMP180) and accelerometer (ADXL-335). The data processing unit
Arduino Uno is used. Cube satellite is used to provide information about weather from
anywhere without using network. A gas balloon is used to hold and carry the Cube
satellite.
This system is simple to construct, portable, cost efficient, low power consuming and
reliable. But there are some limitations such as devices may not communicate at long
distance without powerful transceiver section, at higher altitude record of data with the
help of gas balloon may be a problem and components may be damaged by rain or
longtime use.
A smart city needs to make resources more efficient and provide its residents with
services of higher caliber. The fundamental variables for providing services like
managing air quality, tracking the weather, and automating homes and buildings in a
smart city are temperature, humidity, and CO2. Inorder to check temperature, humidity,
and CO2, this study provides a customized design for an IoT-enabled environment
monitoring system. Data is transmitted from the transmitter node to the receiver node in
13
[Type here]
3. “Low-cost IoT based weather monitoring system for smart community” (2017) by
K. S. Nikhilesh, Y. H. Raghavendra, P. J. Madhu Soot Hanan and R. Resmi
This work explores the use of IOT technology to develop an affordable and scalable
weather monitoring system designed for smart communities. This real-time weather
monitoring system is built for a smart home that displays weather parameters such as the
intensity of rainfall, temperature, wind speed and light intensity from the sensors to the
cloud by injecting message queuing telemetry transport protocol. The proposed system is
portable, affordable and the data can be accessed at any instant.
This is an IOT based framework to gather the constant climate boundaries to store the
information to the cloud stage. The information gathered is shown through the website
page. The put away information is of extraordinary benefit where weather conditions
gauging is required. The climate boundary incorporates temperature, stickiness, dew
point, light power, pneumatic stress, precipitation, and smoke rate. The NODEMCU is
utilized as an MQTT client to move the detected information to the Thing Speak cloud
stage.
14
[Type here]
This paper examines an observing framework which gives data about natural
circumstances and momentarily contacts the mechanical progression in checking the
climate and drawing out the new degree in checking the ongoing climate issues. The
framework is created utilizing Arduino, Raspberry Pi 3, Zigbee and Adafruit IO which
ends up being financially savvy and having low power utilization. The sensors will
assemble the information of different natural boundaries and give that information to
Raspberry Pi through Zigbee from the Arduino. The Raspberry Pi 3 will then transfer the
handled information on to the web through python programming and involving Adafruit
IO as an IoT stage. Trial results exhibited that the framework can precisely gauge the
convergences of the carbon monoxide, carbon dioxide, flammable gases, smoke and air
quality.
This paper proposes a IOT based real-time local weather station for PA, that would
give farmers a means of automizing their agricultural practices (irrigation, fertilization,
harvesting) at the right time. This system would also aid the farmers to do agricultural
tasks on a real-time basis, which in turn helps them to use the agricultural resources in
sufficient way and at the time when needed by the crops. This proposed weather system is
a new way towards the building of PA system considering the Indian scenarios.
15
[Type here]
The author represents a low-cost live weather monitoring system using OLED display,
in which the author displays the various fields where the IoT has produced innovative
things in the system. The author described A new revolutionary system. Which measures
the real-time Weather's condition. Monitoring the weather situation is very helpful for
everyone either for farmers or industry or daily working people or for school as well. So,
the author by developing a live weather monitoring system reduced the difficulty level for
farmers and industry as well. In this paper, the author uses an OLED display that will
display the weather conditions and in the proposed model, the author uses an ESP8266-
EX microcontroller-based WeMo’s D1 board executed on Arduino, that retrieved the data
from the cloud. WeMo’s D1 is a Wi-Fi module that is developed on ESP- 8266EX
microcontroller. It has 4MB flash memory. It is one of the Excellent which is
programmed with node MCU and Arduino IDE. In this paper Author uses only two
gadgets to measure the weather conditions, i.e., WeMo’s and OLED, After the connection,
it will store the data on the cloud for storing data a thing speak website is used to display
the data regarding weather. The system displays the data on OLED and thingspeak cloud.
The author's aim is to obtain live information on weather conditions on OLED display.
16
[Type here]
9. “Wireless Sensor Network System Design using Raspberry Pi and Arduino for
Environmental Monitoring Applications” (2021) by Sheikh Ferdoush, Xinorong Li
They have proposed their system for environmental monitoring applications. This
system includes an in-situ base station and a few distributed wireless sensor nodes. Base
station is designed using Raspberry Pi Model B. Networked sensor nodes are developed
using Arduino and Zigbee modules. To access the sensor nodes and data from the outside
world, a web application is developed on the base station using the Apache HTTP web
server. This system is low-cost, compact, scalable, easy to customize, easy to deploy and
easy to maintain. This system can be expanded by integrating additional sensing
modalities into sensor nodes. Also, the web interface can be further developed.
They have proposed their system to develop wireless sensor networks for an
agricultural environment. This system uses Wireless Sensor Networks which consist of
radio frequency transceivers, sensors, microcontrollers and power sources. Hardware of
this system includes 8-bit AVR, ZigBee, Bluetooth module, temperature, humidity, soil
moisture sensors, LCD. This system is reliable and efficient for agricultural parameters
monitoring.
11. “Online weather monitoring system using Internet of Things (IOT)” (2023)
by Muskan Choudhary, Shivendu Dubey
The main objective of this paper is to explore and review various types of weather
monitoring systems that leverage sensor technology to continuously track and report
17
[Type here]
The main objective of this review paper is to critically analyze and elaborate on
various research studies focused on the integration of smart real-time weather monitoring
systems with mobile applications. It aims to explore the techniques, methodologies, and
technologies employed in designing and developing these systems, highlighting the
significance of accurate and real-time weather data collection across sectors such as
agriculture, transportation, aviation, and disaster management. The paper emphasizes that
the integration of advanced technologies, including the Internet of Things (IoT), machine
learning algorithms, and cloud computing, enhances the capability of weather monitoring
systems to provide timely and actionable insights. By examining the impact of these
systems, the review seeks to underscore their potential for improving weather forecasting
and monitoring, ultimately facilitating informed decision-making in response to dynamic
weather conditions.
In conclusion, the IOT based weather monitoring system concludes that the
integration of Internet of Things (IoT) technology with advanced sensors and mobile
applications, such as the Blynk app, has significantly enhanced the accuracy, accessibility,
and efficiency of weather monitoring. These systems provide real-time data on key
environmental parameters like temperature, humidity, and precipitation, enabling users to
make informed decisions across various sectors, including agriculture, disaster
management, and smart city development. The reviewed studies highlight the
costeffectiveness and scalability of IoT solutions, making them accessible to a wide range
of users. Furthermore, the integration of machine learning and cloud computing has
added predictive capabilities and secure data storage, improving both weather forecasting
and long-term environmental monitoring. In conclusion, IoT-based weather monitoring
systems represent a promising technological advancement that addresses the growing
need for precise, real-time environmental data, ultimately supporting better management
of weather-related challenges.
19
[Type here]
CHAPTER 3: METHODOLOGY
20
[Type here]
output for these readings.The Rain sensor is an electronic device used to detect the
presence of rain or moisture in its surroundings.The soil moisture sensor is a device used
to measure the moisture content or water level in the soil.These parameters are displayed
in the BLYNK application.The weather data from different sensors is sent cloud server
to the Blynk app for monitoring.
3.1 METHODOLOGY
21
[Type here]
code for data acquisition from sensors, processing this data for meaningful
insights, and implementing communication protocols for data transfer to
the user interface.
• The system assumes that the sensors will continuously collect and transmit
accurate weather data (temperature, humidity, rainfall, and soil moisture) in real
time via the Blynk app.
• It is assumed that the system will maintain a stable Wi-Fi connection to ensure
uninterrupted communication between the sensors, microcontroller, and Blynk cloud
for remote monitoring.
• The system assumes that the DHT11, rain sensor, and soil moisture sensor will
perform within acceptable accuracy levels under typical environmental conditions
for reliable weather and environmental data analysis.
22
[Type here]
The above block diagram shows the flow of information among components:
1. NODEMCU/ESP8266 WI-FI
2. DHT11 SENSOR
3. RAIN SENSOR
23
[Type here]
24
[Type here]
• Model: DHT11
• Operating Voltage: 3 to 5.5V
• Resolution: Temperature and Humidity both are 16-bit
• Temperature Range: 0 to 50°C with a ±2°C accuracy.
• Humidity Range: 20 to 90% RH with a ±5% RH accuracy.
• Accuracy: ±1°C and ±1%
• Key Features: Low Power Consumption, Single-Bus Communication, Compact &
Cost-Effective.
• Function: It measures temperature and humidity ranges
25
[Type here]
• Model: YL-83
• Operating Voltage: 3 t0 5.5V
• Measurement Range: 0 to 1023
• Reliability: 80-90%
• Key Features: Rain Detection, Dual Output Adjustable Sensitivity, Low Power
Requirement, Compact & East to Use.
• Function: It detects how much rain drops in the sensor.
26
[Type here]
• Function: The LCD displays up to 32 characters in real time, which is useful for
monitoring system statuses, sensor readings, error messages, or any data that
requires user interaction.
27
[Type here]
• Value: 10 µF to 1000 µF
• Power Rating: 16V to 450V
• Tolerance: ±5% to ±20%
• Temperature Range: -40°C to 105°C or 125°C
• Key Features: High Capacitance, Ripple Current Handling, Temperature Stability,
Low Leakage Current.
• Function: The filter capacitor is to smooth out voltage fluctuations by reducing or
eliminating unwanted noise and ripple in electrical circuits.
28
[Type here]
• Reliability
• Accuracy
• Availability
• Cost- effectiveness
• Low power consumption
• Easy to use
29
[Type here]
The Arduino IDE is an open-source software, which is used to write and upload
code to the Arduino boards. The IDE application is suitable for different operating
systems such as Windows, Mac OS X, and Linux.
The icons displayed on the toolbar are New, Open, Save, Upload, and Verify. It is
shown below.
30
[Type here]
3.2.3.3 UPLOAD
The Upload button compiles and runs our code written on the screen. It further
uploads the code to the connected board. Before uploading the sketch, we need to make
sure that the correct board and ports are selected. We also need a USB connection to
connect the board and the computer. Once all the above measures are done, click on the
Upload button present on the toolbar. The latest Arduino boards can be reset
automatically before beginning with Upload. In the older boards, we need to press the 26
Reset button as soon as the uploading is done successfully, we can notice the blink of the
Tx and Rx LED. If the uploading fails, it will display the message in the error window.
We do not require any additional hardware to upload our sketches using the Arduino
Bootloader. A Bootloader is defined as a small program, which is loaded in the
microcontroller present on the board. The LED will blink on PIN 13.
Open: The Open button is used to open the already created file. The selected file will be
opened in the current window.
Save: The save button is used to save the current sketch or code.
New: It is used to create a new sketch or open a new window. Verify: The Verify button
is used to check the compilation error of the sketch or the written code.
Serial Monitor: The serial monitor button is present on the right corner of the toolbar. It
opens the serial monitor. When we connect the serial monitor, the board will reset on the
operating system Windows, Linux, and Mac OS X. If we want to process the control
characters in our sketch, we need to use an external terminal program. The terminal
program should be connected to the COM port, which will be assigned when we connect
the board to the computer.
31
[Type here]
#include <LiquidCrystal_I2C.h>
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <DHT.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
32
[Type here]
char auth[] = "4Tw2uOkxaplY6-KKByYGQlDOGHvk73_f"; //Enter the Auth code which was send
by Blink
char ssid[] = "Dialog 4G 025"; //Enter your WIFI Name
char pass[] = "jangu1234"; //Enter your WIFI Password
DHT dht(D3, DHT11); //(sensor pin,sensor type)
BlynkTimer timer; void weather() { float h =
dht.readHumidity(); float t =
dht.readTemperature(); int r = analogRead(A0);
bool l = digitalRead(D4); r = map(r, 0, 1023,
100, 0); if (isnan(h) || isnan(t)) {
Serial.println("Failed to read from DHT sensor!");
return;
}
Blynk.virtualWrite(V0, t); //V0 is for Temperature
Blynk.virtualWrite(V1, h); //V1 is for Humidity
Blynk.virtualWrite(V2, r); //V2 is for Rainfall
if (l == 0) {
WidgetLED led1(V3);
led1.on();
lcd.setCursor(9, 1);
lcd.print("L :");
lcd.print("High");
lcd.print(" ");
} else if (l == 1) {
WidgetLED led1(V3);
led1.off();
lcd.setCursor(9, 1);
lcd.print("L :");
lcd.print("Low");
lcd.print(" "); }
33
[Type here]
lcd.setCursor(0, 0);
lcd.print("T :");
lcd.print(t);
lcd.setCursor(0, 1);
lcd.print("H :");
lcd.print(h);
lcd.setCursor(9, 0);
lcd.print("R :");
lcd.print(r); lcd.print("
");
} void setup()
{
Serial.begin(9600); // See the connection status in Serial Monitor
lcd.init(); lcd.backlight();
Blynk.begin(auth, ssid, pass);
dht.begin();
// Setup a function to be called every second
timer.setInterval(10L, weather);
} void loop()
{
Blynk.run(); // Initiates Blynk
timer.run(); // Initiates
SimpleTimer
}
• First, download and install the Blynk app on your phone. After, sign up for this
app using your email address. Then, click the “New project” button.
.
34
[Type here]
• Next, enter the project name as you like and select the device and connection type.
Then click the “Confirm” button.
35
[Type here]
• OK, now we can see the project interface. Next, let’s add the widgets to the
interface. For that, click the “+” icon in the corner and include the three Gauge
widgets and one LED widget.
36
[Type here]
• OK, let’s set up this widget one by one. For that, Name the Gauge widgets as
Temperature, Humidity, and Rainfall, respectively. Also, set the PINs to V0, V1,
and V2 and set the display values from 0 to 100.
• Then, click the LED widget and set the PIN as V3.
37
[Type here]
38
[Type here]
The Blynk app provides a user-friendly interface for remote data visualization and
control, enabling users to access weather conditions and sensor readings from anywhere
with internet connectivity. This setup not only facilitates timely monitoring but also
supports decision-making in agricultural and environmental applications.
Overall, the combination of IoT technology, Blynk’s cloud platform, and reliable
sensors contributes to an efficient and scalable weather monitoring solution, which can be
further enhanced with additional sensors or data analytics for more advanced forecasting
and environmental assessments.
39
[Type here]
This chapter presents the result analysis of the IOT based weather monitoring
system. It discusses the data collected during testing, including graphical and tabular
representations of environmental weather conditions measurements. The analysis also
addresses the significance of the obtained results, any deviations from expected outcomes,
and justifications for these deviations. Finally, conclusions are drawn based on a detailed
examination of the results, emphasizing the effectiveness and reliability of the weather
monitoring for environmental conditions.
40
[Type here]
This table format provides a clear overview of temperature and humidity trends, useful
for analyzing weather changes over time. And this table observes weather patterns, such
as "Hot and Dry" or "Cooling Down," based on the time of day and sensor readings.
This table helps monitor rainfall patterns and make informed decisions based on real-time
rain conditions. It Provides additional observations or recommendations, e.g., "Clear
weather" or "Potential flooding”. And it indicates whether it’s "No Rain", "Light Rain",
"Moderate Rain", or "Heavy Rain".
41
[Type here]
This table shows the soil moisture level as a percentage, with higher values indicating
more moisture. It provides a quick assessment of soil condition, such as “Dry,”
“Moderate,” “Optimal,” or “Wet”. It includes recommendations or observations, like
"Irrigation recommended" or "Soil may be too saturated”. It helps track soil hydration,
making it easier to manage irrigation and maintain ideal moisture levels for plant health.
1. Hardware Connections:
• In the Arduino IDE, install the Blynk library and any necessary libraries for
the ESP8266 or ESP32.
42
[Type here]
• Add code to integrate each sensor with the Blynk library for remote
monitoring.
• Write a program in the Arduino IDE that reads data from each sensor and
sends it to the Blynk app using Wi-Fi.
• Upload the code to ESP8266.
• Test the system to ensure all sensors are reading data accurately.
• Calibrate the soil moisture sensor and rain sensor if necessary to enhance
data accuracy.
6. Real-Time Monitoring:
• Open the Blynk app to view real-time data from each sensor, with
automatic updates for temperature, humidity, rainfall, and soil moisture
levels.
• Set up notifications in the app for specific conditions (e.g., alerts when soil
moisture is low or when rain is detected).
This setup allows continuous weather data monitoring through the Blynk app,
making it accessible and actionable in real-time for users.
43
[Type here]
•DHT11 SENSOR
2. Working Principle:
44
[Type here]
3. Data Transmission:
• The microcontroller reads data from the DHT11 sensor and sends it to the
Blynk app via Wi-Fi.
• The Blynk app displays this data in real time, enabling remote monitoring
of temperature and humidity.
45
[Type here]
The DHT11 sensor is preferred for basic weather monitoring systems due to its
simplicity, low power consumption, and ability to measure both temperature and
humidity in a single, compact unit.
•RAIN SENSOR
46
[Type here]
• The rain sensor typically consists of a sensing board and a control module.
• The sensing board has conductive strips arranged in a grid-like pattern,
while the control module reads changes in conductivity on this board.
2. Detecting Rain:
• When rain falls on the sensing board, water droplets connect the
conductive strips, allowing current to pass through.
• The amount of water on the sensor changes its conductivity, which the
control module interprets.
3. Signal Conversion:
• The control module converts the conductivity change into an analog signal
proportional to the amount of rain.
• The more water on the sensing board, the higher the analog output value
(representing heavier rainfall).
47
[Type here]
• The microcontroller connects to the Blynk app via Wi-Fi and sends the rain
data in real-time.
• In the Blynk app, users can see live updates on rain status, and threshold
alerts can be set up to notify users of rainfall.
48
[Type here]
Fig: 4.5 Blynk app result of rain sensor i.e. rain status is OFF or ON condition
• A typical soil moisture sensor consists of two probes that are inserted into
the soil, a control circuit, and sometimes a humidity sensor.
• The probes are usually made of conductive material that measures the
resistance or capacitance between them.
• The sensor operates on the principle that water conducts electricity. When
soil moisture levels are high, the conductivity (or capacitance) between
the probes increases.
• As the moisture content decreases, the resistance between the probes
increases, leading to a lower conductivity reading.
3. Signal Processing:
49
[Type here]
• The microcontroller transmits the soil moisture data to an IoT platform, such
as the Blynk app, via Wi-Fi.
• This allows for real-time monitoring and remote access to soil moisture
levels.
• Users can view live soil moisture data on the Blynk app and set threshold
alerts. For example, they can receive notifications when soil moisture falls
below a certain level, prompting irrigation actions.
• The system can also be integrated with automated irrigation systems to
optimize watering based on real-time soil moisture readings.
• Soil Research
• Smart Farming
• Environmental Monitoring
• Flood Prediction and Management
• Agricultural Irrigation Management
50
[Type here]
The soil moisture sensor measures the water content in the soil by detecting
conductivity changes, sends the data to a microcontroller, and allows for real-time
monitoring and automation through an IoT platform, making it essential for efficient
agricultural and environmental management.
Fig 4.7: Blynk app result of soil moisture sensor i.e. wet & dry soil
51
[Type here]
The graphical representation in the Blynk app makes it easy to see trends over
time and observe environmental changes immediately. Curve graphs are commonly used
to show continuous changes in temperature, humidity, and soil moisture throughout the
day. For example, a line graph tracking temperature readings from the DHT11 sensor can
show warming and cooling trends, highlighting peak times. Similarly, soil moisture levels
tracked with a line graph help visualize how moisture changes after rain or irrigation.
The combination of graphical and tabular data in the Blynk app enhances the
monitoring experience by offering both a visual overview and precise details. Users can
quickly understand trends through graphs, and tables offer exact readings for in-depth
analysis. Real-time updates keep data current, while historical tables allow users to reflect
on past conditions, making it possible to make informed decisions about irrigation,
weather forecasting, and general environmental monitoring.
The results obtained from an IoT-based weather monitoring system using the
Blynk app with DHT11, rain, and soil moisture sensors hold substantial significance
across multiple domains, including agriculture, environmental monitoring, and urban
planning.
The temperature and humidity data from the DHT11 sensor is essential for
optimizing agricultural practices and maintaining healthy ecosystems. Temperature and
humidity are pivotal factors that influence plant growth, crop yield, and soil health. By
monitoring these values in real time, farmers can make data-driven decisions on when to
plant, irrigate, or harvest, reducing the risk of crop damage due to weather extremes.
52
[Type here]
The rain sensor adds significant value to water resource management and flood
prevention. By detecting precipitation in real time, this sensor enables automated
irrigation systems to pause during rainfall, conserving water and preventing soil erosion
from overirrigation. For agricultural applications, the rain sensor aids crop protection by
providing insights into recent rainfall, allowing farmers to adjust irrigation schedules or
postpone field activities like fertilization to avoid nutrient wash-off.
The soil moisture sensor is crucial for precision irrigation and soil health
management. By providing continuous data on soil moisture levels, it enables farmers to
determine exactly when plants need watering, optimizing water usage and enhancing crop
yield. This is particularly important for conserving water in areas with limited resources,
as the sensor prevents overwatering, which can lead to root damage and nutrient loss. By
maintaining optimal soil moisture, this sensor promotes plant health, minimizes water
waste, and reduces the environmental impact of agricultural and landscaping practices.
Overall, the integrated data from the DHT11, rain, and soil moisture sensors allow
for comprehensive, real-time monitoring of environmental conditions, supporting
efficient, data-driven management of water, soil, and energy resources. The Blynk app’s
capability to visualize this data enables users to quickly interpret and act on sensor
readings, resulting in reduced costs, resource conservation, and enhanced productivity.
In conclusion, the IoT-based weather monitoring system using the Blynk app, with data
from DHT11, rain, and soil moisture sensors, the tabular and graphical results provide
clear, actionable insights. Graphs reveal trends in temperature, humidity, and soil
moisture over time, helping users quickly identify patterns, such as daily temperature
peaks or rainfall events. Meanwhile, tables display precise values, aiding in detailed
comparisons of weather conditions across different time frames. Together, these
visualizations enhance decision-making in agriculture, environmental management, and
water conservation by delivering real-time data and historical trends in an easy-to-
interpret format, optimizing resource use and supporting timely actions.
53
[Type here]
CHAPTER 5: APPLICATIONS
5.1 APPLICATIONS
The IOT-based weather monitoring system has a wide range of applications across
various sectors:
• Smart Cities: City planners and environmental agencies use weather data
from IoT sensors to manage pollution levels, assess urban heat islands, and
improve public health initiatives. For example, real-time air quality monitoring
helps mitigate the effects of pollution.
54
[Type here]
These applications help create safer, more efficient, and environmentally friendly
systems across industries, driven by the real-time data that IoT weather monitoring
provides.
5.2 ADVANTAGES
55
[Type here]
informed decisions, such as adjusting irrigation in farming or planning routes
56
[Type here]
• Predictive Analytics: Historical weather data collected over time can be used
for predictive analytics, helping forecast trends and prepare for adverse
weather conditions. This is valuable for long-term planning in sectors like
agriculture, urban planning, and environmental conservation.
• Automation and Alerts: IoT systems can be programmed to automate
responses (e.g., activating irrigation when soil moisture is low) and send alerts
for conditions like storms, droughts, or extreme temperatures, enhancing safety
and efficiency.
These advantages make IoT-based weather monitoring systems highly effective for
a range of applications, providing data-driven insights and automated responses for
improved environmental management.
57
[Type here]
The IoT-based weather monitoring system using the Blynk app, DHT11 sensor,
rain sensor, and soil moisture sensor is designed to provide real-time monitoring of
critical environmental parameters such as temperature, humidity, rainfall, and soil
moisture levels. The system utilizes the DHT11 sensor to measure temperature and
humidity, the rain sensor to detect the presence and intensity of rainfall, and the soil
moisture sensor to track soil moisture content, which is particularly useful in agricultural
applications.
The Blynk app serves as the user interface, enabling users to access and visualize
live weather data remotely via smartphones or computers. It allows users to view weather
conditions in a simple, user-friendly dashboard and set up real-time alerts for significant
weather changes. The system is scalable, cost-effective, and suitable for applications in
58
[Type here]
agriculture, disaster management, and smart cities, providing continuous monitoring and
improving decision-making processes in weather-sensitive industries.
Additionally, the integration of cloud storage allows for the secure collection and
analysis of historical data, and advanced features like machine learning can be added to
predict future weather patterns. Overall, this IoT-based weather monitoring system with
Blynk app integration offers a robust and practical solution for tracking environmental
conditions in real-time, making weather data accessible to users anywhere, anytime.
6.2 CONCLUSION
The main conclusion of the IoT-based weather monitoring system using the Blynk app,
DHT11 sensor, rain sensor, and soil moisture sensor is that it provides a reliable, realtime,
and user-friendly solution for monitoring essential weather and environmental parameters.
The integration of the DHT11 sensor for temperature and humidity, the rain sensor for
detecting precipitation, and the soil moisture sensor for assessing soil conditions enables
accurate data collection crucial for applications like agriculture, environmental
monitoring, and disaster management.
By using the Blynk app, users can remotely access live data from any location,
making the system highly accessible and easy to use. The combination of IoT technology
and mobile connectivity allows users to track environmental changes in real-time,
improving decision-making processes in various weather-dependent sectors. The
system’s cost-effectiveness, scalability, and ability to provide continuous data insights
further emphasize its practical value.
59
[Type here]
• We have successfully created and deployed an IoT based device that monitors the
basic environmental parameters around us and sends the data to the server
successfully.
• This data has successfully been displayed on the dashboard and saved for future
uses.
• The dashboard successfully works both in mobile applications and its website on
desktop.
60
[Type here]
3. Real-time Remote Monitoring: The Blynk app provides users with the ability to
monitor weather conditions from anywhere, offering flexibility and convenience.
This capability is crucial for remote locations or hard-to-reach areas where
constant monitoring is necessary.
61
[Type here]
electricity is limited. This would reduce reliance on external power sources and make the
system more environmentally friendly.
From a user perspective, enhancing the Blynk app interface could make the
system even more intuitive and accessible. Future updates might include real-time
visualizations of data on maps, notifications for critical weather changes, and
customization options for users to tailor the data display according to their specific needs.
In conclusion, the future scope of the IoT-based weather monitoring system using
the Blynk app, DHT11, rain sensor, and soil moisture sensor includes advancements in
sensor technology, predictive analytics, scalability, sustainability, and user experience.
These improvements would enhance the system’s ability to provide real-time, actionable
weather data, making it a valuable tool for multiple industries and broader applications.
62
[Type here]
REFERENCES
[1] Ravi Kishore Kodali and Sneha shish Mandal, “IoT Based Weather Station”.
International Conference on Control, Instrumentation, Communication and
Computational Technologies (ICCICCT), 2017, pp. 5-10.
[2] C. Arthi, "Real time Digi-notice board system using IoT", IJERT, 2017, ISSN 2278–
0181.
[3] D. G. Rangani and N. V. Tahilramani, "Smart notice board system", 20173rd
International Conference on Applied and Theoretical Computing and Communication
Technology(iCATCCT), pp. 209-214, 2017.
[4] S. Pasha, “Thing Speak Based Sensing and Monitoring System for IOT with
MATLAB Analysis”. International Journal of New Technology and Research (IJNTR),
2018, pp. 19–23.
[5] G. Ganesh Reddy, "IoT based real time digital led notification display board using
nodeMCU via telegram messenger app", IJITECH, vol. 06, no.02, July-December 2018,
ISSN 2321–8665.
[6] S. Surendiran and M. Mathumathi, "IoT based messaging scrolling display",
IJRET, vol. 07, May 2020, ISSN 2395–0077.
[7] J. Lurd humary, "Digital notice board based on IoT", IJIRT, vol. 07, no. 11, ISSN
2349–6002.
[8] Nilam Pradan and Abhishek Dahiwadikar, "IoT based LED scrolling display",
ICCEME 20192020, vol. 4, no. 1, ISSN 2456–077.
[9] Nami Susan Kurian and R K Hemanth Kumar, "IoT based LED display system
using raspberry pi", ICRTCE.
[10] Pooja Pawar and Mohini Bandgra, "IoT based digital notice board using
ARDUINO and ATMega 328", IRJET, vol. 06, no. 03, mar 2019, ISSN2395–0056.
63
[Type here]
[11] S.R. Bharamagoudar, “The Real Time Temperature Sensing using Raspberry Pi”
International Journal for Innovative Research in Science & Technology (IJIRST)-Volume
1-May 2015.
[12] M.Rahaman Laskar, R. Bhattacharjee, M. Sau Giri and P. Bhattacharya,
“Weather
Forecasting using Arduino Based Cube-Sat”, Twelfth International MultiConference on
Information Processing (IMCIP)
[13] Vinayak Appasaheb Pujari, Mrs. M. M. Raste, Ms. A. A. Pujari, “Cost Effective
Automatic Weather Station-a Review”, International Journal of Electrical and Electronics
Engineers (IJEEE)-Vol. No. 8 Issue 01, January-June 2016
[14] Prof. Satyashil Nagrale, Ms. Poonam Khetmalis, Ms. Sanika Doke, Ms. Varsha
Dherange, “Real Time Data Transmission for Weather Monitoring System”,
International Resear2ch Journal of Engineering and Technology (IRJET)-Volume: 03
Issue: 02, Feb 2016. [15] Sheikh Ferdoush, Xinorong Li, “Wireless Sensor Network
System Design using Raspberry Pi and Arduino for Environmental Monitoring
Applications”, Procedia Computer Science.
[15] Prof. C. H. Chavan, Mr. V. Karande “Wireless Monitoring of Soil Moisture,
Temperature and Humidity using Zigbee in Agriculture”, International Journal of
Engineering Trends and Technology (IJETT)-Volume 11 Number 10 – May 2014.
64