International Journal of Computer Applications (0975 ~ 8887)
Volume 97— No.3, July 2014
Design and Implementation of Weather Monitoring and
Controlling System
P.Susmitha
Dept. of ECM
KL UNIVERSITY
Guntur (Dt), India
ABSTRACT
‘Weather monitoring plays an important role in human life, s0|
the collection of information about the temporal dynamics of
weather changes is very important. In any industry during
certain hazards itis very important to monitor weather. The
fndamental sim of this paper is to develop an embedded
system fo design a weather monitoring system which enables
the monitoring of weather parameters in an industry. Such a
system contains pair of sensors like temperature, Gas and
humidity will be monitored and LPCI768 microcontroller
(ARMS), The data trom the sensors are collected by the
microcontroller and algo microcontroller sends the sensors
data in o the LABVIEW by using the Serial Communication
and this module will keep the data in excel page & also we
can get the SMS in the mobile withthe help of GSM module
‘The system uses a compact circuitry built around LPCI768
(ARM9) microcontroller Programs are developed in
Embedded C using the IDE Keiluvision4, JTAG is used for
loading programs into Microcontroller
Keywords
LPCI768 (ARM9), Humidity sensor, Temperature Sensor,
LABVIEW, GSM Modale
1, INTRODUCTION
[An automated weather station is an instrument that measures
and records meteorological parameters using sensors without
intervention of humans, The measured parameters can be
stored in a built-in data logger or can be transmitted to a
remote location viaa communication link. Ifthe data is stored
ina date logger, recorded data must be physically downloaded
to a computer at a later time for further processing,
‘Therefore, the communication system is an essential element
in an automated weather station. Today, automated weather
stations are available as commercial products with variety of
facilities and options [1-3]. Although automated weather
stations can be built and implemented in remote parts of Sri
Lanka to bring down the cost of maintaining weather stations,
until recently, not mach emphasis has been given for building.
and using such instruments locally. Automated weather
stations have been developed in universities by interfacing
meteorological parameter monitoring sensors 10
microcomputericommercially available data loggers with
‘communication devices or through serial and parallel ports to
‘obtain hard copies of weather data [46], Recently, the
University of Colombo developed an automated. weather
station with USB communication facility and a built-in data
logging facility. The system used wired communication to
transfer data to the monitoring station through the computer's
builtin USB interface [7]. The present work is a further
G.Sowmyabala
Assistant Professor
Dept. of ECM
KL University, India
‘extension of the earlier developments. The main objective of
this work is to develop @ standalone modular weather station
‘with a remote communiction facility to capture and transmit
meteorological parameters
Remotely monitoring of environmental parameters is
important in various applications and industrial processes. In
‘atlier period weather monitoring systems are generally based
‘on mechanical, electromechanical instruments which suffer
fiom the drawbacks like poor rigidity, need of human
intervention, associated parallax errors and durability. Kang,
and Park have developed monitoring systems, using sensors
for indoor climate and environment based on the parameters
‘mentioned [1] in 2000. Combination of these sensors with
data acquisition system has proved to be a better approach for
temperature and relative humidity monitoring in 2005 (2)
Viassov in 1993 introduces the usage of surface acoustic
‘wave's devices as temperature sensor [3]. This demand the
development of a microcontroller based embedded system for
‘weather monitoring. Such a system should monitor and
provide data for remote examine, The collected data by
‘weather monitoring system can easily be exported toa PC via
4 serial port to make subsequent data analysis or graphic and
digital storage thus automatic data collection is possible
‘without giving up PC resources.
2. EXISTING & PROPOSED SYSTEM
Jn the previous research, a single master-multi slave
‘microcontroller communication method has been developed,
The microcontroller is able to communicate using unicast
communication, ie. the master gave orders to one slave
address via the master-slave network that has star topology.
Then the slave who has the same address which is requested
will respond or take action in accordance with the master
command, Modbus Protocol ig the rules of data
‘communication with the master-slave technique. In these
‘communications thee is only one master and one or several
slave which form a network, Master only do one
‘communication at a time, Slave will only communicate sf
there is a command (query) from the Master and cannot
‘communicate with another slave. Addressing modes used by
the Modbus there are 2, ic, unicast and broadcast (8),
The design and implementation of weather monitoring &
controlling system is the model with the ability to perform
data acquisition on temperature, gas, humidity and
accelerometer sensors atached, And it ean give these sensors
data to ADC Port of LPCI768, It can also upload the data
‘continuously to excel sheet in LABVIEW with the help of
S232 Cable and also receives SMS with the help of GSM.3. BLOCK DIAGRAM.
Eo
“= =|
‘aor [4 [fem
oy
aaa =]
sar fe
Fig 1: Block Diagram
3.1 Humidity Sensor
“Humidity sensor works on the principle of relative humidity
and. gives the output in the form of volte. This analog
voltage provides the information about the percentage relative
humidity present in the environment. A miniature sensor
consisting of a RH sensitive material deposited on a ceramic
substrate. The AC resistance (impedance) of the sensor
decreases a relative humidity inreases. The Humidity Sensor
is shown in below Fig2
Fig22, Humidity Sensor
3.2 Temperature Sensor
‘The LM3S is an integrated cireit sensor that can be used to
measure temperature with an electial output proportional to
the temperature (in °C), Ifthe temperature is high then the fan
will on and vice versa, The Temperature Sensor is shown in
Fig.
‘The scale factor is .OIV/C. The LMBS does not require any
‘extemal calibration or trimming and maintains an accuracy
‘of -0.4°C at room temperature and ~/-0.8°C over a range of
°C wo H100°C,
{International Journal of Computer Applications (0975 ~ 8887)
Volume 97— No.3, uly 2014
Fig 3: Temperature Sensor
3.3 Gas Sensor
Sensitive material of MQ-6 gas sensor is SnO which with
lower conductivity in clean air. MQ-6 gas sensor has high
sensitivity to Propane, Butane and LPG, also response to
[Natural gas. The Sensor could be used to detect different
‘combustible ges, especially Methane; itis with low cost and
suitable for different application, The Gas Sensor is shown in
below Fig
Fig. Structure and configuration, basic measuring circuit
3.4 LPC1768
‘The LPC1768 is an ARM Cortex-M3 based microcontroller
for embedded applications requiring a high level of
integration and low power dissipation. The ARM Cortex-M3
CPU incorporates a stage pipeline and uses Harvard
architecture with separate local instruction and data buses as
‘well asa third bus for peripherals
‘The peripheral complement of the LPCI7x includes up to
512k of flash memory, up to 64KB of data memory, Ethernet
MAC, a USB interface that can be configured as either Host,
Device, or OTG, 8 channel general purpose DMA controler,
4 UARTs, 2 CAN channels, 2 SSP controllers, SPI interface,
3. 12C interfaces, 2-input plas 2-output 128 interface, 8
channel 12-bit ADC, 10-bit DAC, motor control PWM,
‘Quadrature Encoder interface, 4 general purpose timers, 6
‘output general purpose PWM, ulirz-low power RTC with
‘separate battry supply, and up to 70 general purpose LO pins.
4, SYSTEM SOFTWARE
Tn this project ewo types of software's are used. They are
+ KEIL software for e programming
+ LABVIEW
1Visiond is an IDE (Integrated Development Environment) to
help you write, compile, and debug emivedded programs.
204.1 FLOWCHART
ia Gaseeaas
‘Fig.5. Flowchart
4.2 Experimental Results
‘The environmental monitoring data sensors automatically
‘monitor the temperature, humidity, Accelerometer and other
‘eas concentrations. It can realize the remote access of sensor
‘monitoring data and download of the environmental
‘monitoring data to the client according to requests, The
simalaion result is shown below.
4.2.1 Schematic
In this proteus, we take one Ipe1768 microcontroller and the
inputs to the microcontroller are the sensors and give those
Sensors to the each ADC Pins trom ADCO...6 except ADCS,
‘The Controller converts Analog data of sensors to Digital
Using ADC pins and we ean see the Sensors data in Virtual
terminal using Serial Communication. The schematic is as
shown below fg 6.
{International Journal of Computer Applications (0975 ~ 8887)
Volume 97— No.3, uly 2014
8
proteus output
4.2.2 Hardware
In this project, we have to acquire all the environmental
parameters like temperature, humidity, gas and accelerometer
‘sensors and the measure these sensor values using ADC pins
in LPCI768. Here in the above figure we use Multi sensor
[Board for placing the sensors, and accelerometer sensor for
checking the earthquake condition. And for the power supply
Pmusing the 12v battery, Max Board is used for transmitting
the data using serial communication. And also these sensor
values will be displayed wirelessly on a Mobile using GSM
‘Hardware Sereen Shot,
4.2.3 Lab VIEW Results
LABVIEW (short for Laboratory Virtual Instrumentation
Engineering Workbench) is a platform and development
environment for a visual programming language fiom
[National Instruments. Tae graphical language is named "G'
2‘The data transmilting from the hardware can be received in
Lab view using the serial communication. The read string
displays the transmitted data, And here Different sensors &
‘those corresponding values are displayed with the indications
like Metering ete, And in the Lab view itself we create
‘Excel File And Place the excel file in that folder because the
updating or value changes ean also seen in the excel file like
shown below.
Fig. Lab VIEW Result
5. APPLICATIONS & ADVANTAGES
5.1 Applications
1. Used incoal mine, bio gas manufacturing centers.
2. Used in power plant generation.
3. Agriculture field monitoring
4. Home automation
5. Industral purpose
5.2 Advantages
1. This project can be use to save power.
2. Security purpose
3. Enhanced for monitoring & controlling of
atmosphere conditions
ICA: wwijeaonlineorg
{International Journal of Computer Applications (0973 ~ 8887)
Volume 97- No.3, uly 2014
6. CONCLUSION
‘This paper demonstrates Design and Implementation of
Weather Monitoring & Controlling System used for
controlling the devices aswell as monitoring the
‘environmental parameters. Embedded controlled sensor
networks have proven themselves to be a religble solution in
providing remote control and sensing for environmental
‘monitoring systems. The sensors have been integrated with
the system to monitor and compute the level of existence of
‘Accelerometer, gas, temperature and humidity in atmosphere
using information and communication technologies. The
sensors can upload the data in Lab view using serial
‘Communication,
7, FUTURE SCOPE
Adding of more sensors to monitor other environmental
parameters such as Soil PH Sensor, CO2 and oxygen Sensor
while allowing the replacing of current sensors if « wider
range of measurements is desired. And also Integration of
additional monitoring devices such as a Wi-Fi camera to
‘monitor growth of agricultural product. And also the date can
be uploaded to web server continuously.
8. REFERENCES
[1]. Kang. J. and Park S. “Integrated comfort sensing system
fon indoor climate” Sensors and Actuators. 2000. 302-
307,
[2] Moghavvemi M. and Tan. S. "A. reliable and
economically feasible remote sensing system for
Temperature and relative humidity measurement”.
‘Sensors and Actuators, 2005, 181-185.
[3] Campbell Scientific, Data loggers, Sensors and Weather
stations, htp:/www camphellsci.co.uk
[4] Visala, Automatic weather stations,
http:/Aewrw.vaisala.comveniproducts,
[5] Prodata, Affordable automatic weather stations,
IntpusAvww.weatherstations.c0.uk,
[6], Sparks L. & Sumner G., "Microcomputer Based Weather
Station Monitoring System", Journal of Microcomputer
Applications, 7, pp. 233-24, 1984,
7] Bagiorgas HLS, Margarita N. A, Patentalaki. A,
Konofaos. N, Dinetrios P, Matthopoulos & Mihalakakou
G,, The Design Installation and Operation of A Fully
‘Computerised, Automatic Weather Station for High
Quality Meteorological Measurements", Fresenius
Environmental Bulletin, 16-8, pp 948-962. 2007.
[8] Guo X. & Song Y., “Design of Automatic Weather
Station Based on GSM Module”, Jnt. Conf om Computer,
‘Mechatronics, Conteol and Electronic Engineering.
[9], Hettinachehi H.AP.K, & Femando LM.K,, “USB Based
High Spoed Data Acquisition System for an Unmanned
‘Weathe Station", 2nd Int. Conf: on e-governance, 2004,
[10] Modicon Ine. Industrial Automation System, “Modicon
‘Modus Protocol Reference Guide-PL-MBUS-800", Rev.
ke June 1996,
hitp:/Avwrw.modbustools.com/Pl_MBUS_300 pa,
‘Accessed June Is, 2011
2