International Journal of Scientific & Engineering Research, Volume 4, Issue 9, September-2013 1055

ISSN 2229-5518

Development of Mobile Based Online Weather

Monitoring System with Disaster Alert

Jemilehin A.S. and Obiyemi, O.O.

Abstract— Demonstrated in this paper is the development of a remote monitoring application, which facilitates access to information from an in-situ measurement network. It is a system that can be used to remotely monitor weather variation for proper management of climate related disasters, through the use of an early warning system. This system harnesses the wide network capability of the internet to stream weather information from weather stations to a remote online server via a GSM MODEM, where the information is harvested by the mobile phone applications designed for it. In this system, predefined threshold is set as reference for disaster alerts on the server and the server alert the user via the mobile application. The weather information is analyzed by using decision tree techniques to verify parameter range and any value beyond the set range triggers on alert. This system can be installed in remote areas as the data can be accessed online and it consumes low power.

Index Terms— Disaster alert, GSM MODEM, Internet, J2ME, Weather Data, TCP/IP, remote monitoring.

—————————— ——————————

1 INTRODUCTION

tatistics show that natural disasters have been on the in- crease in recent years. The frequency of occurrence and the severity is on the rise, often resulting to destruction of lives
and properties [1]. Since natural disasters are difficult to pre- vent, a proactive approach to its management therefore re- quires early warning system where information can be sent for evacuation of lives and properties.
Enhanced monitoring system is therefore required for re- motely monitoring the weather. Since most in-situ weather measurement setups are not monitored. Data collection is of- ten conducted by designated personnels, who only visits to harvest data routinely. Real time monitoring of weather pa- rameters is therefore important for early warning in severe weather conditions.
This study considers the use of in-situ measurement net- work for enhanced and real time monitoring of the weather parameters. Provision is also made for emergency alert, where the user is alerted when the recorded data is beyond the de- fined reference level. The parameters to be measured by the system include temperature, air pressure, moisture (humidi- ty), rainfall rate and wind speed.
The system is dependent on the electronic weather station, while the online network is employed to cater for the prob- lems of accessibility, setting up and maintenance cost. On the other hand, this will enable wide network coverage, easy ac- cessibility, and enhanced mobility.
A mobile application was then designed to monitor the sys- tem from anywhere since the setup is internet based. This will facilitate the installation of the setup anywhere. The disaster alert will give information of any anomaly in cases of hash or unexpected climatic conditions. In addition, the wireless sen-

————————————————

Jemilehin has recently enrolled for his Masters degree program in Electrical and Electronic engineering, University of Ilorin, Nigeria, PH-

+2348067338758. E-mail: jemilehinadewale@yahoo.com

Obiyemi works at the Department of Electrical & Electronic Engineering,

Osun State University, Osogbo, Nigeria. He is currently working towards his

PhD with the Department of Electrical and Electronics Engineering at Univer-

sity of Ilorin, Nigeria. PH-+2348034385485. E-mail: obiseyeobi@gmail.com
sor network is easy to maintain, the devices are cheap and the energy requirement is less.
A GSM MODEM (SIM 300) was also used on the channel for transmitting information between the server and the Van- tage Pro Weather Station, while a microcontroller IC (AT- tiny2313) was used to interface the weather station to the MODEM via a serial protocol.

2 RELATED WORK

Sililar designs [7] had considered a remote monitoring system for various weather parameters, where the data gathered by the sensors is relayed via a series of repeaters to a workstation using ZigBee. This approach will require more maintenance cost and space in a large scale scenario. A single online system is preferable as it directly log weather parameters to a remote server online. An online based weather monitoring system was developed in [6]. The approach employed open geospar- tial consortium’s sensor web enablement, a scenario where the weather monitoring system directly log data to a web based server which eliminates the use of repeater stations. This sys- tem is quite reliable but it was not designed with intelligence to give warnings or alert in cases of harsh weathers.
A wireless sensor network for weather and disaster alarm system was proposed and developed in [2], [3]. Here the weather parameters are monitored and uploeaded onto a re- mote server via a repeater station. Although it is very effective even with the alarm system which makes it intelligent, it also requires more maintenance cost and space than a single online system.
This study aims to develop a remote weather monitoring system, which will be easier to maintain by ensuring that it is a single package per location and that it logs to an online web server directly without a repeater station. It is also intelligent with the fact that it can alert user in severe weather conditions. One other major advantage of this system is that it has a mo- bile based application that users can utilizem in accessing rec- ords from the server and as well get alerts from their mobile phone just like any other messaging applications on the

IJSER © 2013 http://www.ijser.org

International Journal of Scientific & Engineering Research, Volume 4, Issue 9, September-2013 1056

ISSN 2229-5518

phone.

3 SYSTEM DESIGN AND IMPLEMENTATION

The method employed for the work provides a means of mon- itoring weather parameters from in-situ measurement net- work. The mobile based online weather monitoring system with disaster alert uses the TCP network protocol to transmit weather data from the sensors through the internet to the mo- bile application.
The setup is divided into three sections, the Nodes, Data Storage/server and the mobile application. The system setup is as schown in Fig. 1.

3.1 Nodes

The nodes consist of the SIM300 GPRS modem, a microcon- troller to interface the MODEM to the sensor, and the Vantage Pro 2 weather station from Davis Instrument Co. Ltd. This instrument has inbuilt sensors measuring temperature, hu- midity, wind speed, rain rate monitors. The microcontroller requests for the weather data from the weather station inter- mittently via the serial protocol with the Vintage Pro com- mands and send the information to the online server via the GPRS modem, where the mobile can request for the data to be displayed for the user.

decimal>”, “<parameter name-hex>”,or “<parameter name- binary>”. For the –decimal and –hex parameters, substitute an ASCII string. For the –binary parameters, character value.

"LOOP <number of LOOP packets to send-decimal>" should be realized with the string "LOOP 4” will be sent

There are several different types of command responses. These responses come before any other returned data values.
1. The “ACK” response: when this command is recognized, the console responds with an ASCII ACK (0x06) character. If the command parameters are invalid, a Not Acknowledge response of (0x21) is used. If a block of data is sent with a CRC code, the response CANCEL (0x18) means that the data did not pass the CRC check.
2. The “OK” response: when this command is recognized, the console responds with the character string “\n\rOK\n\r”.
3. The “DONE” response: Certain commands take some time to complete their operation. For example the command “CLRGRA” will clear all the console graph points. The Van- tage responds with “OK” when it receives the command, and “DONE” when it is finished. No attempt was made to send commands to the console until the “DONE\n\r” response has been received.

MODEM

Microcontroller

Temperature

Pressure

Rainfall

Weather station

Humidity

Fig. 1. System overview

Fig. 2. Block diagram of the Node


Fig. 2 shows the block diagram of the node. The microcontrol- ler was programmed using mikroBasic IDE.

3.1.1 Communication Commands

Communication command for the weather station depends on the request. There are different command formats for com- municating with the device and the command used is as shown;

Command parameters are shown with “<parameter name-

3.2 Data Storage

This consists of a server computer with software that monitors and controls the data being sent by the nodes. The server is always connected to the internet so as to make it ready to re- ceive information. The data received is organized and stored. On request by the mobile application, the data is been sent down to the mobile phone. The server analyses the data re- ceived and verifies if the data falls in between the define threshold, else, an alert is raised and sent to the mobile appli- cation so as to inform the user.

IJSER © 2013 http://www.ijser.org

International Journal of Scientific & Engineering Research, Volume 4, Issue 9, September-2013 1057

ISSN 2229-5518

3.3 Application


The mobile application was designed using Java 2 micro edi- tion (J2ME) programming. The software is used to request the weather information from the server on user demand and then displayed on the mobile device. Alert received from the server is also displayed on the user screen with the content of the alert being the node address and the parameter value. The user may choose to ignore the alert or choose repeated report as long as the event persists. The interface of the software in- cludes the WEATHER display, the Alert, analysis, peak values all sent with time stamp. The application interface is as shown in Fig. 3.

Fig. 3. Application interface

SIM300 GSM modem was used, which fits most of the space requirement for applications such as PDAs and other mobile devices, with a tiny configuration of 40mm x 33mm x
2.85 mm. A 60 pin board to board connector was used as the physical interface between SIM300 and the mobile application, which provides all hardware interfaces from module to cus- tomers’ boards apart from the RF antenna interface [9].

TABLE 1

WEATHER RESULTS

1 24.5 550 84.5 20 20
2 21 550 51 30 40
3 21 570 40 20 70
4 23 520 60 20 25
5 22 550 54 20 30

6 26 550 73 20 10

TABLE 2

DATA BOUNDARIES

On To T1 Ho H1 P0 P1 R0 R1 W0 W1

1 20 21 30 60 500 600 0 40 0 30
2 20 23 30 60 500 600 0 40 0 30
3 20 27 30 60 500 600 0 40 0 30
4 20 27 30 60 500 600 0 40 0 30

5 20 27 30 60 500 600 0 40 0 30

T is temperature, H is humidity, P is pressure, R is rainfall rate, W is wind.

The Transmission Control Protocol (TCP) is a connection- based protocol that provides a reliable flow of data between two computers. TCP provides a point-to-point channel for applications that require reliable communication. The Hyper- text Transfer Protocol (HTTP), File Transfer Protocol (FTP), and Telnet are all examples of applications that require a reli- able communication channel [5]. The decision tree was used to process input parameter to alert when a recorded parameter matches predefined conditions.

4 RESULTS

The weather data extracted for temperature (0C), pressure (mmHg), humidity (%), wind speed (km/s), rainfall (mm) and the corresponding alarmable data is as shown in Table 1. The data is taken from the logs of result in the database available for a particular node. The data boundary is shown in Table 2.

5 CONCLUSION

The Focus of this design is to develop a system that can moni- tor the weather record and transmit disaster alert to a remote user at any location around the globe. The system can cover a long distance having combined the two widely used modes of communication, the GPRS and the Internet. The developed system is flexible and accurate and it has core competencies to display weather information, alert when weather conditions match using decision tree technique and keep weather infor- mation statistics.
Though the system’s performance is based on the availabil- ity of the aforementioned channels of communication, recent efforts by communication network providers is however aimed at widening their coverage. Hence, the system is not limited by distance and can be easily monitored in any part of the globe.

REFERENCES

[1] T.J. Pultz and R.A. Scofield, Applications of Remotely Sensed Data in Flood Prediction and Monitoring: Report of the CEOS Disaster Management Sup- port Group Flood Team,” Geoscience and Remote Sensing Symposium, Vol. 2, pp.

768 – 770. 2002. doi: 10.1109/IGARSS.2002.1025680. (Conference pro- ceedings)

[2] Shanmuganathan, S., Sallis, P. and Narayanan, A., “Sensors for model- ing the effects of climate change on grapevine growth and wine quality,” Computational Intelligence, Communication Systems and Networks (CICSyN), pp.

84 - 86, 2010. doi: 10.1109/CICSyN.2010.16. (Conference proceedings)

IJSER © 2013 http://www.ijser.org

International Journal of Scientific & Engineering Research, Volume 4, Issue 9, September-2013 1058

ISSN 2229-5518

[3] Aijaz Reshi, Shabana Shafi, M. Sridhar, M. Rajani, “Developing Online Weather Monitoring System Using OGC SWE,” International journal of scien- tific & Engineering Research, Vol. 3, no 4, pp. 1 - 3. 2012

[4] Cholatip Y. and Sathapath K., “A Wireless Sensor Network for Weather and Disaster Alarm Systems,” International Conference on Information and Electronics Engineering. (ICIEE). Vol. 6, pp.1 – 5, 2011.

[5] Baggio A., "Wireless sensor networks in precision agriculture", Workshop on Real-World wireless Sensor Networks (REALWSN'05), 3(1): pp.1 - 4. 2005. Available at:: https://intranet.daiict.ac.in/~ranjan/isn2005/APP/baggio05wireless.pdf

[6] SIM300 Application Note, 2005

[7] Xiao C., Qijin G., Zhen jiang and jie W., “Fast Mobility Control Protocols with sink Protection in wireless sensor Network,” International Journal of Protocol Technology. Vol. 6, no. 2, pp. 3 - 17. 2011.

IJSER © 2013 http://www.ijser.org