Professional Documents
Culture Documents
net/publication/268100793
CITATIONS READS
6 1,605
3 authors:
Abdulhamit Subasi
University of Turku
222 PUBLICATIONS 7,919 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Proactive Security Metrics for Bring Your Own Device (BYOD) in ISO 27001 Supported Environments View project
sEMG based man–machine interaction—A Platform for Classification of Myoelectric Signals for Prosthesis Control View project
All content following this page was uploaded by Abdulhamit Subasi on 02 April 2015.
Abstract – Radio communication has great history of National Disaster Medical System [7]. In the 1990’s there
innovations. A hobby which helped in pioneering many were no widely available digital and detailed geographical
innovations in radio communications that we are using maps like today’s google maps, and many maps have to be
today is radio amateurism. Hams are radio amateur drawn manually. These maps were able to support smaller
hobbyists, which use radio communication to communicate, geographical areas compared with today’s available
research, and explore new radio technologies and mapping mechanisms which can span whole world.
applications, such as Automatic Packet Reporting System Today’s technology allows usage of APRS-IS to transfer
(APRS), which is digital communications information locally collected data, or local data collection point via
channel for Ham radio. Among other purposes APRS is used
TCP/IP using UDP, TCP, or HTTP directly to APRS-IS,
to report and map position of any stationery or mobile
or indirectly via RF and APRS Internet gateways [8]
object via radio. In this paper we presented a low cost APRS
client-server infrastructure using Raspberry Pi, APRSdroid, which is our choice since it eliminates need of operational
and software defined radio (SDR). GSM / GPRS or other network that would support TCP/IP
communication between data collection point (GPS
location data reporting using RF transceiver) and IGates
I. INTRODUCTION [9] where IGate [9] is a gateway APRS station. IGate
Automatic Packet Reporting System (APRS) is real nodes are able to communicate in the same time with
time radio amateur service able to transmit position Internet and radio amateur nodes. The IGate's task is to
reports, weather reports, messages between users which allow packets to cross from the local RF network to the
are processed and visualized. Position reports supported by APRS-IS see Figure 1.
APRS or more precisely APRS-Internet Service (APRS-
IS) rely on GPS data. One of Internet places which B. Current technology applications and advances in
visualize APRS data is aprs.fi web site which updates data amateur RF and APRS
in real time as they are sent over Internet via nodes which Today APRS-IS is used as infrastructure to map
are able to communicate in the same time with Internet location using commercially available radio transceivers
and radio amateur nodes and networks. These nodes which such as VHF Kenwood RF transceiver [10]. Following
are able to send data from radio frequency (RF) networks VHF frequencies are used for APRS services: in North
are part of APRS-IS infrastructure. Because APRS America is in usage 144.390 MHz, in Europe, Russia,
position data are logged and visualized in real time on South Africa 144.800 Mhz [11] some other countries have
APRS-IS web sites, this can be used to support community different frequencies allocated for this purpose. APRS-IS
in cases of emergencies [1, 2, 3]. To use RF and APRS-IS is technology which brings different technological and
for testing and educational purposes, individual has to be open source advances at one place such as Linux operating
licensed radio amateur within national radio amateur system and open source applications which supports
associations. Each licensed radio amateur must have APRS-SI, TCP/IP infrastructure, cheap microcomputer
assigned call sign number to participate in APRS-IS. One hardware. One of indicators of how APRS-SI is used, can
of reasons for experimenting with APRS-IS is trend of be seen at the aprs.fi web site. Referenced web APRS site
rapid growth of new ham licensees issued in United States is home for different information such as sensor readings,
[4, 5]. For the interest growth of RF usage, there could be weather station reports. Different sensors can be used to
reasons such as restructuring, and new frequency band collect data which might be crucial for early warnings on
plan [4, 5], but available and cheap technology play flood, fire, mudslides, and other potential nature disasters.
important role as well. In this paper we presented low cost These sensors can deliver information directly to Internet
and available technology for sustainable APRS-IS or as backup option via hamnet [12,13] network for rising
exploitation and infrastructure scalable for future alarms allowing proactive actions by those potentially
developments. All mentioned could be reasons that trend affected, and to rescuers.
of growth in USA will be followed in other parts of globe.
Services that Hams provide in critical situations in our
opinion is and could be part of critical infrastructure
A. A short history of APRS
because they provide information and technical support in
Inventor of APRS is Bob Bruninga [6] in 1980’s, and cases of emergency when other means of communications
this system in that time was called Connectionless does not work. Critical infrastructure is important for:
Emergency Traffic System (CETS) and was developed for
“health, safety, security or economic well-being of D. Rationale for establishing APRS using IGate on
citizens or the effective functioning of governments” stated Raspberry Pi
by [14]. We wanted to achieve more than one goal in this
In recent years cheap and energy efficient (low energy) project because of APRS-IS potential in [24]:
microcomputer devices such as Raspberry Pi (RPi) “Accurate position information about mobile & fixed
microcomputer became available which are suitable for stations, direction finding for precise beaming. Tracking a
education purposes [15, 16, 17, 18] which we used in our mobile station [useful during emergency operation/tactical
project to establish infrastructure for APRS reporting. situation], Non-ham family members of a ham can track
Together with RPi it is possible to use software (in our him/her and read messages. During emergencies, if the
case open source software) called software defined radio Internet does not fail. Monitoring of real-time weather
(SDR) to avoid using expensive hardware components information originated from ham radio weather stations.
where functions of hardware components are performed Plotting of objects on the map. For example an accident
by software components [19]. The SDR Forum, in site, crash site, intimation about a traffic jam for route
collaboration with the Institute of Electrical and Electronic planning, fire site, flood, cyclone, land-slide, road
Engineers (IEEE) P1900.1 group defined SDR as: blockage etc. Allows important information to be
"Radio in which some or all of the physical layer exchanged without human intervention. This is important
functions are software defined" [19] during a tactical or emergency situation, when we need to
concentrate on other important jobs [for example 'Search
Today there are numerous commercial SDR solutions & Rescue'].”
(hardware and software) with prices in thousands of
dollars. First goal was to test, research, and to build
infrastructure for other projects and for potential disaster
C. Open source SDR, and hardware components for situations where radio communication was used [1,2,3]
APRS client – server infrastructure and can be used, and to involve other education
institutions in similar projects. This will contribute in
Together with SDR open source solutions such as future research activities by offering research students real
pymultimonaprs [20] it is possible to use cheap hardware playground for hands on and test activities instead of using
(digital receivers attached to PC) to capture analogue or simulators. Well educated individuals in alternative
digital signals and use them to process captured signals on communication can play crucial role in any ongoing or
microcomputers such as RPi. In this way it is possible to post disaster situation. Second goal was to use lessons
build cheap SDR solutions which can be used for APRS- learned, to build and document study case and to
IS infrastructure. Core hardware component for this propagate practical and hands-on knowledge for education
solution is digital receivers which uses RTL2382U [21] purposes. Third goal was to build initial infrastructure with
chipset which are used as DVB-T tuner for reception two iGate nodes located at two sites in Sarajevo city
digital signals. Functionality of this chipset is to capture valley. This two iGates would be able to accept local
radio frequency range from 22 to 1100 MHz [22]. This connections and transfer data to APRS-is (Internet). This
functionality of chipset which can be found in USB DVB- would open possibility for APRS test and research
T dongles is discovered by Antti Palosaari and other activities. With established infrastructure, it is possible to
researchers [23]. measure usage of pymultimonaprs [20] application usage
Server unit by users and different antenna settings and designs.
(E71HK-1)
E. Design of experiment issues and scenario description
RF 144.800 MHz
Android Smart
Transceiver
As a practical part of this paper, our aim was to carry
Phone
APRSdroid
out different test and measurements: connectivity
measurements, antenna quality, RPi hardware
Client unit performances. According to the theory design of
(E71HK-7)
SDR USB RTL -
experiment (DOE) [25] we deliberately change variables
Base station on such as hardware components (transceivers), smart
Internet RPi running phones, antennas, configuration options (TCP/IP, UDP,
APRS Gateway
APRS.FI RF) for communication in aprsdroid application [26].
Figure 1. Local infrastructure for APRS-IS
II. REQUIRED SOFTWARE AND HARDWARE
This type of infrastructure allows location mapping COMPONENTS
and updates on APRS web site (aprs.fi) over Internet as
some other Internet services with difference that remote For this project, different hardware and software
transceivers can reach transceiver base station (IGate) components were needed. While software is open source,
from up to tens of kilometers when other infrastructure is purchase of hardware components is needed but for which
not available. budget is less than 160 Euros, if Internet connection exit
with appropriate access device.
USB DVB-T
RTL USB hub RPi A. Hardware components
In order to setup fully functional IGate node there is need
Figure 2. Block scheme of server side
for 7 hardware components stated below:
1. Microcomputer, Raspberry Pi B System-on-Chip [27] A. Setup instructions
2. Power: Micro-USB, ca. 300…700 mA Installation image of operating system on RPi is
3. SD memory card minimum 2GB, and minimum described on web site [32]. For initial Raspbian Debian
class6, supported SD cards can be found on this link (Wheezy) implementation on RPi it is advisable to use
[28]. Win32 Disk Imager [33] to install Raspbian Debian
4. USB RTL DVB-T dongle (Wheezy) operating system into SD card from PC which
5. USB hub with external power supplyPMR or radio has SD card drive. After operating system image is
amateur transceiver such as Baofeng UV-5RE, 1 / 5 transferred to RPi it is possible to start and log on to RPi
W, output, with 7.4V 1800mAh Li-ion Battery [29]. using keyboard and monitor. At the first log on to RPi it is
6. Smartphone with suitable Android OS which supports possible to configure system settings which can be later
aprsdroid [26] which are used for other purposes as started manually by issuing command sudo raspiconfig.
well. To prepare Raspbian Debian (Wheezy) [30] distribution
For initial system setup it is good to have USB for pymultimonaprs [20] installation and to install
Keyboard, monitor and HDMI / VGA convertor if needed pymultimonaprs [20], it is advisable to follow these
because Raspberry Pi has only HDMI connector and not a installation instructions [34, 35].
VGA connector that most monitors are equipped with.
B. Operation instructions
B. Software components At the server side (RPi) after successful installation of
Three software components needed for installing local pymultimonaprs [20], application can be started by
APRS infrastructure are available on referenced web sites executing command pymultimonaprs, or it can be
Raspbian Debian (Wheezy) distribution [30], configured to be started after each reboot by configuring
pymultimonaprs [20] and we used version /etc/rc.local file. At the client side smartphone has to be
PyMultimonAPRS 0.8.4, and aprsdroid [26]. connected to transceiver with audio cable and aprsdroid
application has to be started. A soon as smartphone
C. Budget estimation catches GPS signal it will pass data to aprsdroid
As stated above budget for hardware is less than 160 application which will then send audio signal to
Euros and software is open source solution, and hardware transceiver via audio cable. Transceiver will broadcast
is only expense of this project. Price of RPi is less 40 signal which will be received by antenna attached to USB
Euros, price of HDMI / VGA converter is 20 Euros (if RTL dongle connected to RPi running pymultimonaprs
this is option for installing RPi), price of SD memory card [20] application which will be sent to aprs.fi web site and
is 8 Euros, Baofeng transceiver 50 Euros, USB DVB-T will be updated automatically. If there is need to record
dongle with RTL 2832U chipset (ASUS My Cinema everything that pymultimonaprs [20] log it can be used
option –syslog which will place all logs in syslog file.
U3100 Mini Plus V2 [31]) is less than 40 euros (other
with RTL 2832U chipset which supports SDR and
cheaper can be found) and audio cable expenses are less V. APRS DATA AVAILABILITY
than 2 Euros. As already described all APRS data are updated on the
web site www.aprs.fi in real time as it is shown in Figure
III. INTERNET, RADIO, PHYSICAL CONNECTIONS 3. In case for Sarajevo valley where we placed our APRS
Prerequisites for establishment pymultimonaprs [20] IGates or server unit shown in Figure 1. Figure 2., and
node are to have Internet connection. marked with letter G (yellow letter in black diamond) in
Figure 3.
A. Internet connection
There is no need for special port forwarding on firewall
if it protects RPi with pymultimonaprs [20] or other
firewall configuration settings to operate.