Research Paper
Research Paper
Abstract—This paper proposes the design of real-time This research aims to develop a custom information
weather monitoring system based on a mobile application using system and UI design for the weather monitoring system.
Automatic Weather Station (AWS). The system connects to the Therefore, it can be managed on a standalone web server and
AWS equipped with several sensors for collecting data and can be developed on a mobile application such as Android.
storing the data to the web server. Data from weather sensor is
taken from the AWS-Davis Instrument using the WeatherLink II. AUTOMATIC WEATHER STATION
software. The data is transmitted through the data logger using
AWS is a meteorological station to observe the weather
serial communication, uploaded via FTP and stored on a web-
server. The Android application reads the files and displays the and to send the results automatically [6][7]. In AWS,
information provided by the web server in real-time. The system measuring tools reads or receives a data using the data-
has successfully show real-time monitoring of weather through acquisition device unit. The data from measurement devices
the mobile application with a flexibility in the parameters and the can be processed locally at the AWS itself or processed in
need of user interface (UI) design compared to the other solution. other places such as the central data processing [7]. AWS can
be designed in an integrated manner using a variety of
Keywords—real-time monitoring; automatic weather station; measurement devices such as integration of instrument
mobile application systems, interfaces and processing, and transmission unit
called Automatic Weather Observing System (AWOS) or
I. INTRODUCTION Automatic Surface Observing System (ASOS).
Weather is an air condition in a certain place and in the Based on presentation of the data, AWS can be grouped
relatively short time that includes conditions of temperature, into real-time AWS and off-line AWS. Real-time AWS is a
humidity, and barometric pressure as its main component. weather system that presents data in real-time. In general, this
Weather changes can be observed by using a device called AWS is equipped with communication and alarm system to
Automatic Weather Station (AWS). AWS has been widely alert the user in case of extreme weather conditions. A real-
applied in various fields such as environmental research for time AWS features has the collection of data units, the data
geo-statistical[1], analysis of temperature measurement [2], storage and the wireless data communications using
prediction of wind energy potential location [3], measurement GSM/GPRS module that has capability for providing data
of the movement of the mass balance [4], and estimation of communications in a wide range [8]. Off-line AWS is weather
crop water needs [5]. stations that only record data and store data on storage media.
There are many kinds of AWS used for a monitoring Stored data can be retrieved at any time as necessary [9].
system. One of them is the Wireless Vantage Pro 2 weather AWS has features with several sensors, including a
station by Davis Instrument. To display the data on a website thermometer for measuring the temperature, an anemometer
or mobile devices, an additional module called WeatherLinkIP for measuring wind speed and direction, a hygrometer for
is needed. This module serves as a data logger to upload data measuring humidity, a barometer for measuring air pressure, a
from the console Vantage Pro directly to the website Weather rain gauge for measuring rainfall and pyrometer for measuring
link. The weaknesses of this system are the limited user solar radiation.
interface and the additional fee. The user must pay the
modules purchased separately. Furthermore, users cannot III. METHODS
change the default user interface and manually select the A. System Design
required data to be displayed on the website or mobile devices.
Wireless weather-link Vantage Pro 2 by Davis is used as
the AWS tool for the system development. Fig. 1 shows the
45
• menu-solar: display the graph of solar radiation
Parameter File Output Description
Input (.gif) changes. This menu can be seen in Fig. 5.
Outside Data changes will occur during the menu transition (page
OutsideTemp.gif Current state of the temperature (oC)
Temp
OutsideHumidit
refresh) or when the 5-minute time interval has run-out. For
Outside Hum Current state of humidity (%) example, to determine the status of rain, the data is taken by
y.gif
Wind Speed WindSpeed.gif Current state of wind speed (Km/h) reading the data in the dat.php file. The status will display
Day Rain Rain.gif
Current state of rainfall situation at “rain” when the value of the <! - Rain -> is greater than 0.0
this time (mm) mm. The changes of weather parameters are displayed in 24-
Barometer Barometer.gif Current state air of barometer (mb) hour time scale, so the characteristic of weather parameter
Current state of solar radiation changes can be observed by hourly-basis.
Solar Rad SolarRad.gif
(W/m2)
To optimize the usability of the user interface, the color on
TABLE III. IMAGE DATA 24 HOURS HISTORICAL WEATHER PARAMETER the graph changes based on the weather parameter. This way,
it is easier to distinguish each parameter. The temperature
Parameter File Output Description changes, humidity changes, air pressure changes, precipitation
Input (.gif) changes, and solar radiation changes are indicated by red,
Outside OutsideTempHi Graph of outside temperature cyan, black, blue, and yellow, respectively. Fig. 6 to Fig. 10
Temperature story.gif changes during 24 hours
Outside OutsideHumidit Graph of outside humidity changes
show the graphics display of weather parameter changes
Humidity yHistory.gif during 24 hours during 24-hour on the mobile device.
Graph of rain changes during 24
Rain RainHistory.gif
hours
BarometerHistor Graph of barometer changes during
Barometer
y.gif 24 hours
Solar SolarRadHistory Graph of solar radiation changes
Radiation .gif during 24 hours
PHP files and image files are uploaded to the web server
using FTP with the data transmission time interval for 5
(a) (b)
minutes. Then, the data is read by the mobile application that Fig. 5. Weather monitoring system in the Android application a) The current
installed on mobile device. The mobile application is created weather condition, b) Graph changes the parameters for 24 hours.
using open source web service named AppGeyser
(www.appsgeyser.com) which serves to make the web
interface in android application packet format (APK). The
processing and the reading of weather data in the application
are shown in Fig. 4.
IV. EXPERIMENTAL RESULTS
The system has been tested using a mobile device with the
5.5-inch screen and a resolution of 720 x 1280 pixels (~ 267
ppi pixel density) using Android operating system MIUI v.6
Kitkat 4.4.2. The main display consists of six menus, namely:
• current menu: display all current measurement
parameters of weather conditions;
• menu-temp: display the graphs of temperature changes;
• menu-hum: display the graphs of humidity changes; Fig. 6. Graphic display of temperature change for 24 hours.
• menu-bar: display the graph of air pressure changes;
• menu-rain: display the graph of precipitation changes;
46
Before being installed on the mobile device, the file size of
this application is 684 KB. After the application is installed, it
takes 1.93 MB of the storage on the Android device. The size
increase is mainly caused by the allocation of cache memory.
In addition, the application uses an approximately 58.7 Mb of
RAM.
V. CONCLUSIONS
This paper presents the development of real-time weather
monitoring system based on a mobile application using
automatic weather station. The system is able to display the
information of the weather parameters via a mobile
application installed on the Android device. The application
Fig. 7. Graphic display of humidity change for 24 hours. shows the real-time weather information through the chart.
The measurement parameter includes temperature, humidity,
air pressure, rainfall and solar radiation. The user can monitor
the weather continuously through this mobile application and
can leverage the information to their needs. Through the
development of this monitoring system, the cost of the service
can be reduced, and the UI including the required weather
parameters can be adjusted. The use of 58.7 Mb RAM allows
applications to run and installed on Android devices that have
minimal RAM of 512 Mb.
ACKNOWLEDGMENT
This research was supported by the thematic program 2017
through Technical Implementation Unit for Instrumentation
Development, Deputy for Scientific Services, Indonesian
Fig. 8. Graphic display of barometer change for 24 hours. Institute of Sciences Indonesia.
REFERENCES
[1] M. Ashraf, J. C. Loftis, and K.G. Hubbard, "Application of geostatistics
to evaluate partial weather station networks,” Agricultural and Forest
Meteorology, vol. 84, pp. 255-271, 1997.
[2] G. Urban, “An attemp to assess the results of air temperature
measurements from automatic weather stations in comparison to glass
thermometer measurements in the context of weather types,” Bulletin of
Geography Series, No. 9, pp. 67-79, 2015.
[3] S. AL-Yahyai , Y. Charabi , A. Gastli, and S. Al-Alawi, “Assessment of
wind energy potential locations in Oman using data from existing
weather stations,” Renewable and Sustainable Energy Reviews, vol. 14,
pp. 1428–1436, 2010.
[4] S. Abbatea, M. Avvenutia, L. Carturan, and D. Cesarinia, “Deploying a
communicating Automatic Weather Station on an Alpine glacier,” The
Fig. 9. Graphic display of daily rain for 24 hours. 3rd international Workshop on Sensor Networks for Intelligence
Gathering and Monitoring (SNIGM), Procedia Computer Science, vol.
19, pp. 1190 – 1195, 2013.
[5] R. Kus´mierek-Tomaszewska, J. Zarski, and S. Dudek, “Meteorological
automated weather station data application for plant water requirements
estimation,” Computers and Electronics in Agriculture, vol. 88, pp. 44–
51, 2012.
[6] World Meteorological Organization, 1992a: International
Meteorological Vocabulary, Second edition., WMO-No. 182, Geneva.
[7] World Meteorological Organization, 1989a: Guide on the Global
Observing System, WMO-No. 88, Geneva.
[8] X. Guo and Y. Song, “Design of automatic weather station based on
GSM module,” International Conference on Computer, Mechatronics,
Control and Electronic Engineering (CMCE), vol. 5, August24-26, pp.
80-82
[9] World Meteorological Organization, Guide to Meteorological
Instruments and Methode of Observation,Geneva, 2008.
Fig. 10. Graphic display of solar radiation for 24 hours.
47