Weather Monitoring IOT
Weather Monitoring IOT
Prepared by:
Wajad Raza Perzado
EE181042
Contents
Chapter - 1 .....................................................................................................................................................................5
Introduction ...................................................................................................................................................................5
Overview ....................................................................................................................................................................7
Literature Review.......................................................................................................................................................8
Chapter - 2 ...................................................................................................................................................................11
Literature Review ........................................................................................................................................................11
IoT (Internet of Things) ............................................................................................................................................12
IoT Key Features ......................................................................................................................................................12
IoT– Advantages ......................................................................................................................................................13
IoT– Disadvantages ..................................................................................................................................................14
IoT Software.............................................................................................................................................................15
Internet of Things - Technology and Protocols ........................................................................................................16
Internet of Things - Common Uses ..........................................................................................................................17
Block Diagram ..........................................................................................................................................................18
Advantages of Proposed System .............................................................................................................................19
Features of purposed system ..................................................................................................................................21
Purposed Hardware Architecture ...........................................................................................................................22
Circuit Diagram ........................................................................................................................................................23
List of required hardware components ...................................................................................................................24
Details of Hardware Component .............................................................................................................................24
ESP32 MCU ..............................................................................................................................................................26
DHT11(Temperature & Humidity sensor) ................................................................................................................28
BMP180 (Pressure Sensor) ......................................................................................................................................29
Rain Sensor Module .................................................................................................................................................30
Photoelectric Resistor (Light Sensor) .......................................................................................................................31
Resistors ..................................................................................................................................................................33
Veroboard ................................................................................................................................................................33
DC Power Jack ..........................................................................................................................................................34
Power Adopter (5V) .................................................................................................................................................35
Chapter - 4 ...................................................................................................................................................................36
Algorithm .....................................................................................................................................................................36
Flow chart of the system ............................................................................................ Error! Bookmark not defined.
ESP32 MCU ..............................................................................................................................................................38
Chapter - 5 ...................................................................................................................................................................39
Implementation ...........................................................................................................................................................39
Prototype mode of the system ................................................................................................................................40
Chapter - 6 ...................................................................................................................................................................42
Conclusion and Future Scope ......................................................................................................................................42
Conclusion ...............................................................................................................................................................43
Future Scope ............................................................................................................................................................43
References ...................................................................................................................................................................44
Abstract
Introduction
Introduction
Introducing a state-of-the-art smart weather monitoring system poised to
revolutionize the way we access and utilize weather data via the Internet. Traditional
reliance on weather forecasting agencies is being transcended by this innovative system,
which seamlessly brings weather parameter reporting directly to users. At its core, this
system harnesses the potential of cutting-edge technologies such as the Internet of Things
(IoT) and Cloud computing.
This practical and versatile system extends beyond mere data collection. It
represents a tangible application of IoT, allowing for the seamless collection, analysis, and
utilization of diverse weather parameters. Users can set up alerts for specific weather
events, receive notifications, adjust appliances, and perform in-depth long-term analyses—
all with ease. Furthermore, graphical representations aid in reading data, enhancing its
interpretability.
Key components of this system include the Arduino Nano board, a microcontroller
board with versatile capabilities, and the DHT11 temperature and humidity sensor,
instrumental in detecting and reporting these essential parameters. A WIFI module ESP32
is employed to transmit the collected data to a web server, ensuring real-time updates and
accessibility from anywhere across the globe.
Overview
To construct the system, follow the assembly instructions outlined in the circuit
diagram. Employ the Arduino IDE to program the Arduino Nano microcontroller. Upon
successful programming, the NodeMCU, equipped with an integrated Wi-Fi module, will
display a confirmation message on your screen.
In this setup, we interface four essential sensors namely, the BMP180, DHT11,
Photoelctric Resistor and Rain Sensor with the Arduino Nano. These sensors collectively
provide the requisite weather data for comprehensive monitoring. The amalgamated data
is transmitted over the Internet, rendering it accessible from any location. Upon successful
hardware programming, The ESP32 MCU is configured to establish a connection with
Firebase, allowing it to read real-time numerical monitoring data. This numerical data can
then be accessed through standard web browsers like Chrome, Firefox, or Internet
Explorer, presenting it in an aesthetically pleasing Graphical User Interface (GUI) format.
The system comprehensively monitors vital weather parameters, including
temperature, pressure, humidity, light and rainfall. Moreover, the data can be accessed
remotely via the internet, as we have publicly hosted the server over firebase. To enhance
accessibility, we have also developed an Android application, simplifying the interaction
with our weather monitoring system for users.
Literature Review
In this paper [1], the author discusses the increasing significance of weather
prediction systems, particularly in the context of extreme weather events that have adverse
impacts on both lives and property. The paper emphasizes the critical challenge of
improving the accuracy of weather data to enhance predictive capabilities and bolster
resilience against detrimental weather conditions. Developing countries, such as Uganda,
and others face difficulties in generating timely and precise weather data due to limited
weather observation resources and the high costs associated with developing automated
weather monitoring systems. The limited funding available to national meteorological
services in these countries exacerbates this challenge.
To address these issues, the author proposes the development of an Automatic
Weather Monitoring Station (AWS) based on a wireless sensor network. The plan involves
creating three generations of AWS prototypes, with each iteration aiming to enhance
functionality and utility based on the specific needs of its generation. The author also
underscores the importance of improving non-functional aspects such as power efficiency,
data accuracy, reliability, and data transmission while concurrently reducing costs to make
AWS technology more robust and affordable. The intended outcome of this proposed work
is to enable developing nations, like Uganda, to acquire AWS systems in sufficient
quantities, ultimately improving weather forecasting capabilities.
In a different research paper [2], the author introduces an IoT-based weather
monitoring system. This system leverages various sensors to collect environmental
parameters, including humidity, temperature, pressure, rain levels, and light intensity using
an LDR sensor. Additionally, the system calculates the dew point value from temperature
data. The implementation includes an SMS alert system triggered when sensing parameters
exceed predefined thresholds, enhancing the system's practicality. Furthermore, the author
integrates email and tweet alerting systems into the weather monitoring process. The
hardware components of this system include the Node MCU 8266 and a range of sensors.
Another research paper [3], presents a low-cost live weather monitoring system
incorporating an OLED display. The author highlights the transformative potential of IoT
in various fields and describes this innovative system for real-time weather condition
monitoring. The live weather monitoring system is positioned as a valuable tool for
farmers, industries, daily activities, and educational institutions, simplifying weather-
related decision-making. The system utilizes an ESP8266-EX microcontroller-based
WeMos D1 board, executed with Arduino, to retrieve data from the cloud. This board,
equipped with 4MB of flash memory, is programmed with Node MCU and Arduino IDE.
The system collects weather data using only two components: WeMos and OLED. Data is
stored on the ThingSpeak cloud platform for accessibility and is simultaneously displayed
on the OLED screen. The primary objective of this system is to provide live weather
information through the OLED display.
In a different context, the author of reference [4], proposes a comprehensive
weather monitoring and prediction system that can aid individuals in their day-to-day
activities, particularly in sectors such as agriculture and industry. This system consists of
two stages: sensing weather conditions and utilizing deep learning technology for real-time
reporting on stations and buses. Weather forecasting is accomplished through a friction
model, with multilayer perception models and long-term memory used for training and
verification. The system's performance is evaluated against data from environmental
protection agencies and observation systems. The author emphasizes the reliability of this
system in monitoring weather conditions and its potential to provide one-day weather
forecasts.
Lastly, in reference [5], the author implements an IoT-based weather monitoring
system with a focus on using IoT technology to monitor weather conditions and detect
climate-changing patterns. The system employs various sensors to collect climate data,
which is then stored in the cloud for analysis and dissemination. The algorithm, known as
the swarm algorithm, is used to enhance data accuracy. This project aims to raise awareness
of climate condition changes and provides an accurate and efficient output. Rain detection
is achieved using a rain sensor, which measures voltage changes when raindrops contact
its strips.
These research papers collectively highlight the importance of weather monitoring
and prediction systems in various contexts and present innovative approaches to address
the associated challenges. They showcase advancements in sensor technology, data
analysis, and communication methods, ultimately contributing to improved weather
forecasting and awareness.
Chapter - 2
Literature Review
Literature Review
1.
• Artificial Intelligence (AI): IoT essentially imbues everyday objects with intelligence,
enriching various aspects of life by harnessing the potential of data gathering, artificial
intelligence algorithms, and interconnected networks. This could manifest as something as
straightforward as empowering your refrigerator and pantry to detect when your milk and
favorite cereal are running low and automatically placing an order with your preferred
grocery store.
• Connectivity: With emerging networking technologies, including those specific to IoT,
networks are no longer limited to major providers. IoT enables the creation of smaller,
more cost-effective networks that remain highly functional. These compact networks
interconnect IoT devices within its ecosystem.
• Sensors: Sensors are integral to IoT, serving as pivotal instruments that elevate IoT from
a passive network of devices into an active system capable of seamless integration with the
real world.
• Active Engagement: Much of our interaction with connected technology today is passive
in nature. IoT introduces a fresh perspective, emphasizing active engagement with content,
products, or services.
• Compact Devices: As anticipated, devices have progressively evolved to become smaller,
more affordable, and more powerful. IoT leverages purpose-built, compact devices to
deliver precision, scalability, and adaptability to its functionalities.
IoT– Advantages
The benefits of IoT encompass nearly every facet of both daily life and business
operations. Here is an elaboration on some of the advantages offered by IoT:
• Enhanced Customer Engagement: Traditional analytics often exhibit limitations and
inaccuracies, resulting in passive interactions. IoT, however, brings about a
transformative shift, enabling deeper and more effective engagement with audiences.
This means businesses can connect with customers in more meaningful ways,
understanding their preferences and needs with greater precision.
• Technology Optimization: The same technologies and data that enhance the customer
experience also play a crucial role in optimizing device utilization and fostering
significant advancements in technology. IoT unlocks a treasure trove of valuable
functional and field data that can be harnessed to drive innovation and efficiency.
• Reduction in Waste: IoT excels in pinpointing areas that require improvement. While
conventional analytics often provide surface-level insights, IoT delivers real-world data
that enables more efficient resource management. By offering granular insights, IoT
empowers organizations to identify and rectify inefficiencies, ultimately reducing waste.
• Enhanced Data Collection: Modern data collection methods sometimes grapple with
limitations and passive usage designs. In contrast, IoT breaks free from these constraints
and positions data where it truly matters – in the heart of actionable insights. It facilitates
the acquisition of a comprehensive and precise depiction of various aspects of the world,
empowering individuals and organizations alike to make more informed decisions based
on accurate and comprehensive data.
IoT– Disadvantages
While IoT undeniably offers a remarkable array of advantages, it concurrently
presents a substantial array of challenges. Here, we delve into some of the prominent
issues that IoT encounters:
• Data Collection: This software segment specializes in the meticulous management of data
acquisition. It oversees sensing operations, measurements, light data filtering, and data
security, facilitating the aggregation of data from various sources. Employing specific
protocols, it enables sensors to connect to real-time machine-to-machine networks.
Subsequently, it accumulates data from multiple devices and adheres to predefined
distribution settings. Furthermore, it has the capacity to distribute data across devices when
needed. Ultimately, this software transmits all accumulated data to a central server for
further processing.
• Device Integration: Software dedicated to integration plays a critical role in establishing
cohesive relationships among all system devices, forming the backbone of the IoT system.
Its primary responsibility is to ensure seamless cooperation and dependable networking
between devices. These applications serve as the cornerstone of IoT technology, as they
are essential for enabling communication among devices with varying applications,
protocols, and operational constraints.
• Real-Time Analytics: Within the IoT ecosystem, real-time analytics applications serve as
the bridge between raw data and actionable insights. They receive data inputs from diverse
devices and transform them into actionable patterns or clear information for human
analysis. By leveraging various predefined settings and configurations, these applications
perform automated tasks and deliver crucial industry-specific data.
• Application and Process Extension: These software applications expand the capabilities
of existing systems and software to foster a more expansive and effective operational
landscape. They facilitate the integration of designated devices for specific purposes, such
as granting access to certain mobile devices or engineering instruments. This extension
enhances overall productivity and bolsters the accuracy of data collection processes.
Block Diagram
DHT 11
Arduino Nano Cloud
BMP 180
LDR
ESP32
MCU
Mobile
2.
Features of purposed system
In the IoT-enabled weather monitoring system project, the Arduino Uno serves as
the central component, tasked with the measurement of four essential weather
parameters. These parameters encompass temperature, humidity, light intensity, and
rainfall levels, each meticulously monitored by their dedicated sensors. The seamless
integration of these sensors with the Arduino Uno is facilitated by the board's built-in
Analog to Digital Converter (ADC) capabilities, simplifying the data acquisition process.
One of the system's standout features is its ability to access real-time weather
information and data via the World Wide Web. This dynamic connectivity opens up a
world of possibilities, allowing users to stay informed about current weather conditions
and any ongoing climate changes at their fingertips. Moreover, the system is designed to
communicate seamlessly over General Packet Radio Service (GPRS) networks, further
enhancing its accessibility and reach.
One of the key functions of the LDR module is to provide an analog or digital
output that reflects the ambient light conditions. This allows it to be employed in various
scenarios, such as triggering lights in response to darkness or controlling the brightness of
displays based on ambient light.
One of the standout features of the LDR module is its ability to offer real-time
feedback on light levels, allowing for dynamic adjustments and automation in response to
changing illumination conditions. This attribute makes it valuable in applications like street
lighting control, security systems, and smart homes.
However, it's worth noting that while LDR modules are excellent for detecting light
levels, they may not provide precise lux measurements or color-specific information. For
applications requiring precise light measurements or color analysis, more specialized light
sensors, such as photodiodes or color sensors, may be more suitable.
F IGURE 9: RESISTOR
Veroboard
Veroboard is a widely used prototyping and circuit construction board in
electronics. It provides a convenient and organized platform for assembling electronic
circuits, particularly for hobbyists, students, and engineers during the development and
testing phases.
The Veroboard consists of a flat, rectangular board typically made of insulating
material, often fiberglass or epoxy. The board's surface is covered with a grid of copper
strips or pads arranged in a matrix pattern. These copper strips serve as electrical
connections, allowing components to be soldered onto the board and interconnected to
form a circuit.
One of the primary advantages of Veroboard is its flexibility. Electronics
enthusiasts can create custom circuit layouts by cutting and shaping the copper strips to
match their circuit design. Components such as resistors, capacitors, integrated circuits
(ICs), and transistors are soldered onto the copper pads, and copper wires can be used to
establish connections between components. Veroboard's versatility makes it suitable for
both simple and complex circuit projects.
Veroboard is commonly used for prototyping and testing electronic circuits before
they are finalized and printed on custom-designed PCBs (Printed Circuit Boards). It
offers a cost-effective and accessible way to experiment with various circuit
configurations and test ideas quickly. Additionally, it is often used in educational settings
to teach electronics and circuit design principles.
DC Power Jack
A DC power jack, also called a DC connector, is a common electrical component
used for connecting an external direct current (DC) power source to electronic devices like
laptops, routers, and audio equipment. It typically features a female connector with a
central pin (positive) and an outer sleeve (negative). The choice of size, polarity, and
voltage/current ratings depends on the specific device and its power requirements. DC
power jacks play a vital role in powering and enabling the operation of various electronic
devices, facilitating a reliable and efficient power supply connection.
F IGURE 11: DC BARREL J ACK
Algorithm
2.1.2. Arduino Nano Flow chart
ESP32 MCU Flow Chart
Chapter - 5
Implementation
3.
Conclusion
The establishment of a continuous weather monitoring station within the natural
environment serves as a form of proactive environmental protection, essentially giving rise
to what can be described as a "smart environment." This endeavor entails the strategic
deployment of sensor devices throughout the environment, enabling the collection and
analysis of critical data. This innovative approach effectively bridges the natural world
with the digital realm, facilitating real-time data access for users through Wi-Fi
connectivity. The paper introduces a highly efficient and cost-effective embedded system
tailored for intelligent environmental monitoring. Moreover, it streamlines the
transmission of sensor parameters to cloud storage, ensuring data availability for future
analysis and sharing with a broader audience. Significantly, the model's adaptability
extends to monitoring burgeoning urban areas and industrial zones for comprehensive
pollution tracking, offering an economical and efficient solution for ongoing
environmental monitoring aimed at safeguarding public health from pollution-related
hazards.
Future Scope
The future presents a plethora of exciting prospects for expanding and enriching
this system. One promising avenue involves the incorporation of additional sensors and the
establishment of satellite connectivity, thereby elevating it to a global environmental
monitoring platform. This expansion can encompass the monitoring of a wider array of
environmental parameters, including but not limited to CO2 levels, atmospheric pressure,
and oxygen concentrations. Furthermore, the system holds immense potential in sectors
such as aviation, navigation, and military operations, where real-time data holds paramount
significance. Additionally, its application can extend to hospitals and medical research
institutions, facilitating studies focused on the "Effect of Weather on Health and Diseases."
This would enable the implementation of more effective precautionary measures and
timely health alerts, contributing to enhanced public well-being.
References
[1]. Mary Nsabagwaa, Maximus Byamukamab, Emmanuel Kondelaa, “Towards a robust and
affordable Automatic Weather Station “, journal homepage:
www.elsevier.com/locate/deveng.
[2]. Ravi Kishore Kodali and Snehashish Mandal “IoT Based Weather Station” 2016
International Conference on Control, Instrumentation, Communication and Computational
Technologies (ICCICCT) 978-1-5090- 5240-0/16/$31.00, IEEE, (2016).
[3]. Ravi Kishore Kodali and Archana Sahu “An IoT based Weather Information Prototype
Using WeMos” 2016 2nd International Conference on Contemporary Computing and
Informatics (ic3i), 978-1-5090-5256- 1/16/$31.00, IEEE, (2016)
[4]. Zi-Qi Huang, Ying-Chih Chen and Chih-Yu Wen, “Real-Time Weather Monitoring and
Prediction Using City Buses and Machine Learning”, Vols. 3 to 21 Published 10 September
(2020)
[5]. Kavya Ladi, A V S N Manoj, G V N Deepak, “IOT Based Weather Reporting System to
Find Dynamic Climatic Parameters”, International Conference on Energy, Communication,
Data Analytics and Soft Computing (ICECDS-2017)
[6]. P. Susmitha, G. Sowmyabala “Design and Implementation of Weather Monitoring and
Controlling System”, International Journal of Computer Applications (0975 – 8887) Volume
97– No.3, (July 2014)
[7]. Tanmay Parashar1, Shobhit Gahlot2, Akash Godbole3, Y.B. Thakare4 “Weather
Monitoring System Using Wi-Fi”, (IJSR) ISSN (Online): 2319-7064 Index Copernicus Value
(2015): 78.96, 2015
[8]. Nutant Sabharwal, Rajesh Kumar, Abhishek Thakur, Jitender Sharma “A LOW-COST
ZIGBEE BASED AUTOMATIC WIRELESS WEATHER STATION WITH GUI AND
WEB HOSTING FACILITY” e-ISSN: 1694-2310 | p-ISSN: 1694-2426, Vol. 1, Spl. Issue 2
(May 2014)
[9]. M. Prasanna, M. Iyapparaja, M. Vinothkumar, B Ramamurthy, S.S. Manivannan,” An
Intelligent Weather Monitoring System using Internet of Things”, International Journal of
Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8 Issue4, November
(2019)
[10]. Mircea Popa and Catalin Iapa “Embedded Weather Station with Remote Wireless
Control”, 19th Telecommunications forum TELFOR 2011 Serbia, Belgrade, November 22-
24, 2011, 978-1-4577-1500- 6/11/$26.00, IEEE, 2011
[11].A Study on IoT Approach for Monitoring Water Quality Using MQTT Algorithm,
Alfiya Abubaker1, Kavya C R2, Tilju Thomas3, Nikhil Joseph4, Shifana Begum5, 1,2,3,4
Final Year UG Students, Dept. of CSE, Srinivas School Of Engineering, Mangalore
[12]. IoT Based Water Quality Monitoring System, Mourvika Shirode, Monika Adaling, Jyoti
Biradar, Trupti Mate, Department of Electronics & Telecommunication Keystone School of
Engineering, Pune, Maharashtra, India
[13]. https://internetofthingsagenda.techtarget.com/definition/I nternet-of-Things-IoT
[14]. Girija C Department of Electronics and Communication, NIEIT, Andreanna Grace
ShiresDepartment of Electronics and Communication, NIEIT, Mysuru Internet of Things
(IoT) based Weather, International Journal of Engineering Research & Technology (IJERT)
[15]. Mobile APP & IoT Based Station Weather Station. AUTHOR: K. N. V.
SATYANARAYANA, S. R. N. REDDY, K. N. V. SURESH VARMA & P. KANAKA
RAJU
[16]. Arduino Based Weather Monitoring System. AUTHOR: Karthik Krishnamurthi, Suraj
Thapa, Lokesh Kothari, Arun Prakash
[17]. Internet of Things (IoT) Based Weather Monitoring system, Bulipe Srinivas Rao1, Prof.
Dr K. Srinivasa Rao2, Mr N. Ome3, international Journal of Advanced Research in Computer
and Communication Engineering, ISO 3297:2007 Certified, Vol. 5, Issue 9, September 2016
[18]. https://how2electronics.com