Professional Documents
Culture Documents
net/publication/316145609
CITATIONS READS
0 978
12 authors, including:
Cecilia Mercado
Saint Louis University, Baguio City
15 PUBLICATIONS 53 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
UNDERSTANDING THE READINESS OF IMPLEMENTING OUTCOME-BASED EDUCATION AMONG SELECTED HIGHER EDUCATION INSTITUTIONS IN PHILIPPINES View project
All content following this page was uploaded by Cecilia Mercado on 15 April 2017.
Keywords There are security measures at the present that are used in
Arduino, GSM, DTMF, SMS preventing these kinds of situations. The traditional foot
patrolling is the most common form of security. As defined
in foot patrol is the backbone of monitoring, the central
aspect of police operations, and the center of police activity
I. INTRODUCTION [12]. It is a police tactic or technique that involves
Illegal intrusion leads to different adverse effects that are movement around an identified area for the purpose of
very much detrimental to safety and security. One of the observation, inspection or security. Since it is based on the
motives behind illegal intrusion is robbery which is the allocation of officers between spatial areas, it was also a
unlawful taking away of property by force with the method of organizing policing resources and managing
intention of permanently depriving the owner of those policing personnel.
With the advancement of technology, another form of
security measure is the CCTV (Closed-circuit Television).
A CCTV relies on strategic placement of cameras, and
observation of the camera's input through its control unit.
Because the cameras communicate with monitors and/or
video recorders across a private coaxial cable or wireless
communication links. They gain the designation "closed-
circuit" to indicate that access to their content is limited
only to authorize personnel [9].
The GSM shield shown in Figure 6 allows the Arduino The audio jack of the DTMF decoder is connected to the
UNO microcontroller to be able to send and receive SMS headphone jack of the GSM shield.
Short Message Service) and make voice calls by
implementing the GSM library. This shield gave the
ArGUS the capability to receive and send SMS from and to
the authorized personnel
Figure 6. The Setup of the Shields. The wireless network IP camera mainly served as the eye
of the ArGUS. It was used to capture live feeds from its
area of responsibility. The IP camera used in the ArGUS is
a stand-alone, CPU and Web Server built-in, and can be
integrated with an Ethernet network. The live streams that
The GSM shield is stacked on the Arduino UNO were recorded are accessible through any wireless
microcontroller and it is powered by a separate 9V 175 connected devices given that the viewer is authorized to do
mAh battery. A SIM card is inserted in the GSM shield. To so.
widen the signal range, an antenna is added to the GSM
communication port; this is also where the configuration of
pins in the Arduino was declared. The loop part serves as
The configuration of the IP camera must be done first by the main method of the program where all the operational
connecting it to the router using an Ethernet cable. Next statements were written.
step is to set the IP configuration into DHCP (Dynamic
Host Configuration Protocol) mode. After the configuration
of the IP address, the user authentication needs to be The ArGUS has five modules: Intrusion Detection and
configured in order to control the access of the wireless IP SMS Notification Module, Camera Streaming Module,
camera. Autonomous Patrolling Module, DTMF Controller Module,
and the GSM Controller Module.
After doing so, the Ethernet cable can be disconnected from
the IP camera and it will then work in a wireless mode.
Upon accessing the wireless IP camera through its IP The total memory of microcontroller consumed in
address, a user authentication needs to be filled up. This is integrating the modules was 27,932 KB. Figure 10 presents
necessary in order to access the live streams from the the system design of the modules of the created library and
wireless IP camera of the ArGUS. Figure 9 shows the shows the interaction and flow of the system across the
network configuration of the ArGUS’ Camera Streaming various modules.
Module.
void motion_notif() {
Figure 9 Argus camera Network Topology
calibrate_PIR();
3.3. Integration of the Software if (motion have been detected) { Send
Application Modules of the SMS notification to the Authorized
Library personnel;
} else {
This section provides the application modules and the
library developed that will integrate the prototype Monitor the area of responsibility of
capability of the intrusion detection, alert notification and the ArGUS;
remote controlled intervention.
}
The Arduino IDE (Integrated Development Environment) }
is a Windows-based software that was used in
programming the microcontroller of the prototype. The calibrate_PIR() {
Arduino board was connected through a USB (Universal Activate the PIR sensor;
Serial Bus) of a particular computer unit. }
During the configuration of the IDE, the Arduino UNO
microcontroller was the model that was first selected for The calibrate_PIR() method was responsible for activating
programming. Arduino-based C was used as the the PIR sensor and automatic calibration of the area around
programming language. the ArGUS. After the calibration of the PIR it would now
detect if a motion is present at the location of the ArGUS.
In programming, Arduino has a pre-defined After 10 seconds of observing for any intrusion the ArGUS
pattern composing of three parts: declaring the variables, would now autonomously patrol again
setup part (communication command) and the loop part.
The variable declaration part is where initialization of all
variables was done. Only the variables that were needed all
throughout the program was declared and initialized. The
setup part consists of the configuration of the
Figure 10: FlowChart for Argus Modules
forward() { Using the voice call system of the GSM, the DTMF will
Both motors are on; serve as the primary controller of the ArGUS. Upon
} translating the DTMF dial tones coming from the
authorized user’s phone, the DTMF decoder would produce
go_right() { a different binary digit pattern that represents each number
in the phone’s keypad. The Algorithm 3 shows how the
Right motor is off;
DTMF controller module was implemented.
Left motor is on;
}
go_left() {
Right motor is on;
Left motor is off;
}
search() {
ArGUS would turn right as its search
pattern;
}
Algorithm 3: DTMF (Dual Tone Multi If the call has ended, ArGUS would then return to its
Autonomous Patrolling Mode.
Frequency) Controller Module
3.3.e. GSM Controller Module
#include "call.h" void
answer_call(){
Using the messaging system of the GSM shield,
if (call is from authorize) { the GSM Controller Module served as the backup
call.answer(); read_dtmf(); controller of the ArGUS. This module allows an authorized
} else { user to send commands regarding the motion of the ArGUS
reject(); via SMS. A user is considered authorized if the mobile
} number used in sending the command is saved in the SIM card
placed inside the GSM shield. Algorithm 4 is implemented in the
} GSM Controller Module.
void read_dtmf() {
Algorithm 4: GSM Controller Module
if (0001 was translated by the DTMF sms_controller() {
decoder){
Check if a sms is present;
forward();
if(sms is not authorized) {
} else if(0101 was translated by the Delete SMS received;
DTMF decoder ) { } else {
breaks(); Get authorized SMS;
} else if(1101 was translated by the if (SMS is equal to "F" or "f"
DTMF decoder) { only) {
go_right();
Forward for 2
} else if(1100 was translated by seconds;
the DTMF decoder) {
go_left();
} Delete the SMS
} received;
} else if(SMS is equal to "L"
or "l" only) {
The ArGUS would first check if there is an incoming call.
Turn left for 2 seconds
If the incoming call is unauthorized it would be rejected.
Upon answering an authorize call, it would check if a
keypad is pressed and if a DTMF dial tone was sent. Four Delete the SMS received;
keypads were programmed to become the controls of the } else if(SMS is equal to "R" or
ArGUS. Keypad “8” with a binary digit of "r" only) {
0001 serves as the forward in the controller.
Turn Right for 2 seconds;
Keypad “0” with a binary number of 0101 serves as the
break in the controller. While keypad “*” with a binary Delete the SMS received;
digit of 1100 and keypad “#” with a binary digit of 1101 } else if(SMS is equal to
serves as the left turn and the right turn of the controller, “PATROL” only) {
respectively. This module also used the methods from the
Set ArGUS to its
Autonomous Patrolling Module like the forward(),
go_right(), go_left() and the following methods: Autonomous
1. answer_call() Patrolling mode;
This method will check whether a call is
authorize or not; Delete the SMS received;
2. call.answer() } else {
This method is responsible for answering or Delete SMS;
receiving a call from an authorized number;
}
3. reject()
}
This method is the one that rejects unauthorized
numbers; }
4. read_dtmf()
This method reads the keytone pressed and The sms_controller() method would be the one facilitating
converts it to binary codes. A binary code has a the operations under the GSM Controller Module. This
corresponding movement; method is responsible for interpreting the sent commands
5. breaks() for the movements of the ArGUS over the SMS by the user.
This method is responsible for commanding This method would first check if there is an SMS sent by an
ArGUS to stop or take break. authorized personnel.
3.4.1.a Testing of the prototype
If an SMS from an unauthorized sender was received, it
would be deleted. Upon getting the SMS from an
authorized user it would then check if the SMS contained To ensure the functionality of the modules and the
the characters “F” or “f” for the forward command, “L” or integration of the hardware resources, several testing
“l” for the turning left command and “R” or “r” for the activities have been done and captured. Below are some
turning right command. snap shots of the testing activities which also include the
video links for the testing activities.
The user may also change back the ArGUS to its
autonomous patrolling mode by sending an SMS Intrusion Detection and SMS Notification Module
containing “PATROL”. When an SMS containing a
command is received, it would then be interpreted as a The video for the testing of the DTMF controller and
movement of the ArGUS. After the command is executed, Camera Streaming Module can be seen on the link:
it would delete the SMS received. This was done to free the https://www.youtube.com/watch?v=MqA57lTYOk8
SIM card’s memory.
A major factor considered in changing the bigger platform The research aimed to develop an alternative solution in
was the difficulty in manipulating it during the testing addressing security monitoring task using an open
stage. hardware platform – Arduino. For the software resource,
the library developed and integrated in the prototype used
Arduino-based C as the programming language. The library
With a fully charged battery, the bigger platform would was composed of five modules that were developed and
also run faster than usual, causing it to get out of the track used by the Arduino UNO microcontroller to operate the
easily. The behavior of the bigger platform does not prototype – the Intrusion Detection and SMS Notification
comply with the assigned speed in the code. The group then Module, Camera Streaming Module, Autonomous
tried implementing the usage of the motor shield, hoping Patrolling Module, DTMF Controller Module and GSM
that the speed of the bigger platform can be controlled, but Controller Module.
it wasn’t effective for the result was different from what
was expected by the group. It seemed that the platform still
does not follow the code that was uploaded to it. Plus the In the development of the software and hardware system
motor gears of the bigger platform does not move together model, appropriate hardware resources were integrated
at the same time. One of the motor gears is delayed than with algorithms from a specific module of the created
the other making the platform harder to run in a straight library to come up with a monitoring process through
path. Due to the continuous testing of the bigger platform, intrusion detection, alert notification and remote controlled
the controller attached to it and the Arduino board over intervention. For the intrusion detection and alert
heated. Because of the cons observed with the usage of the notification, the module under it is the Intrusion Detection
bigger platform, the group then decided to shift to a smaller and SMS Notification Module which is responsible for
platform. notifying authorized personnel when an intrusion detection
event was detected through SMS. This module made use of
The problem with the second platform shown at the right of the GSM shield and PIR sensor. Another module for the
Figure 14 was that its gears were deteriorating which also intrusion detection is the Camera Streaming Module, it is
affects its movement. The group once again tried to look responsible for the live monitoring purposes of ArGUS and
for another platform. The researchers now finally used a send live stream videos of area being monitored when an
fully functional platform as shown in Figure 15 for the intrusion event is detected. This module made use of a
development of the ArGUS. Wireless Network IP Camera. Lastly, for the intrusion
detection, the Autonomous Patrolling Module was for the
Another issue faced by the group was in terms of the prototype’s autonomous patrolling routine that made use of
autonomous mode of the ArGUS. The group has the motor shield and the mobile platform. For the remote
discovered that the line sensor needs to be accompanied by controlled intervention, the DTMF Controller Module
a white LED (Light Emitting Diode) lights so that the served as the primary controller of the ArGUS which made
sensor can fully see the track that was needed to be use of GSM shield and DTMF decoder. Another is the
followed. The five channel line tracking sensor’s light GSM Controller Module that served as the backup
accompaniment was needed for the researchers have controller of the prototype. This module allows an
authorized user to send commands regarding the motion of [3] Brottsförebyggande rådet – Brå. Swedish
the ArGUS via SMS. National Council for Crime Prevention. 2014
Retrieved from:
For the configurations of the hardware resources, the PIR
sensor was responsible for the sudden detection of motion https://www.bra.se/bra/bra-in-english/home/crime-
within the surroundings of the ArGUS. This sensor works and-statistics/vandalism..html
together with another device which is the GSM shield. The
GSM shield enables the prototype to receive and send
SMS. These SMS is the alert messages when the PIR [4] Campbell, R. 2014. International Fires.
detects an unwanted movement in its surrounding area. Retrieved from
This covers the notification activities under the monitoring http://www.nfpa.org/research/reports-and-
process. For the remote control intervention, there are two statistics/fire-causes/arson-and-juvenile-
ways by which ArGUS can be controlled manually through firesetting/intentional-fires
the aid of a mobile phone. The first way was through the
use of a DTMF decoder. With the DTMF decoder, DTMF [5] e-Gizmo Mechatronix Central. (2011). Kits &
dial tones would be used to control the ArGUS. The DTMF Modules. Retrieved from
decoder was used in the study to translate these dial tones http://www.egizmo.com/PRODUCT/pdf/Kits%20
&%20Modules.pdf
into movements of the ArGUS. The other way was through
a GSM messaging system. Authorized personnel can send
SMS containing commands to control the movement of the
[6] FBI Releases 2011 Bank Crime Statistics .
prototype. Other SMS sent that was not part of the
Retrieved from:
registered list of commands or ArGUS received an SMS
https://www.fbi.gov/news/pressrel/press-
from a registered number would not be recognized by the
releases/fbi-releases-2011-bank-crime-statistics
prototype. If an unregistered number would send an SMS to
ArGUS, the message would automatically be deleted. All
the said hardware resources are connected to the Arduino
[7] Gilman, L. 2004. Motion Sensors.
UNO microcontroller which is the central part of the
Encyclopedia of Espionage, Intelligence, and
ArGUS. Hardware devices are all placed inside the mobile
Security. Retrieved from
platform.
http://www.encyclopedia.com/doc/1G234033004
95.html
5. RECOMMENDATONS
The following are recommended to further improve the [8] Medina A. (2014). PNP: Crime up by 17 percent,
system: GMA news. Retrieved from:
http://www.gmanetwork.com/news/not_found?/s%
1. The improvement of the Autonomous patrolling mode 20tory/367656/news/nation/pnp-crime-up-by-17-
by removing the line track. Implement a trackless percent
Autonomous Patrolling Mode;
2. The creation of a charging station to supply power to [9] Pedersen L. 2012. CCTV (closed circuit
the ArGUS in case it senses a low battery condition. television). Retrieved from
http://whatis.techtarget.com/definition/CCTV-
3. The creation of the mobile or computer application closed-circuit-television
that would support the controlling and intrusion
detection capabilities of the ArGUS;
[10] Quer, J. (2014). Arduino UNO. Retrieved From
4. Creation of more Arduino program libraries that can http://docs-
easily support the capabilities of an open hardware. europe.electrocomponents.com/webdocs/0e8b/0900
766b80e8ba21.pdf
6.REFERENCES
[11] Rouse M. (2014) DTMF (dual tone multi
frequency) definition. Retrieved from
[1] Adafruit Industries. PIR Sensor 2014. http://searchnetworking.techtarget.com.definition
Retrieved from https://learn.adafruit.com/pir- /DTMF
passive-infrared-proximity-motion-
sensor/overview
[12] Walker ,S. and .M Katz 2002. The police in
America. An Introduction. 4th ed Boston
[2] Arduino. Arduino GSM Shield. 2015. McGrawHill. .
Retrieved from
http://arduino.cc/en/Guide/ArduinoGSMShield