Sei sulla pagina 1di 6

ISSN XXXX XXXX © 2017 IJESC

Research Article Volume 7 Issue No.5

Smart City IoT Based Weather Monitoring System


Adil Hamid Malik1, Aaqib jalal2, Bilal Ahmed Parray3, Meena kohli4
BE student1, 2, 3, Assistant Professor4
Department of ECE
Model Institute of Engineering and Technology Jammu, India

Abstract:
Climatic change and environmental monitoring have received much attention recently. Man wants to stay updated about the latest of
latest weather conditions of any place like a college campus or any other particular building. Since the world is changing so fast so
should the weather stations. Here in this paper we present a weather station that is very helpful for smart city challenges. This weather
station is based on IoT (internet of things). It is equipped with environmental sensors used to capture distributed meteorological
measurements at any particular place and report them in real time on cloud. To accomplish this we used Raspberry pi2 and different
environmental sensors like DHT11, rain drop sensor module KG004, MQ2 and a buzzer. The sensors constantly sense the weather
parameters and keeps on transmitting it to the online web server over a wifi connection. The weather parameters are uploaded on the
cloud and then provides the live reporting of weather informatics. Also system allows user to set alerts for particular instances, the
system provides alerts to user if the weather parameters cross those values. This paper also focuses on the IoT application in the new
generation of environmental informatics and provides a new paradigm for environmental monitoring in future. It will also give the
graphical representation of the weather parameters that will help the user to compare the weather stastics of different instants of time
and from this graphical representation the user can predict the weather of that particular place. The system has been development
particularly in the view of building smart city by giving the weather update of any particular place like a particular office or room.

Keywords- Raspberry pi, weather monitoring, IoT, Thingspeak, Cloud, Wireless network, Smart city, temperature and humidity
sensor, pressure sensor, rain sensor, rain sensor

1. INTRODUCTION therapeutic guides, versatile human services, elderly help, clever


vitality administration and brilliant networks, car, traffic
Introduction to IoT: The internet of Things (IoT) is viewedas an administration, and numerous others [6]. Now coming the main
innovation and financial wave in the worldwide data industry topic, Environmental issues like environmental change have
after the Internet. The IoT is a wise system which associates all gotten much consideration as of late, and natural checking make
things to the Internet with the end goal of trading data and us ready to pick up an expansive comprehension of regular
conveying through the data detecting gadgets as per concurred environmental forms. Environmental monitoring procedures is a
conventions. It accomplishes the objective of keen recognizing, basic assignment for both researchers and specialists. From past
finding, following, observing, and overseeing things [1]. It is an decade environmental data has gotten an extremely quick
augmentation and extension of Internet-based system, which advancement and wide applications in checking environmental
grows the correspondence from human and human to human and processes. Environmental informatics includes particular natural
things or things and things. In the IoT worldview, many articles issues identified with the uses of software engineering and
encompassing us will be associated into systems in some shape frameworks building methods, administration information
[4]. It is a current correspondence paradigm that envisions a near framework, and ecological data framework, which were intended
future, in which the objects of regular day to day existence will to gather, process and trade information since the 1980s.
be outfitted with microcontrollers, handsets for computerized Automatic data acquisition has been quickly expanded by
correspondence, and reasonable convention stacks that will make assortment of advancements, for example, remote detecting, land
them ready to speak with each other and with the clients, turning data framework, worldwide situating framework et cetera. From
into a vital piece of the Internet [5]. The IoT idea, consequently, the 2000s, the multiplication of programmed information
goes for making the Internet much more immersive and securing innovations, for example, radio recurrence recognizable
unavoidable. Moreover, by empowering simple get to and proof and sensor advances, was acquainted with make choice
association with a wide assortment of gadgets, for example, for emotionally supportive networks and coordinated ecological data
example, home apparatuses, reconnaissance cameras, checking systems and furthermore conveyed new essentialness to
sensors, actuators, showcases, vehicles, et cetera, the IoT will environmental monitoring. The fast advancement and wide
encourage the advancement of various applications that make utilization of natural informatics has huge enhanced
utilization of the possibly gigantic sum and assortment of environmental monitoring and viability. In the most recent
information created by such questions give new administrations decade, the internet of things (IoT), an idea depicting how the
to subjects, organizations, and open organizations. This internet reaches out into people groups' regular daily existences
worldview in reality finds application in a wide range of areas, through a remote system of particularly identifiable objects[1], is
for example, home mechanization, modern robotization, anticipated to have the capacity to advance the whole procedure

International Journal of Engineering Science and Computing, May 2017 12123 http://ijesc.org/
of environmental monitoring[2]. Present developments in board. There has been an amazing instructional exercise sort
innovation principally concentrate on controlling and checking material [10] which unmistakably discloses how to begin with
of various exercises. These are progressively rising to achieve Thingspeak streamed by Arduino IDE (Integrated Development
the human needs. Most of this innovation is centered around Environment) and Thingspeak incorporation. An online
proficient observing and controlling diverse exercises. A instructional exercise on live climate station [11] improves how
proficient natural observing framework is required to screen and to incorporate Arduino UNO with Thingspeak cloud without
evaluate the conditions if there should arise an occurrence of utilizing any web shield through a C# customer application. In
surpassing the endorsed level of parameters (e.g., temperature, another case of WSN [12], authors portrays climate cum
humidity, CO). At the point when the objects like environment catastrophe ready framework utilizing Zigbee/IEEE802.15.4
outfitted with sensor gadgets, microcontroller and different standard that sends the sensor information to a neighborhood
programming applications turns into a self-securing and self- SQL (Structured Query Language) based server to insinuate the
observing condition and it is likewise called as smart status. A powerful case of surge estimating model utilizing WSN
environment. In such environment when some occasion happens is depicted [13]. A comparable surge early cautioning
the alert alarms automatically. The impacts due to the natural framework, in view of SMS and web is proposed [14] that
changes on creatures, plants and human creatures can be checked utilizations WSN and java programming module.
and controlled by smart environmental monitoring system. By
embedded intelligence insight into the earth makes environment In any case, not very many of them have been effective in
intelligent with different destinations, this is one of the refreshing the gathered information over cloud and giving the
application that smart environment targets. Human needs other customer hubs a chance to get to those information as and
requests distinctive sorts of observing frameworks these are when required. Furthermore, none of them permit the client get
relies on upon the sort of information accumulated by the sensor to the framework to quickly know the present status when he is
gadgets. Occasion Detection based and Spatial Handle far from his area or home. Thirdly, it's advantageous to make
Estimation are the two classes to which applications are framework PC autonomous and let the client get to the
arranged. At first the sensor gadgets are sent in condition to framework from cell phone sitting from anyplace. A decent case
detect the parameters (e.g., Temperature, Humidity, Pressure, of moment ready era plan of cataclysmic event is accessible [15]
rain and CO and so on.) while the information obtaining, which utilizes Arduino GSM (Global System for Mobile
computation and controlling activity (e.g., the varieties in the Communications) shield to send the ready notice to the clients.
temperature, weight, mugginess and CO levels as for the
predetermined levels). Sensor gadgets are put to gather the 3. MOTIVATION OF THIS PAPER
information to anticipate the conduct of a specific territory of
intrigue. The proposed Embedded gadget is for checking Temperature,
Humidity, Pressure, and CO levels in the air to make the earth
The primary point of the this paper is to outline and actualize a shrewd or intuitive with the articles through wireless
productive monitoring system through which the required communication. The proposed model is appeared in figure 2
parameters are checked remotely utilizing internet and the which is more versatile and distributive in nature to screen the
information accumulated from the sensors are put away in the environmental parameters. The proposed model is examined in a
cloud and to extend the evaluated incline on the web browser. 4-level model with the elements of every individual modules
An answer for observing the temperature, humidity, pressure, created for air contamination checking. The proposed
rain and CO levels i.e., any parameter esteem crossing its edge demonstrate comprises of 4-tiers. The tier 1 is nature, sensor
esteem ranges, for case CO levels in air in a specific zone gadgets in tier 2, sensor information securing and basic
surpassing the typical levels and so on., in the environment leadership in level 3 and astute condition in tier 4.
utilizing remote embedded computing system is proposed in this
paper. The arrangement additionally gives an astute remote The proposed design is appeared in figure 2. Here, the tier 1
checking for a specific zone of intrigue. In this paper we gives data about the parameters under the locale which is to be
additionally exhibit a slanting consequences of gathered or checked for air pollution control. Tier 2 manages the sensor
detected information concerning the ordinary or indicated scopes gadgets with appropriate attributes, highlights and each of these
of specific parameters. The embedded system is an mix of sensor sensor gadgets are worked and controlled in light of their
gadgets, wireless communication which empowers the client to affectability and in addition the scope of detecting.
remotely get to the different parameters and store the
information in cloud[7]. In the middle of tier 2 and tier 3 fundamental detecting and
controlling moves will be made relying on the conditions, such
2. RELATED WORK as settling the edge esteem, periodicity of detecting, message
(buzzer) and so on. In light of the information investigation
There are a few WSN configuration plans accessible to log the performed in the middle of tier 2 and tier 3 and furthermore from
sensor information. A case of WSN frameworks is outlined in past encounters the parameter edge values amid basic
mechanization in development [8] where the authors clarify an circumstances or ordinary working conditions are resolved. Tier
electronic building ecological checking framework utilizing 3 depicts about the information obtaining from sensor gadgets
WSN. A considerable case of incorporating Thingspeak cloud and furthermore incorporates the basic leadership. Which
with a remote structure is clarified in car checking frameworks indicate the condition the information is speaking to which
[9] where the information gathered from a variety of sensors are parameter.
refreshed over Thingspeak cloud utilizing Beagle Bone Black

International Journal of Engineering Science and Computing, May 2017 12124 http://ijesc.org/
5. SYSTEM DESIGN

A. Overview
The block diagram of the proposed novel wireless framework of
a live weathe buzzer

Figure. 1. Proposed model Figure.3. Functional block diagram


In the proposed demonstrate tier 4 manages the clever condition.
Which implies it will recognize the varieties in the sensor A. Raspberry pi
information and settle the edge esteem contingent upon the
distinguished level of CO. In this level detected information will
be prepared, put away in the cloud i.e.in to the Google spread
sheets and furthermore it will demonstrate a pattern of the
detected parameters as for the predefined values. The end clients
can peruse the information utilizing cell phones, PCs and so
forth.

4.FLOWCHART

Figure.4. Raspberry pi
It has a Broadcom system on a chip (SoC), which incorporates
an ARM compatible central processing unit (CPU) and an on-
chip graphics processing unit (GPU, a VideoCore IV). CPU
speed ranges from 700 MHz to 1.2 GHz and on board memory
run from 256 MB to 1 GB RAM. Secure Digital (SD) cards are
utilized to store the operating system and program memory in
either the SDHC or MicroSDHC sizes. Most sheets have in the
vicinity of one and four USB spaces, HDMI and composite
video yield, and a 3.5 mm telephone jack for sound. Bring down
level yield is given by various GPIO pins which bolster basic
protocols like I²C. The B-models have a 8P8C Ethernet port. The
Foundation gives Raspbian, a Debian-based Linux dissemination
for download, and also outsider Ubuntu, Windows 10 IOT Core,
RISC OS, and specific media focus appropriations. It advances
Python and Scratch as the primary programming language, with
support for some different languages. The default firmware is
shut source, while an informal open source is accessible[16].

B. Temperature sensor and humidity sensor

Figure.2. Flow chart


Figure.5. temperature and humidity sensor

International Journal of Engineering Science and Computing, May 2017 12125 http://ijesc.org/
The DHT11 is an essential, ultra minimal effort computerized
temperature and humidity sensor. It utilizes a capacitive
humidity sensor and a thermistor to gauge the surrounding air,
and releases a digital data on the data pin (no analog information
pins required). The main genuine drawback of this sensor is you
can just get new information from it once every 2 seconds, so
when utilizing our library, sensor readings can be up to 2
seconds old. It works on 3 to 5V power supply. Good for 20-
80% humidity readings with 5% accuracy and for 0-50°C
temperature readings ±2°C accuracy [17]

C. CO sensor
Fig ure.7. pressure sensor

E. Rain sensor

Figure.6. CO sensor
Carbon monoxide sensor, suitable for sensing CO concentration
in air. The MQ-7 can sense CO-gas concentration somewhere in
the range of 20 to 2000ppm. This sensor has a high affectability
and quick reaction time. The sensor's yield is a analog resistance.
The drive circuit is exceptionally straightforward; you should
simply control the heater curl with 5V, include a load resistance,
and associate the output to an ADC[6]. The standard reference
strategy for the estimation of carbon monoxide concentration in
air depends on the ingestion of infrared radiation by the gas in a
Figure.8. rain sensor
no dispersive photometer. This technique is reasonable for stable
The rain sensor module is a simple device for rain recognition. It
establishments at fixed site monitoring stations. All the more as
is utilized for measuring rainfall intensity. The module
of late, convenient carbon monoxide analyzers with data-logging
highlights, a rain board and the control board that is separate for
have turned out to be accessible for individual presentation
more accommodation, power pointer LED and a flexible
observing. These estimations depend on the electrochemical
affectability however a potentiometer. Associated with 5V
responses between carbon monoxide and de-ionized water,
power supply, the LED will turn on when induction board has no
which are detected by exceptionally planned sensors. These days
rain drop, and DO output is high. While dropping a little sum
the determination, strength and affectability of the
water, DO output is low, the switch marker will turn on. Brush
electrochemical analyzers are inside the details of the reference
off the water beads, and when re-established to the underlying
technique and, together with the data-logging systems, they fit
state, outputs high state[18].
into a little rucksack or even a pocket.
F. Thingspeak
Conversion factors
According to its developers, “Thing Speak” is an open source
1 ppm= 1.145 mg/m3
Internet of Things (IOT) application and API to store and
1 mg/mg = 0.873 ppm
retrieve data from things using the HTTP protocol over the
Internet or via a Local Area Network. Thing Speak enables the
D. Pressure sensor
creation of sensor logging applications, location tracking
applications, and a social network of things with status updates".
i. The BMP180 is the capacity good successor of the
Thing Speak has incorporated support from the numerical
BMP085, another era of high exactness digital pressure sensor
registering programming MATLAB from MathWorks permitting
for customer applications. The ultra-low power, low voltage
Thing Speak clients to examine and imagine transferred
hardware of the BMP180 is streamlined for use in cell phones,
information utilizing Matlab without requiring the buy of a
PDAs, GPS navigation devices and open air hardware. With a
Matlab permit from Mathworks[7].
low height noise of simply 0.25m at quick change time, the
BMP180 offers unrivaled execution. The I2C interface takes into
6. TESTING AND RESULTS
consideration simple framework incorporation with a
microcontroller. The BMP180 depends on piezo-resistive
Fig 9 shows the hardware setup of this paper consisting of
innovation for EMC vigor, high precision and linearity as well as
raspberry pi2, temperature, humidity, pressure, rain and CO
long haul strength. Works at 3 to 5V power supply. Pressure
sensors.
sensing range: 300-1100 hPa (9000m to -500m above sea
level)[19].

International Journal of Engineering Science and Computing, May 2017 12126 http://ijesc.org/
concentrates on creating inventive ways and modules snared
with cluster of sensors to screen, show and alarm the weather
estimate and notices as and when required utilizing the benefit of
cloud administration to use the cutting edge detecting and
communication innovations. The proposed framework uses
temperature, humidity, rain, air pressure and CO sensors to
decide the states of environmental changes and updates those
measured qualities from an uncovered field in a cloud database,
Google spreadsheet and one drive in close ongoing. This permits
the checking of the information transferred on the cloud server
from any area utilizing internet. The real sensor module
alongside microcontroller is set at the housetop surface to
Figure.9. hardware setup transfer the gathered weather data to cloud server. The created
In the wake of detecting the information from various sensor model is financially savvy and can be introduced anyplace in
gadgets, which are set specifically range of intrigue. The Wi-Fi area. The general framework is secure as it just gives the outside
association must be set up to exchange sensors information to client a chance to see the weather data by utilizing the
end client and furthermore send it to the cloud storage for future readymade data viewing URL on web program regardless of the
utilization. The detected information will be consequently sent to possibility that he doesn't have advanced mobile phone.
the web server, when a legitimate association is built up with ACKNOWLEDGMENTS the authors thank all exploration
server device. The detected information will be put away in colleagues for their wholehearted cooperation amid this work,
cloud (Google Spread Sheets). The information put away in and furthermore thank the mysterious refs and partner editors for
cloud can be utilized for the examination of the parameter and their quick remarks and astute proposals on the manuscript.
consistent observing reason. The figure 9 demonstrates the
temperature, humidity, pressure, rain and CO in air at customary 8.REFRENCES
time interims. All the data will be put away in the cloud, with the
goal that we can give slanting of temperature, humidity, [1].E. Welbourne, L. Battle, G. Cole, K. Gould, K. Rector, S.
pressure, rain and CO levels in a specific territory at anytime of Raymer et al., “Building the internet of things using RFID: The
time. RFID experience,” IEEE internet comput., vol. 13, no. 3, pp.48-
55, May-Jun. 2009.

[2]. Shifeng Fang; Li Da Xu; Yunqiang Zhu; JiaerhengAhati;


Huan Pei; Jianwu Yan; Zhihui Liu., “An integrated system for
regional environmental monitoring and management based on
internet of things”, IEEE Transactions on Industrial
Informatics,vol.10, no. 2,pp.1596-1605, May-Jun. 2014.

[3]. J. A. Stankovic, “Research directions for the Internet


ofThings,” IEEE Internet ThingsJ., vol. 1, no. 1, pp. 3–9,
Feb. 2014

[4].Shanzhi Chen; Hui Xu; Dake Liu; Bo Hu; Hucheng Wang.,


“A Vision of IoT: Applications, Challenges, and Opportunities
With China Perspective”, IEEE Internet of Things Journal,vol.1,
no.4, pp. 349-359, 2014.

[5]. L. Atzori, A. Iera, and G. Morabito, “The internet of things:


A survey,” Comput. Netw., vol. 54, no. 15, pp.
2787–2805, 2010

[6]. P. Bellavista, G. Cardone, A. Corradi, and L. Foschini,


“Convergence of MANET and WSN in IoT urban scenarios,”
IEEE Sens. J., vol. 13, no. 10, pp. 3558–3567, Oct. 2013.

[7].Bulipe Srinivas Rao , Prof. Dr. K. Srinivasa Rao , Mr. N.


Figure.10. Weather data updated to Thingspeak cloud Ome, “Internet of Things (IOT) Based Weather Monitoring
system”, IJARCCE Journal,vol. 5, no. 9, sept. 2016.
7. CONCLUSION
[8].B. Vongsagon, J. Ekchamanonta, K.Bumrungkhet, and
S.Kittipiyakul, “XBee wireless sensor networks for temperature
In this paper a financially savvy little model of wireless structure
monitoring”, Retrieved 7/11/15 World WideWeb http:/
of live weather station is proposed in view of Raspberry pi2
/citeseerx.i st.psu.edu/viewdoc/download?doi=10.1.1.4 76.9630
design with wired and wireless network. This research
&rep =rep1&type=pdf

International Journal of Engineering Science and Computing, May 2017 12127 http://ijesc.org/
[9].Sagar J.S.T., M. S. Balamurugan and J. A. Vivek, “A
wireless framework for automotive monitoring systems,” in
Indian Journal of Science and Technology, Vol 8(19), IPL0146,
August 2015.

[10]. Maureira G.A.M, D.Oldenhof and L.Teernstra,


“ThingSpeak – an API and Web Service for the Internet of
Things”, Retrieved7/11/15World WideWeb,http: //www.
Mediate chnology. leiden.edu/images/ uploads/docs /wt2014_
thing speak.pdf

[11]. http://www.codeproject.com/Articles/841766/Stage-Live-
WeatherStation-With-Arduino-and-ThingS

[12]. Yawut C and S. Kilaso, “A wireless sensor network for


weather and disaster alarm systems,” in 2011 International
Conference on Information and Electronics Engineering, IPCSIT
vol.6 (2011) © (2011) IACSIT Press, Singapore

[13]. Seal V,A.raha,S. Maity, A. Mukherjee, M.K.Naskar, “A


simple flood forecasting scheme using wireless sensor
networks,” in International Journal of Ad hoc, Sensor &
Ubiquitous Computing (IJASUC), Vol.3, No.1, February 2012.

[14]. Udo N.E,B. Isong, “Flood monitoring and detection system


using wireless sensor network,” in Asian Journal of Computer
and Information Systems, (ISSN: 2321 – 5658) Volume 01–
Issue 04, December 2013

[15]. G. Shreedeep, J. Chakraborty, K.Chatterjee, “Real time


seamless instant response systems for natural disaster,” in
International Journal of Emerging Trends in Electrical and
Electronics (IJETEE – ISSN: 23209569), Vol. 11, Issue. 4, Aug
2015.

[16].https://en.wikipedia.org/wiki/Raspberry_Pi

[17]. https://www.adafruit.com/product/386

[18]. https://www.openhacks.com/uploadsproductos/rain_ sensor


_ module.pdf

[19]. https://www.sparkfun.com/products/11824

International Journal of Engineering Science and Computing, May 2017 12128 http://ijesc.org/

Potrebbero piacerti anche