You are on page 1of 89

ANTI-THEFT SYSTEM FOR MANDAUE MOTORISTS

A Capstone Project

Presented to the

Department of Information and Computer Technology

BENEDICTO COLLEGE

A.S. Fortuna St., Bakilid, Mandaue City

In Partial Fulfillment

of the Requirements

for the Degree

Bachelor of Science in Information Technology

By

KRYSTELLE MANHILOT ARCILLO

JONAS ABAYON SAYCON

May 2020
APPROVAL SHEET

This Capstone Project entitled “ANTI-THEFT SYSTEM FOR MANDAUE


MOTORISTS’’ prepared and submitted by KRYSTELLE MANHILOT ARCILLO,
and JONAS ABAYON SAYCON in partial fulfillment of the requirements for the
degree Bachelor of Science in Information Technology has been examined and
recommended for approval and acceptance.
RECOMMENDED:

MR. CHRISTIAN GARCIA MS. JENNIFER S. POVADORA


Adviser Project Design Instructor

MITCH E. CORTES, MATCS


Dean, DICT

APPROVED by the Committee on Oral Examination with a grade of PASSED.

MR. CHRISTIAN GARCIA MS. JULIE AIKA PERALES


Adviser Panel Member

MR. PAULE GLENN ACUIN MARIA SHEENA M. VENANZUELA, MEd


Panel Member Panel Member

MITCH E. CORTES, MATCS


Chairman

ACCEPTED and APPROVED in partial fulfillment of the requirements in Bachelor of


Science in Information and computer technology.
Oral Defense: February 24, 2020

MITCH E. CORTES, MATCS


Dean, DICT
DEDICATION
ACKNOWLEDGEMENT

First and foremost, the researchers would like to thank the Almighty God for

showering His blessings throughout the whole process of the project, for guiding from the

start to finish that made the project successful, and for being the strength despite all the

challenges being faced. The researchers would also like to thank the following;

Mr. Mitch Cortes, dean, Department of Information and Computer Technology,

for imparting his expertise to produce good quality output;

Ms. Maria Sheena Venanzuela, panelist, for her good criticism on the project

that helped expand the knowledge of the researchers to come up with great ideas and

details which led to the realization of her expectations;

Ms. Jennifer Povadora, Project Design I and II coordinator, for organizing the

schedules of the defense, for understanding and listening to the project concerns, and for

reminding the researchers to do their tasks;

Mr. Christian Garcia, Capstone adviser, for sharing his ideas, time, and effort

despite busy schedule; as well as, for all his support and advice to make the project

successful;

Ms. Julie Aika Bongo Perales, grammarian, for her time and effort in reviewing

the documents and for the guidance provided as to observe proper diction;

Mr. Paquito Arcillo and Mrs. Ma Cristina Arcillo and Mr. Teofanes Saycon

and Mrs. Mercedita Saycon, for the love, care and financial support;
Mr. Webster Dave Bontilao and Mr. Criteto “TOOTS” Arcillo, for the time

and effort, who never let things get dull, and for always being there making the

researchers happy; and,

Finally, the researchers would like to thank all of those who have helped them

during their difficulties in working with the project- when they felt confused and

stumped; for the motivation given for them to finish the project as a key to reaching their

dream and earning a degree. This would not have been possible without their undying

support and unconditional love.

KRYSTELLE M. ARCILLO

JONAS A. SAYCON

Researchers
ABSTRACT

Title : ANTI-THEFT SYSTEM FOR MANDAUEMOTORISTS

Researcher : KRYSTELLE MANHILOTARCILLO

JONAS ABAYON SAYCON

Degree : BACHELOR OF SCIENCE IN INFORMATION

TECHNOLOGY

Adviser : MR. CHRISTIAN GARCIA

Institution : BENEDICTOCOLLEGE

Address : A. S FORTUNA ST., MANDAUE CITY

Year Completed : 2020 No. of Pages: 88

This study assessed the Anti-Theft System for Mandaue Motorists during the academic

year 2019-2020 as an effective solution for motorcycle theft. This system helps lessen the

number of stolen motorcycles in Mandaue City. Arduino Technology is used in this

project, particularly the Arduino Mega 2560, Ublox Neo-6M GPS, SIM900 GSM/GPRS,

and a 1 channel relay module. The hardware is hidden or placed in the compartment of

the motorcycle. This project uses a mobile application system that allows the motorist to

enable (turn on) or disable (turn off) the engine of the motorcycle and get its location by

sending unique codes to the GSM module.


TABLE OF CONTENTS
PAGE

TITLE PAGE I

APPROVAL SHEET ii

GRAMMARIAN’S CERTIFICATE iii

DEDICATION iv

ACKNOWLEDGEMENT v

ABSTRACT vi

TABLE OF CONTENTS vii

LIST OF FIGURES viii

LIST OF TABLES ix

Chapter 1:
INTRODUCTION

Project Context 1

Purpose and Description of the Project 2

Objectives of the Project 2

 General Objective 2

 Specific Objective 2

Scope and Limitations of the Project 3

 Scope 3

 Limitations 3

Significance of the Study 4

Chapter 2:

REVIEW OF RELATED LITERATURE AND SYSTEMS 6


 Theoretical Background 6

 Related Literature 8

 Related Systems 10

Chapter 3:

TECHNICALBACKGROUND 12

 Statistical Computation 13

 System Development 16

 Peopleware 18
Chapter 4:

METHODOLOGY 19

 Operational Feasibility 19

 Flowcharts 19

 Use Case Models 23

Technical Feasibility 33

Schedule Feasibility 35

Economic Feasibility 37

Conclusions and Recommendations 39

 Conclusions 39

 Recommendations 39

Chapter 5:

OUTPUT OFTHE STUDY 40

 The Rationale of the Study 40

 Target Clientele 40

 Scheme of Implementation 40
 Definition of Terms 40

BIBLIOGRAPHY 43

APPENDICES 45

A. Transmittal Letter 46

B. Survey Questionnaire 47

CODES 48

OPERATIONALMANUAL 63

CURRICULUMVITAE 74
LIST OF FIGURES

Figure Page no.

1 The Technical Framework of the Project 9

2 Circuit Diagram of the System 10

3 User Flow Chart 12

4 Arduino Module Flow Chart 14

5 Business Use Case of the System 16

6 Enable Engine System Use Case 17

7 Disable Engine System Use Case 19

8 Get Location System Use Case 21

9 Setting Arduino Number System Use Case 23

10 Schedule Feasibility Gantt Chart 28

11 The Flow of the Technical Background of the Project 33

12 Length to recover stolen motorcycle 35

13 Survey Question 2 to Question 5 36


LIST OF TABLES

Table Page no.

1 The flow of the Enable Engine System Use Case 26

2 The flow of the Disable Engine System Use Case 28

3 The flow of the Get Location System Use Case 30

4 The flow of Setting Arduino Number System Use Case 32

5 List of Equipment used during System Development 38

6 List of Tools and Software used in System Development 17

7 List of Hardware used in System Development 17


1

Chapter 1

INTRODUCTION

Project Context

Owning a motorcycle does not only give happiness to the rider, but it also has

other benefits such as affordability, convenience, and is also easy to maintain. A

motorcycle has different purposes. This can be used for commuting, an alternative for

buses and cars, long-distance travel, and can be used for sports like motocross. Due to

this, it is important not to lose the motorcycle.

Motorcycles are one of the types of vehicles that are found easy to steal. And one

of the major problems that vehicle owners face is robbery or theft. This is also considered

one of every owner’s biggest fear aside from crashing. Vehicles typically get stolen for

some reason. some people steal the motorcycle simply to joyride around, others steal the

motorcycle to commit additional crimes, and others steal motorcycles to strip the parts off

then sell them.

According to the Motorcycle Theft Statistics in the United States, the stealing of

motorcycles has always been rampant, as these vehicles are very easy to haul in a van. In

the state comparison in the US, the state of California has the highest number of incidents

with 7,532 recorded cases of stolen motorcycles (trackimo.com). While based on the

interview conducted and reports at the Philippine National Police – Highway Patrol

Group (PNP-HPG), it is clear that motorcycle theft is rampant in Cebu provinces. It

showed in their record that motorcycle theft incidents are increasing each year and that

most of the stolen motorcycles are not found or returned. There are reports wherein a

total of 58 motorcycles are stolen in a month and only 3 are retrieved. A total of 42 are
2

stolen and not even one is returned. When it comes to local news reports, there was a 40-

year-old man that stole a motorcycle in Paknaan Mandaue City in March 2019. (Sunstar)

Due to these instances, a fast response is very much needed. This prompted the

researchers to develop a device that is an Arduino-operated anti-theft motorcycle system

that tracks a stolen motorcycle using (GSM) Global System for Mobile, and (GPS)

Global Positioning System.

Purpose and Description of the Project

The main purpose of the system is to reduce stolen motorcycle theft incidents.

This project is concerned with the designing and development of the GSM car security

system which can be used for the commercial project of motorcycles. Once the

motorcycle is being stolen, the owner can communicate with the motorcycle by locating,

activating, and deactivating the motorcycle for the information will be transmitted to the

cellular phone of the vehicle owner through a mobile application. The microcontroller

will be used to interface with the GSM modem in the event of data transmission.

OBJECTIVES OF THE PROJECT

General Objective

The main objective of this proposed system is to design and develop advanced

motorcycle tracking and an anti-theft system.

Specific Objective

The specific objectives of this study are as follows:

1. To effectively track a motorcycle using GPS


3

2. To design and construct a remotely controlled vehicle anti-theft system via a GSM

network

3. To be able to access the vehicle subsystems from a remote/distant location where

there is GSM coverage, and

4. To develop an Android Application for communication with the Arduino

SCOPE AND LIMITATIONS OF THE PROJECT

Scope

The scope of this project is to develop a motorcycle anti-theft system interfaced

with a microcontroller unit (Arduino), GSM, and GPS module. Within the scope of this

project, the prototype model is equipped with a dedicated SIM (Subscriber Identification

Module). This system is only applicable for Android Smartphones with an OS version of

marshmallow and above. The system uses a mobile application to communicate with the

Arduino There must be a battery for the system to function. The system does not provide

real-time information about the location. Each user has a unique system. And lastly, the

Arduino sim and the user must have a prepaid load for them to communicate.

Limitations

The researchers expected a list of limitations along the way considering the scope

stated above. The limitations of the project outcome cover the following;

● The Application does not support iOS;

● The system output varies depending on the weather condition;

● The system will not be able to communicate when there is no network coverage; and
4

● The accuracy of the location varies depending on the satellite’s availability.

Significance of the Study

The aim is to develop a motorcycle anti-theft system with SMS for motorists in

urban and rural communities. Moreover, it will be very advantageous to the following;

Rural and Urban Communities. This result will provide the families in rural and

urban areas with some knowledge on how motorcycle theft incidents can be avoided. This

study will give suggestions on how to improve motorcycle theft prevention which in turn

may result in better opportunities.

At the end of the study, it will give the motorist realization that stolen motorcycle

incidents have been a major problem to the communities.

Motorcycle owners. Our project can help prevent and reduce motorcycle theft by

creating this anti-theft system. The proposed study will benefit the individual members of

motorists in rural and urban communities in terms of preventing stolen motorcycles such

as stolen for joyriding, use in committing crimes, stripping, scraping, or reselling.

Also, it offers assurance on their part in the sense that they make use of a

motorcycle anti-theft system.

School. This will help them determine the strengths and weaknesses of a certain

program based on the responses of the researchers. It will also help to determine what

specific areas they should focus more on and further enhance to make the program more

responsive towards preparing the students for their future professions.

DICT Department. This study would enable the DICT department to provide an

environment of learning, encouraging students to conduct research that has a valid impact

on society and industry. It will also help the students to assess and make some
5

observations of how effectiveness affects student performance. By observation, it can

also determine if the methodologies and strategies are also effective or not.

Future Researchers. This study would help the student researchers to be aware

and knowledgeable of the processes involved in the ANTI-THEFT SYSTEM FOR

MANDAUE MOTORISTS. It would help them to be a better analyst and it can be a help

as a future reference for more studies in the future. It can be their basis and pattern that

can help them with their research for it to have a strong foundation.
6

Chapter 2

REVIEW OF RELATED LITERATURE AND SYSTEMS

Theoretical Background

This study assessed the Anti-Theft System as an effective solution for the theft of

motorcycles in Mandaue City.

This premise is supported by the Arduino Technology of David Cuartielles and

Massimo Banzi.

Arduino is an open-source electronics platform based on easy-to-use hardware

and software. Arduino boards can read inputs - light on a sensor or a finger on a button-

and turn it into an output - activating a motor, turning on an LED. You can tell your board

what to do by sending a set of instructions to the microcontroller on the board. (Arduino.

cc).

In Arduino, the user uses a mobile application that could enable and disable the

engine and returns the current location of the motorcycle. Each user is given their system

with a unique code to prevent others from tampering with the hardware placed in the

motorcycle.

Many projects are designed around Arduino that aim to help clients in preventing

and avoiding stolen motorcycles. This application is effective; however, there are

multiple ways a thief could take control of the motorcycle, like inserting small, pointed

materials in the ignition key. This is where the Motorcycle Anti-theft System is coming

into play using GSM and GPS modules to send SMS to the user.

The modules of the Arduino are Arduino Mega 2560, SIM900 GSM/GPRS

Shield, Ublox Neo-6M GPS, and 1 Channel Relay Module.


7

Figure 1 The Technical Framework of the Project


8

Modules used in this project as shown in Figure 1 are the Arduino Mega 2560. It

is designed for projects that require more I/O lines, more sketch memory, and more. With

54 digital I/O pins, 16 analog inputs, and a larger space for your sketch, it is the

recommended board for 3D printers and robotics projects (Arduino. cc).

The SIM900 GSM/GPRS shield is a GSM modem, which can be integrated into

a great number of IoT projects. You can use this shield to accomplish almost anything a

normal cell phone can. (lastminuteengineers.com)

The Ublox Neo-6M has a chip that can track up to 22 satellites on 50 channels.

One of the best features the chip provides is Power Save Mode. It allows a reduction in

system power consumption by selectively switching parts of the receiver ON and OFF.

(lastminuteengineers.com)

The Relay Module acts as a switch that responds to a signal received from the

Arduino, it has an integrated LED that indicates if the signal is high or

low(arduinomodules.info).

The system is placed around the compartments of the motorcycle. This allows for another

level of motorcycle insurance to be implemented within the motorist. A motorcycle will

be used for the proposed Anti-Theft System for Mandaue Motorists.

Related Literature

As mentioned earlier in the previous chapter, the cost factor plays a very

important role in this project. Subsequently, designing a system with the objectives

mentioned above requires research and studies that are described in this chapter. This

chapter will include three subtopics, a previous case study on anti-theft device systems,

hardware, and software studies.


9

The group of researchers has created a design that controls other electrical

equipment by using SMS as a way to switch on or off devices. This circuit can control the

devices by sending the specific SMS through a mobile phone. The circuit is very simple

where it uses the relay as a switch and AT commands as modem commands.

According to Jusoh, Annuar, et al (2015), the Motorcycle theft crime index still

recorded the highest crime in our country with many cases of losses reported at the police

station. This happens due to the lack of security systems on the vehicle. Another reason is

due to the negligent attitude of the owner of the security measures taken in charge of the

vehicle and the attitude of the owner. These problems at hand lead to the creation of a

model of a motorcycle safety system using Radio Frequency Identification (RFID) and

Global System of Communication (GSM) for controllable and improved safety on

motorcycles. According to the latest crime rate index, motorcycle theft crime record was

high compared with the criminal cases of other types of vehicles such as cars. RFID is a

new method in a very efficient security system for smaller areas and limited to a certain

distance communication. This system will be detected by an identification tag that was

created specifically for these tools while adding some mobile phones and GSM as an

intermediate device that connects to a device microcontroller. This system provides the

best possible level of safety for motorcycle users from hackers or thieves.

(ir.utem.edu.my)

Noraishahbt. Mohd Tahir(2012) has designed a security system used for

motorcycles. The system used the limit switch as the sensor of the system to trigger the

circuit. The limit switch is placed at the double stand of the motorcycle where it functions

as a sensor to indicate any movements at the motorcycle while the system is in on mode.
10

When intruders want to move the motorcycle, it automatically triggers the

microcontroller circuit to send the notification SMS to the owners to follow up on

actions. From these two related works, it is stated that both of these related works are

using GSM modem or modified handphones to send SMS to the owner to inform when

there is an intruder who is similar to the objective of this project. Both works also use the

AT command to interface with microcontrollers. The differences are that both works

using different microcontrollers and different applications. (umpir.ump.edu.my)

As stated by Jake M. Laguador and Moulle M. Chung(2013), Car vehicles are one

of the most valued possessions nowadays, and having one of these in the Philippines

most especially to ordinary company employees is very difficult to become a reality, and

losing it is a cruel imagination if it happens. Android technology is increasingly being

used on a range of devices; the most common hardware to use on this platform is mobile

phones. Security has always been an issue due to increasing crime rates most especially

in developing countries. Therefore, technology is being used as a tool to provide greater

safety as a preventive action to lessen the probability of car theft but due to unavoidable

circumstances, corrective action is still an alternative plan. (academia.edu)

Related Systems

According to the study entitled “Development of vehicle tracking system using

GPS and GSM modem” of Hoang Dat Pham et al. (2013), the ability to track vehicles is

useful in many applications including the security of personal vehicles, public

transportation systems, fleet management, and others. Therefore, the development of a

vehicle tracking system using GPS and GSM modem is undertaken to enable users to

locate their vehicles with ease and in a convenient manner. The system
11

will provide users with the capability to track vehicles remotely through the mobile

network. (ieee.org)

As stated by R.Ramani et al. (2013) in their research entitled “Vehicle Tracking

and Locking System Based on GSM and GPS”, almost all of the public has their vehicle,

theft is happening in parking and sometimes driving unsecured places. These systems

constantly watch a moving Vehicle and report the status of demand. When the thief is

identified, the responsible person sends SMS to the microcontroller, then the

microcontroller issues control signals to stop the engine motor.

(pdfs.semanticscholar.org) According to Dr. Jeffrey P. Maranan (2017) Theft of vehicles,

in particular, two-wheeled vehicles such as motorcycles and the like, which can be easily

rolled away, continue to be a safety concern, a personal annoyance, and an economic

issue. (patents.google.com)
12

Chapter 3

TECHNICAL BACKGROUND

Figure 11 The Flow of the Technical Background of the Project


13

This chapter presents Figure 11 - the Flow of the Technical Background of

the Project; Anti-Theft System for Mandaue Motorists.

As shown on page 35, an observation was made by the researchers followed by

the survey. When conducting the survey, respondents were given questionnaires that they

can answer, and Statistical Computation was made after gathering all the respondents'

answers.

The researchers’ observation given this system is that it is built to disable the

engine of the motorcycle and returns the motorcycle’s current location by sending it

through an SMS to the owner. With this concern, the researchers found an opportunity to

make a system that will give the clients a convenient way of preventing motorcycle theft

incidents and reducing the number of stolen motorcycles yearly, and helping the law

enforcement units to locate and respond to the location. Through the system, the owner of

the motorcycle is the only authorized person who can send a code to locate and disable

the engine of the motorcycle. In this way, it helps the owner respond quickly in case of an

incident.

STATISTICAL COMPUTATION

The succeeding figures present the statistical computation of the project and the

data gathered from the survey from the people of Mandaue City.

As seen in Figure 12, out of the 12 respondents, 58% answered that it takes

months to recover a stolen motorcycle, 25% answered it takes weeks, and 17% of

respondents answered days.


14

Figure 12. Length to recover stolen motorcycle


15

Figure 13. Survey Question 2 to Question 5


16

Figure 13 answers the questions that follow;

Question 2.) Have you ever had a motorcycle stolen in the city before?

Question 3.) Do you consider your motorcycle secure?

Question 4.) Do you equip your motorcycle with an anti-theft device?

Question 5.) Would you consider investing in a security device on your

motorcycle?

Based on Figure 13 Question 2, among the 12 respondents, 67% had their

motorcycle stolen in the city before and 33% of them never had a motorcycle stolen in the

city.

On the third question, 100% answered that their motorcycles were not secured.

On the fourth question, out of the 12 respondents, 25% of them equip their

motorcycles with anti-theft devices while on the other hand, 75% of the respondents

don’t equip their motorcycles with anti-theft devices.

On the last question, 83% of the respondents would consider investing a security

device on their motorcycles.

SYSTEM DEVELOPMENT

The succeeding tables present the list of Tools, Software, Hardware, and

Peopleware in System Development.


17

Table 6 shows a list of tools and software used in system development. Arduino and VS

code IDE compile the code for both the hardware and software. Flutter is used as a kit for

android development.

Table 6
List of Tools and Software used in System Development

SOFTWARE USES

Arduino IDE This will compile the codes of Arduino that will execute the
program.

Visual Studio Code This is used as the text editor for coding the Android
application.

Flutter An open-source UI software development kit created by


Google. It is used to develop applications for Android, iOS,
Windows, Mac, Linux, Google Fuchsia, and the web

Table 7 shows the list of hardware used in system development. Arduino

Mega2560 is used as a controller to the following modules: GSM, GPS, and Relay. GSM/

GPRS module is used to send and receive SMS. The relay Module acts as a switch for the

main engine of the motorcycle. The GPS module returns the current location.

Table 7
List of Hardware used in System Development

HARDWARE USES

Arduino Mega 2560 The board is an excellent solution for developing projects based
on ATmega2560. Even though it is an Embed board, it is solid as
stable as the Mega Board. It uses the original chip, and 16 MHz
high-quality quartz resonators are present on the board.

SIM900 GSM/ It is a chip or circuit that will be used to establish


GPRS Shield communication between a mobile device.

Relay Module An electrically operated switch that can be turned on or off,


letting the current go through or not, and can be controlled with
low voltages, like the 5V provided by the Arduino pins.
Ublox Neo-6m GPS Is used to determine position using latitude and longitude.
(Global Positioning
System)
18

Peopleware

This is where we describe the role of the researchers that are making this project.

For this project, there is a Project Manager, a System Analyst or Database Designer,

Network Designer or UI Designer, a Software Engineer or Programmer, and a QA Tester

or Technical Writer.

The Project Manager, System Analyst/Database Designer, UI Designer,

Programmer, and QA Tester/Technical Writer is Krystelle M. Arcillo. Also, Part of the

Programmer and QA Tester/Technical Writer is Jonas A. Saycon.


19

Chapter 4

METHODOLOGY

Operational Feasibility

Flowchart

A Flowchart is a type of diagram that represents a process of the system

and through this, it will be easy to understand what the task is about. A flowchart

can also be defined as a diagrammatic representation of an algorithm, a step-by-

step approach to solving a task.

The following Flowchart shows the relationship between the user and the

system.

Figure 3 shows the User Flowchart. The user needs to input the Arduino

number first. After setting everything up in the application, the user can already

communicate with the device by sending a specific SMS code or message (either

it is to enable the motorcycle engine, to disable the motorcycle engine, or to get

the location of the motorcycle) using the Anti-Theft System Mobile Application

to the Arduino Mega 2560 that is placed inside the compartment of the

motorcycle composing of a SIM900 GSM/ SIM.

After receiving the code, the Arduino checks on what code is received. If

it is to enable (turn on) the engine, then the Arduino sends a notification/return

message to the user that it has been enabled. If it is to disable (turn off) the engine,

then the Arduino module sends a notification/return message to the user that the

engine has been turned off and the current coordinates of the stolen motorcycle. If

it is to get the location the coordinates are received.


20

Figure 3 User Flow Chart


21

Page 14 shows Figure 4 - the Arduino Module flowchart in figure 3, the user

sends a message to the device. In Figure 4, the message sent by the user has been

received. It is received by the GSM module that communicates with the Arduino Mega

which helps check what is the user’s request to enable a motorcycle engine, to disable a

motorcycle engine, or to get the location of the motorcycle.

If the code received is for enabling, it allows the user to use the motorcycle by

turning on its engine. The engine of the motorcycle is to be enabled/turned on through a

switch (Relay Module) and shows a notification to the user that a message has been sent

through the app enabling the engine.

If the code received is for disabling, it does not allow the user to use the

motorcycle by turning off its engine. The engine of the motorcycle will be disabled

through a switch (Relay Module). It also shows a notification to the user that a message

was sent through the app disabling the engine and it sends a one-time message the

coordinates of the location to where the motorcycle is and shows on the map through the

mobile application.

If the code received is to get the location, the GSM module communicates with

the Arduino Mega that also communicates with the GPS tracker. Once the location is

detected, it will be forwarded to the GSM module that sends the coordinates of the

motorcycle's location to be seen on the map through the mobile application. Also shows a

notification that a message has been sent as requested.

The current status of the motorcycle does not affect the get location option.

Whether the current status of the motorcycle is enabled or disabled, the user can still send

a request or message and know the current location of the motorcycle.


22

Figure 4 Arduino Module Flow Chart


23

Use Case Models

A Use-Case Model is a model of how different types of users interact with the

system.

There are two types of Use Case representing:

● Business Use Case - is used to represent the functionality provided by an

organization as a whole; and

● System Use Case - focus on the part of the process to be implemented by

the system. Normally written at a level of detail equivalent to a detailed functional

specification.

Shown on page 16 is Figure 5 - Business Use-Case of the System. The diagram

shows the user’s interaction with the system. The user can set up the Arduinos contact

number which is the first thing that the user should do so that the app can be used and

that it can communicate with the modules placed in the compartment of the motorcycle.

The user can also enable the motorcycle’s engine, disable the motorcycle's engine, and

get the current location of the motorcycle. The use case diagram shows that the user can

send and receive SMS data or return messages coming from the module.

As explained on page 13, if the code sent is to enable, a toast notification is shown

“enable code sent” and the motorcycle is usable. If the code sent is to disable, then an

SMS is sent to the user with the coordinates of the motorcycle’s location, a toast

notification is shown “disable code sent” and the motorcycle is no longer usable. If the

code sent is to get the location, it also shows a toast notification “get location code sent”

and the user will receive a message that contains the coordinates of the current location to

where the motorcycle is.


24

Figure 5 Business Use Case of the System


25

Figure 6 Enable Engine System Use Case


26

Use Case Name: Enable Engine System Use Case

Triggering Actor: Owner

Benefiting Actor: Owner

Purpose: To be able to turn on the engine of the motorcycle.

Pre-condition: To send the enable code allowing the motorcycle to be turned on.

Post-condition: Motorcycle engine turns on.

Table 1

The flow of the Enable Engine System Use Case

Owner System

1. Click the app

2. Load App

3. Click Enable Button

4. GSM module receives enable

code

5. Turn On the motorcycle engine

Table 1 shows the flow of the system when the enable button is clicked by the

owner. The owner clicks the application, and the system loads the application. When the

application has successfully loaded the user can already use the app. When the enable

button is clicked, the GSM module receives the enable code then the system turns on the

motorcycle engine.
27

Figure 7 Disable Engine System Use Case


28

Use Case Name: Disable Engine System Use Case

Triggering Actor: Owner

Benefiting Actor: Owner

Purpose: To be able to turn off the engine of the motorcycle.

Pre-condition: To send the disable code and turn off the motorcycle and get the

location of the motorcycle.

Post-condition: The motorcycle engine turns off and sends the location

of the motorcycle to the owner.

Table 2

The flow of the disable Engine System Use Case

Owner System

1. Click the app

2. Load App

3. Click Disable Button

4. GSM module receives disable

code

5. Turn Off motorcycle engine

6. Sends coordinates of the location

of the motorcycle

Table 2 shows the flow of the system when the disable button is clicked. The

owner clicks the app and waits to load. Disable button is clicked, the GSM module

receives the code then the system turns off the motorcycle engine, and lastly, the

coordinates of the motorcycle’s location will be sent to the owner.


29

Figure 8 Get Location System Use Case


30

Use Case Name: Get Location System Use Case

Triggering Actor: Owner

Benefiting Actor: Owner

Purpose: To be able to get the current location of the motorcycle.

Pre-condition: To get the coordinates of where the motorcycle is.

Post-condition: Receives the coordinates

Table 3

The flow of the Get Location System Use Case

Owner System

1. Click the app

2. Load App

3. Click Get Location Button

5. GSM module receive get


location code
6. Sends coordinates of the
location of the motorcycle

Table 3 shows the flow of the system when the get location button is clicked.

The owner clicks the application, and the system loads the application. When the

application has successfully loaded the user can already use the app. The Get Location

button is clicked, the GSM module receives the code that the owner is asking and then the

system sends the location of the motorcycle through an SMS to the mobile app, then the

mobile app will display the location with a pin in the map.
31

Figure 9 Setting Arduino Number System Use Case


32

Use Case Name: Setting Arduino Number System Use Case

Triggering Actor: Owner

Benefiting Actor: Owner

Purpose: To be able to communicate with the modules placed in the

motorcycle.

Pre-condition: To input and save the Arduino number.

Post-condition: Can send codes (disable/enable engine, get location) and

communicate with the system.

Table 4

The flow of Setting Arduino Number System Use Case

Owner System

1. Click the app

2. Load App

3. Click the Settings tab

4. Displays Text Field

5. Input Arduino Number

6. Click Save Button

7. Saves the inputted number

8. Closes the Field

Table 4 shows the flow of the system when the settings tab is clicked. The owner

clicks the app and waits to load. The settings tab is clicked, and a text field is displayed.

Arduino number is inputted then saved by the owner.


33

Technical Feasibility

The Anti-Theft System for Motorcycles includes the following main features;

It has an Arduino board that serves as the microcontroller for the system. A

SIM900 GSM/GPRS Shield module is used to establish communication between a

mobile device and the user. Ublox NEO-6M GPS module is used to determine the

position (longitude and latitude). A Relay Module is used to control or switch devices

that use higher power. An Arduino IDE will be used as the compiler for the

microcontroller code. Flutter will be used as a toolkit for developing the Android

application that is used in the system to activate/deactivate the location tracking and

Visual Studio Code will be used as the text editor when creating the Android application.
34

Figure 2 Circuit Diagram of the System


35

Schedule Feasibility

The scheduling feasibility shows the activities made throughout the

implementation of the project. It includes the starting date and ending date of the project.

Figure 10 shows the activities during the analysis, planning, designing, implementation,

and maintenance phase of the project.

As shown in Figure 10, the Planning of the project ranged from July to

September. In the planning stage, forming the team and assigning each team member a

position and task was made. These tasks consist of both procuring the materials to be

used and developing the system.

The analysis stage was from august to November. In this stage, the team analyzed

the project title and the equipment to be used in the system. The software used for

development is also identified in this timespan.

The Design of the project is from October 2019 to February 2020. Here includes

the designing of the circuit diagram and hardware positioning and wiring of the

motorcycle. The initial system is also created in parallel or the later phase of the analysis

period.

Implementation of the project is from February to March. Development, unit

testing, user-acceptance testing, placing the hardware into the compartment of the

motorcycle, documentation like taking videos, pictures, and audio is done at this stage.

March and the succeeding months will be for monitoring and the maintenance of

the project. The hardware and the wirings will be checked at this stage. Whenever the

researchers encountered problems during this stage, they did parallel fixing of the system

whether it would be the hardware or the software side.


36

Figure 10 Schedule Feasibility Gantt chart


37

Economic Feasibility

Cost/Benefit Analysis provides adequate cost and benefit information about the

system throughout and after the development period. This technique is conducted to

evaluate if investing in this system is beneficial to the business owner and to estimate the

possible costs for the development of the proposed system. As can be seen, Table 5,

contains the costs that were incurred during system development.

There are two tables representing Development and Operational.

● DEVELOPMENT COST- The development costs are those that are spent

during the development of the system. These are the costs that the researchers

incurred for the materials used and the accommodations when creating the project.

● OPERATIONAL COST- The operational costs are those that are spent

after the implementation of the system. Sometimes referred to as revenue or

running costs, these are the costs incurred resulting from the day-to-day running

of the system.

Software Cost

Item Cost

Arduino IDE ₱0.00

Flutter ₱0.00

Visual Studio Code ₱0.00

Total Cost: ₱0.00


38

Table 5

List of Equipment used during System Development

EQUIPMENT QNTY UNIT PRICE PRICE (Php)


Arduino Mega 2560 Pro 1 1,100.00 1,100.00
Bread Board 1 110.00 110.00
Battery 1 950.00 950.00
D Electrical tape 1 35.00 35.00
E Gasoline 100.00 100.00
V GSM a6 Pro 1 950.00 950.00
E GSM Adaptor 2 200.00 400.00
L
Jumper Wires 2 150.00 300.00
O
Load 95.00 95.00
P
Mechanic Fee 500.00 500.00
M
E Neo6M GPS 2 890.00 1,780.00
N Pin Headers 2 16.00 32.00
T Print 1095 1,095.00
Ublox Neo6M with antenna 1 995.00 995.00
C USB type flat cord 1 150.00 150.00
O TOTAL 8,592.00
S EQUIPMENT QNTY UNIT PRICE PRICE (Php)
1 Channel Relay 1 150.00 150.00
T
Arduino Mega 2560 1 995.00 995.00
M O Car Charger 1 280.00 280.00
E P Container 1 115.00 115.00
N E Junction Box 1 25.00 25.00
R
T A
Perf Board 2 50.00 100.00
Pin Headers 5 16.00 80.00
T
SIM 900 GSM Shield 1 1,899.00 1,899.00
I
O Soldering Lead 3 15.00 45.00

N Solid Wire 3 5.00 15.00


A Ublox Neo-6M GPS 1 995.00 995.00
L USB type jack barrel cord 1 100.00 100.00
Wire 4 19.00 76.00
TOTAL 4,875.00
39

CONCLUSION AND RECOMMENDATIONS

Conclusion

Based on the results of the survey presented in Figure 7 and Figure 8, the

researchers conclude that an Anti-theft System will be made. Hence, the researchers

developed the Anti-theft System for Mandaue Motorists using Arduino technology to

help lessen the number of stolen motorcycles. The system gives information on the

location of the stolen vehicle using GPS-GSM technology. It is easily installable and

easily accessible. The system is not limited to finding the location of the target but also

deactivating the engine through sending SMS. If this project is implemented, it will

reduce vehicle loss due to theft.

Recommendations

After a very careful, thorough research and analysis process, here are some

recommendations from the researchers to enhance future work or study of this

application;

1. Survey other possible areas that need an Anti-theft system; and,

2. Explore other ways how to prevent theft such as notifying the owner when the side or

center stand is raised without the owner's consent.


40

Chapter 5

OUTPUT OF THE STUDY

Rationale

Motorcycle theft is becoming rampant in both rural and urban communities in the

Philippines. Smartphone users are also increasing to date. With these given scenarios, the

developers took the chance to develop a system that would prevent motorcycle theft

through the use of smartphones and other simple devices.

Target Clientele

This project is for the people in Mandaue City that own a motorcycle either a

manual motorcycle or an automatic motorcycle.

SCHEME OF IMPLEMENTATION

Concerning the data at hand, the Anti-theft application developed will serve as an

improvement in the prevention of theft against motorcycles in both rural and urban

communities. It is deemed budget-friendly without sacrificing the effectiveness of the

system.

The system provides the next level of security or can serve as another means of

insurance for motorcycles, which are most likely prone to theft, especially within remote

areas. This provides a sense of relief to motorcycle owners about their motorcycles.

DEFINITION OF TERMS

To understand the terms used in the study, the following is hereby defined:

Anti-Theft System

These are devices that prevent unauthorized access to Cars or other mobile

systems. This kind of system is used for motorcycles.

Arduino

It is an open-source electronics platform based on easy-to-use hardware and


41

software. A microcontroller is used to operate the system.

Global Positioning System

It is a navigational system using satellite signals to fix the location of a radio

receiver on or above the earth's surface. This device is used to get the location of the

motorcycle.

GSM/GPRS module

It is a chip that connects to the GSM Network using a SIM (Subscriber Identity

Module). This is a device used to transmit and receive data.

Motorcycle

It is an automotive vehicle with two in-line wheels. A motorcycle is used during

the implementation of the project. This is where Arduino Technology is placed.


42

BIBLIOGRAPHY
Edit this. Insert the words or lines that you got
Follow this 43
from Merriam. Do like how you present in
sample. Then Letter B.
present like this.
In alphabetical BIBLIOGRAPHY

A. Books

[1] “Et al.” Merriam-Webster.com Dictionary, Merriam-Webster,

https://www.merriam-webster.com/dictionary/et%20al. Accessed 19 Feb. 2022.

[2] “Methodology.” Merriam-Webster.com Dictionary, Merriam-Webster,

https://www.merriam-webster.com/dictionary/methodology. Accessed 20 Feb. 2022.

[3] “Subsequently.” Merriam-Webster.com Dictionary, Merriam-Webster,

https://www.merriam-webster.com/dictionary/subsequently. Accessed 19 Feb. 2020.

[4] “Annoyance.” Merriam-Webster.com Dictionary, Merriam-Webster,

https://www.merriam-webster.com/dictionary/Annoyance. Accessed 19 Feb. 2020.

B. Published Materials

[1] Drieberg, M. et al “Development of vehicle tracking system using GPS and GSM

modem, Universiti Teknologi Petronas, Malaysia 2013

[2] Dr. Jeffrey P. Maranan “Motorcycle Anti-Theft and

Safety Device”, March 3, 2019

[3] Sunstar Publishing Inc. (2019) “Pagpangawat og motor saponsa CCTV”

sunstar.com.ph/article/1796650, March 13, 2019

[4] R.Ramani et al (2013) “Vehicle Tracking and Locking System Based on GSM

and GPS, Department of ECE, V.M.K.V. Engineering College, TN, India, August 2013

C. Unpublished Materials

[1] Chung, M. et al (2013) “Anti Car Theft System using Android Phone”

Lyceum of the Philippines University 5, J UNE 2013

[2] Ramlan, M. (2012) “GSM CAR SECURITY SYSTEM” Universiti Malaysia Pahang

May 2012.
44

Thomas, A. (2019) “Motorcycle Theft Statistics in the United States”

450 Seventh Avenue, Suite 1408, New York, NY, USA, 10123, April 16, 2019

D. Internet Source

[1] “Arduino Mega 2560”. (n.d.) https://www.electronicshub.org/gsm-gprs-

module/

[2] “GPS Receiver Module”. (n.d.) https://www.electronicwings.com/sensors-

modules/gps-receiver-module

[3] “GSM/GPRS Module”, https://www.electronicshub.org/gsm-gprs-

module/, September 11, 2017

[4] “Interface ublox NEO-6M GPS Module with Arduino”. (n.d.)

https://lastminuteengineers.com/neo6m-gps-arduino-tutorial/

[5] “KY-019 5V RELAY MODULE” https://arduinomodules.info/ky-019-5v-relay-

module/, December 3, 2021

[6] “Republic Act No. 10883 AN ACT PROVIDING FOR A NEW ANTI

CARNAPPING LAW OF THE PHILIPPINES”

https://www.senate.gov.ph/republic_acts/ra%2010883.pdf, July 27, 2015,

[7] “Send Receive SMS & Call with SIM900 GSM Shield & Arduino”. (n.d.)

https://lastminuteengineers.com/sim900-gsm-shield-arduino-tutorial/

[8] “8 New Philippine Laws: Part 1 of 8 Stricter Anti-Carnapping

Law”,https://attorney.org.ph/legal-news/241-8-new-philippine-laws-part-1-of-8-

stricter-anti-carnapping-law, January 23, 2017


45

APPENDICES
46

APPENDIX A

TRANSMITTAL LETTER
47

APPENDIX B

SURVEY QUESTIONNAIRE
48

CODES
49

ARDUINO CODE pinMode(16, OUTPUT);

#include <SoftwareSerial.h> digitalWrite(16, HIGH);

#include pinMode(17, OUTPUT);

<TinyGPS.h>SoftwareSerialmySeri digitalWrite(17, LOW);

al(10, 11); TinyGPSgps; mySerial.begin(9600);

String receivedData; Serial.begin(9600);

String disableCode = Serial1.begin(9600);

"okD756255otWJKewHxJd"; Serial.println("Initializing...");

String enableCode = delay(1000);

"RNnFQuRlkaAU33lIS9RA"; mySerial.println("AT+IPR?");

String getLocationCode = updateSerial();

"Htcgk4UI6D3sX6BOXCSi"; mySerial.println("AT+CSQ");

float lat, lon; updateSerial();

bool sysEnabled; mySerial.println("AT+CCID");

void setup() { updateSerial();

pinMode(9, OUTPUT); mySerial.println("AT+CCREG=?");

digitalWrite(9, HIGH); updateSerial();

delay(1000); }

digitalWrite(9, LOW); void sendMessage(String number) {

delay(7000); mySerial.println("AT");

sysEnabled = true; updateSerial();


50

mySerial.println("AT+CMGF=1"); sendMessage(senderNum);

updateSerial(); toggleSystemState();

mySerial.println("AT+CMGS=\""+numb }

er+"\""); if (receivedData.equals(enableCode)

updateSerial(); &&sysEnabled == false) {

mySerial.print(lat,7); digitalWrite(17, LOW);

mySerial.print(","); toggleSystemState();

mySerial.print(lon,7); }

updateSerial(); if

mySerial.write(26); (receivedData.equals(getLocationCode))

} {

void loop() { Serial.println("Get Location");

if (mySerial.available() > 0) { getCurrentLocation();

String messageReceived = sendMessage(senderNum);

mySerial.readString(); }

String senderNum = delay(500);

messageReceived.substring(9, 22); }

receivedData = }

messageReceived.substring(51, 71); void getCurrentLocation() {

If (receivedData.equals(disableCode) bool _hasResult = false;

&&sysEnabled == true) {

digitalWrite(17, HIGH); while(_hasResult == false){

// getCurrentLocation();
51

while(Serial1.available() && else {

_hasResult == false) sysEnabled = true;

{ if(gps.encode(Serial1.read() }

)) }

{ MOBILE APP CODES

gps.f_get_position(&lat,&lon); main.dart

_hasResult = true; Import 'package:flutter/material.dart';

}}}} import

void updateSerial() 'package:google_maps_flutter/google_m

{ aps_flutter.dart';

delay(500); import 'dart:async';

while (Serial.available()) import 'package:sms/sms.dart';

{ import 'constants.dart';

mySerial.write(Serial.read()); import

} 'package:unicorndial/unicorndial.dart';

while(mySerial.available()) import 'common.dart';

{ import

Serial.write(mySerial.read()); 'package:shared_preferences/shared_pref

} erences.dart';

void toggleSystemState() { void main()

if (sysEnabled) { runApp(MyApp(

{ sysEnabled = false; ));

} }
52

class MyApp extends StatelessWidget { }

// This widget is the root of your class _MyHomePageState extends

application. State<MyHomePage> {

@override bool _isDisabled;

Widget build(BuildContext context) { bool _stateSavedNum = false;

return MaterialApp( String buttonLabel = LBL_DISABLE;

title: APP_NAME, Completer<GoogleMapController>

theme:ThemeData( _controller = Completer();

primarySwatch: Colors.blue, Map<MarkerId, Marker> markers =

), <MarkerId, Marker>{};

home: MyHomePage(title: ""), static final CameraPosition

); _mandaueCity = CameraPosition(

} target:

} LatLng(MANDAUE_LATITUDE,

class MyHomePage extends MANDAUE_LONGITUDE),

StatefulWidget{ zoom: ZOOM_LEVEL,

MyHomePage({Key key, this.title}) : );

super(key: key);

@override

final String title; void initState()

@override { super.initState();

_MyHomePageStatecreateState() => SmsReceiversmsReceive = new

_MyHomePageState(); SmsReceiver();
53

@override

smsReceive.onSmsReceived.listen((Sms Widget build(BuildContext context)


Message msg) { { return Scaffold(
List<String> message = appBar: AppBar(
(msg.body).split(","); title: Text(widget.title),
double _longitude = actions:
double.parse(message[1]); <Widget>[ PopupMenuB
double _latitude = utton(
double.parse(message[0]); icon: Icon(Icons.dehaze),
// if (_isDisabled) { itemBuilder:(BuildContext
CameraPositioncurrentPosition = context) {
CameraPosition( return
target: LatLng(_latitude, _longitude), [ PopupMenuIte
tilt: 0, m(
zoom: 15); child: ListTile(leading:

Icon(Icons.settings), title:
_updateCurrentPosition(currentPosition) Text(LBL_SETTINGS)),
; value: 0,
_addMarker(_latitude, _longitude); ),
// } ];
}); },
getSystemState(); onSelected: (result) {
} if (result == 0) {

_showDialog();

}
54

}, parentButton:

), Icon(Icons.motorcycle),

], ), childButtons: _getProfileMenu(),
body: GoogleMap( ),
mapType: MapType.normal, );
compassEnabled: true, }
indoorViewEnabled: false, List<UnicornButton>
initialCameraPosition: _getProfileMenu()

_mandaueCity, { List<UnicornButton> children =

onMapCreated: [];

// Add Children here

(GoogleMapController controller) { children.add( Un


_controller.complete(controller); icornButton(
}, currentButton:
markers: FloatingActionButton
(
Set<Marker>.of(markers.values), backgroundColor:
),
Colors.grey[200],

floatingActionButton: foregroundColor: Colors.red[500],

UnicornDialer mini: true,


(

parentButtonBackground: child: Icon(Icons.location_on),

Colors.blue[700], onPressed: () {

orientation:

UnicornOrientation.VERTICAL, _sendMessage(GET_LOCATION);

},
55

tooltip: TLTP_GET_LOCATION, ))

)) );

); return children;

children.add( }

UnicornButton(

currentButton: Future<void>

FloatingActionButton( _updateCurrentPosition(CameraPosition

backgroundColor: position) async {


Colors.grey[200], final GoogleMapController controller

foregroundColor: _isDisabled ? = await _controller.future;


Colors.green[700] :Colors.red[900],

mini: true, controller.animateCamera(CameraUpdat


child: Icon(_isDisabled? e.newCameraPosition(position));
Icons.directions_bike : }
Icons.do_not_disturb_alt), // // Send text message to the Arduino
directions_bike // Message Types (_msgType)
onPressed: () { // 1 - Disable
_sendMessage(_isDisabled ? // 2 - Enable
ENABLE: DISABLE); // 3 - Get Location
}, void _sendMessage(int _msgType)
tooltip: _isDisabled? async {
TLTP_ENABLE_ENGINE : SmsSender sender = new
TLTP_DISABLE_ENGINE, SmsSender();
56

String number = await }

getArduinoNumber(); if (number == "" || number == null) {

String messageContent = "";

String toastMessage = ""; showBottomToast(NO_NUMBER_ERR

);

if (_msgType == DISABLE) { }

messageContent = SmsMessage message = new

DISABLE_CODE; SmsMessage(number, messageContent);

toastMessage = message.onStateChanged.listen((state)

DISABLE_MSG_SENT; {

} if (state == SmsMessageState.Sent ||

else if (_msgType == ENABLE) { state == SmsMessageState.Delivered) {

messageContent = showBottomToast(toastMessage);

ENABLE_CODE; if (_msgType != 3) {

toastMessage = _isDisabled = _isDisabled == true

ENABLE_MSG_SENT; ? false : true;

} setSystemState(_isDisabled);

else if (_msgType == // _setButtonLabel(_isDisabled);

GET_LOCATION) { }

messageContent = }

GET_LOCATION_CODE; });

toastMessage = sender.sendSms(message);

GET_LOC_MSG_SENT; }
57

void _addMarker(double latitude, TextEditingController

double longitude) { arduinoNumberController =

final MarkerId markerId = TextEditingController(text:

MarkerId(MARKER_ID); _arduinoNumber);

// creating a new MARKER showDialog( conte

final Marker marker = Marker( xt: context,

markerId: markerId, builder: (BuildContext context) {

position: LatLng( returnAlertDialog(

latitude, title: Text(LBL_SETTINGS),

longitude, content: new TextFormField(

), controller:

); arduinoNumberController,

setState(() { maxLength: 11,

// adding a new marker to map decoration: const

markers[markerId] = marker; InputDecoration(

}); icon: Icon(Icons.sim_card),

} labelText:

// The dialog popup for inputting the LBL_ARDUINO_NUM,

Arduino Number ),

void _showDialog() async { keyboardType:

String _arduinoNumber = await TextInputType.number,

getArduinoNumber(); ),

actions: <Widget>[
58

new FlatButton( // Used to set the Arduino number in

child: new Text(LBL_CLOSE), the app

// Check if Close button is Future

presse
d
onPressed: () <void>setArduinoNumber(String

{ Navigator.of(context).pop(); number,

}, BuildContext context) async {

), _stateSavedNum = false;

new FlatButton( final prefs = await

child: new Text(LBL_SAVE), SharedPreferences.getInstance();

onPressed: () {

// Substring Function :

// first parameter 0 (dont skip any

character)

setArduinoNumber(arduinoNumberCont // second parameter 2 (number of

roller.text, context); charactes fetched)

}, String numberHeader =

) number.substring(0,2);

], if (NUM_LENGTH

); ==number.length&&numberHeader ==

} "09" &&isNumeric(number)) {

); prefs.setString('arduinoNumber',

} number);

_stateSavedNum = true;

}
59

});

if (_stateSavedNum == true) {

Navigator.of(context).pop(); return arduinoNumber;

showBottomToast(SUCCESS_SAVE_N

UM); Future <void>setSystemState(bool


} state) async {
else { SharedPreferencesprefs = await

SharedPreferences.getInstance();
showBottomToast(INPUT_VALID_NU

M); prefs.setBool('systemState', state);


}

} setState(() {

_isDisabled = state;
Future <String>getArduinoNumber() });
async { }
SharedPreferencesprefs = await

SharedPreferences.getInstance(); Future <void>getSystemState() async


String arduinoNumber; {

SharedPreferencesprefs = await
setState(() { SharedPreferences.getInstance();
arduinoNumber =

(prefs.getString('arduinoNumber') ?? ""); setState (() {


60

_isDisabled = );

prefs.getBool('systemState') ?? false; }

}); bool isNumeric(String s) {

} if (s == null) {

} return false;

common.dart return double.tryParse(s) != null; }

import bool toggleState(bool isDisabled)

'package:fluttertoast/fluttertoast.dart'; { isDisabled = isDisabled ? false :

import 'package:flutter/material.dart'; true; return isDisabled;

void showBottomToast(String message) constants.dart

{ // Integer Constants

Fluttertoast.showToast( ms // =================

g: message, const int NUM_LENGTH = 11;

toastLength: const int GET_LOCATION = 3;

Toast.LENGTH_SHORT, const int ENABLE = 2;

gravity: ToastGravity.BOTTOM, const int DISABLE = 1;

timeInSecForIos: 1,

backgroundColor: Colors.grey, // =================

textColor: Colors.white, // STRINGCONSTANTS

fontSize: 16.0 // =================


61

const String APP_NAME = "Motor const String DISABLE_CODE =

Anti-theft"; "okD756255otWJKewHxJd";

const String LBL_DISABLE = const String ENABLE_CODE =

"Disable"; "RNnFQuRlkaAU33lIS9RA";

const String LBL_ENABLE = "Enable"; const String GET_LOCATION_CODE

const String LBL_SETTINGS = = "Htcgk4UI6D3sX6BOXCSi";

"Settings";

const String LBL_ARDUINO_NUM = // Toast Messages

"Arduino Number"; const String ENABLE_MSG_SENT =

const String LBL_CLOSE = "Close"; "Enable Code Sent";

const String LBL_SAVE = "Save"; const String DISABLE_MSG_SENT =

const String MARKER_ID = "Motor "Disable Code Sent";

Location"; const String GET_LOC_MSG_SENT =

const String SUCCESS_SAVE_NUM = "Get Location Code Sent";

"Saved Number"; const String INPUT_VALID_NUM =

const String TLTP_GET_LOCATION = "Input a valid number";

"Get Motor Location"; const String NO_NUMBER_ERR =

const String TLTP_ENABLE_ENGINE "Please add a number in settings";

= "Enable Engine";

const String TLTP_DISABLE_ENGINE // =================

= "Stop Engine"; // Float Constants

// =================

// Unique codes for the arduino functions


62

const double MANDAUE_LATITUDE const double ZOOM_LEVEL =

= 10.3321; 14.4746;

const double

MANDAUE_LONGITUDE = 123.9357;
63

OPERATIONAL

MANUAL
64

ANTI-THEFT SYSTEM FOR MANDAUE MOTORISTS

USER’S MANUAL

This document presents information and guidelines for use of the Anti-Theft System

Mobile Application.

Krystelle M. Arcillo

Jonas A. Saycon

Department of Information and Computer Technology

Benedicto College

A.S. Fortuna Street, Mandaue City, Cebu


65

TABLE OF CONTENTS

Page

INTRODUCTION

About this document 1

System Overview 1

SYSTEM REQUIREMENTS

Hardware Requirements 2

Software Requirements 2

USER INTERFACE GUIDELINES

How to use the app? 3

Registering Arduino Number 4

Disabling Motorcycle 6

Enabling Motorcycle 8

Getting Location 10

Placing the SIM 12


66

INTRODUCTION

About this document:

This document is intended for motorcycle owners or motorists that provide

information on what the system is about and instructions on how to operate the mobile

application.

System Overview:

This Anti-Theft System for Mandaue Motorists is an android mobile application

that will be used to help motorists retrieve and locate their motorcycle when stolen.

Through this mobile application and with the help of the police, there is fast response and

retrieval of the motorcycle.

Using the app, the user can enable or turn on the engine of the motorcycle

authorizing the owner to use the vehicle and can disable or turn off the engine of the

motorcycle preventing the thief from using the two-wheeled vehicle. It is also possible

for the user to get the location of the motorcycle.

SYSTEM REQUIREMENTS

The following hardware and software requirements used in system development

are listed below:

Hardware Requirements

● Arduino Mega 2560

● Ublox Neo-6M GPS

● SIM900 GSM/GPRS Shield

● 1 Channel Relay
67

Software Requirements

● Arduino IDE

● Visual Studio code

● Flutter

USER INTERFACE GUIDELINES

This consists of the different parts of the mobile application with its purpose. The

user will be guided on how to use the app and know the flow of the mobile app.

How to use the app?

● Given is a unique APK of the mobile app that is intended for the user

● Click and Install which APK is applicable or matches the android version of the

phone
68

● After installing the app according to your android version click done and open the

app

Registering Arduino Number

Parts:

1. Settings Button - Shows the text field where a number is placed.

2. Motorcycle Options –This shows the different options that the user can

do with the motorcycle.

3. Text field for Number - This is where the user inputs the Arduino

number.

4. Save Button - This button saves the number.

Instructions:

1. Click the settings button on the top right of your screen to start.

2. Input the (Arduino) contact number in the text field. Make sure to input 11

digits on the field. Example: 09158250910


69

3. Click the save button to save the inputted number to use the motorcycle

options located at the bottom right side of the screen. If not saved, the motorcycle

options will not function.

Disabling Motorcycle

Parts:

5. Stop Engine Button –This allows the user to send an SMS code to the

hardware placed in the compartment of the motorcycle. This button turns

off the engine of the motorcycle preventing it from being used.

6. Disable Code Toast Notification –This shows when the stop engine

button is clicked notifying the user that the SMS code is sent.

Instructions:

1. Click the Motorcycle Options button to show the stop engine button.

2. Click the Stop Engine Button to disable or turn off the motorcycle engine.

3. After clicking the stop engine button, the motorcycle option closes then a

Disable Code Toast Notification shows indicating a message is sent.


70

4. Wait for the message that will be sent by the Arduino containing the

coordinates of the location of the motorcycle and the pin to show its location.

5. The motorcycle can no longer run or be used.

Enabling Motorcycle

Parts:

7. Enable Engine Button –This shows every after-Stop Engine Button is clicked.

It allows the user to send an SMS code to the hardware placed in the

compartment of the motorcycle. This button turns on the engine of the

motorcycle allowing it to be used.

8. Enable Code Toast Notification –This shows when the enable engine

button is clicked notifying the user that the SMS code is sent.

Instructions:

Note: The disabled and enable button switches every time it is clicked. From disabling

the button to enable button and vice versa.


71

1. Click the motorcycle options button and the Enable Engine button will

show.

2. Click the Enable Engine button to enable or turn on the motorcycle

engine.

3. After clicking the enable engine button, the motorcycle option closes then

the Enable Code Toast Notification shows indicating a message is sent. And the

motorcycle can now be used.

Getting Location

Parts:

9. Get Motor Location Button –This allows the user to get the location

(coordinates) and know where to find the motorcycle.

10. Get Location Code Toast Notification –This shows when the Get Motor

Location button is clicked notifying the user that the SMS code is sent.

11. SMS from Arduino Number –This shows when a message is received

from the Arduino number containing the coordinates of where to find the

motorcycle.
72

12. Location Pin / Marker - Pins the address of where to find the motorcycle

depending on the coordinates received, sent by the Arduino number.

Instructions:

1. Click Get Motor Location to get the location of the motorcycle.

2. After clicking the button, the motorcycle option closes then Get Location

Code Toast Notification shows indicating a message is sent.

3. A message from the Arduino number will be received containing the

coordinates of where to find the motorcycle then the location pin or marker pins

the location of the motorcycle.

Note: Get Location button can be clicked either disabling button is activated or the

enabling button is activated.

Placing the SIM

Note: The hardware is placed in the compartment of the motorcycle.

Parts:

13. SIM Card holder - Found at the back of the hardware. This is where the

SIM card is placed.


73

14. SIM Card - To be placed in the sim card holder that functions as the

Arduino Number that receives the messages (codes) from the mobile app.

Instructions:

1. Slide and open the sim cardholder.

2. Insert the sim card.

3. Close and slide back the sim cardholder.


74

CURRICULUM

VITAE
75

ARCILLO KRYSTELLE M.

Sacris Road Banilad, Mandaue City

09282524809

karcillo123@gmail.com

PERSONAL INFORMATION

Age : 23 years old

Date of Birth : July 26, 1996

Gender : Female

Civil Status : Single

Nationality : Filipino

Religion : Roman Catholic

Mother’s Name : Ma Cristina Arcillo

Father’s Name : Paquito Arcillo

EDUCATIONAL BACKGROUND

Tertiary : Benedicto College

A.S. Fortuna Street Mandaue City

S.Y. 2016 – Present

Secondary : Saint Louis College-Cebu

SudlonMaguikay Mandaue City

S.Y. 2009 –2013

Primary : Saint Louis School of Mandaue

SudlonMaguikay Mandaue City

S.Y. 2006 - 2009


76

SEMINAR AND TRAINING EXPERIENCES: Edit this. See sample

 NC II COMPUTER SYSTEMS SERVICING


BENEDICTO COLLEGE Mandaue City Campus
October 26, 2019

 PSITE 7 15TH CEBU ICT STUDENT CONGRESS

March 1, 2019

TECHNOPRENEURSHIP

October 30, 2018

DATAMINING

October 30, 2018

ROBOTICS; ARDUINO TECHNOLOGY

January 25, 2018

NETWORK SECURITY

July 28, 2017

ICT IN EDUCATION

August 25, 2016


77

SAYCON, JONAS A.

Maria Antonio Village, Labogon, Mandaue City

09235576953

saycon.jonas21@gmail.com

PERSONAL INFORMATION

Age : 21 years old

Date of Birth : July 29, 1998

Gender : Male

Civil Status : Single

Nationality : Filipino

Religion : Roman Catholic

Mother’s Name : Mercedita Saycon

Father’s Name : Teofanes Saycon

EDUCATIONAL BACKGROUND

Tertiary : Benedicto College

A.S. Fortuna Street Mandaue City

S.Y. 2015 – Present

Secondary : Saint Louis College-Cebu

SudlonMaguikay Mandaue City

S.Y. 2011–2014

Primary : Pope John Paul II Achievement LearningCenter

Doña Rosario Village Labogon,Mandaue City

S.Y. 2006 - 2010


78

SEMINAR AND TRAINING EXPERIENCES

 NC II COMPUTER SYSTEMS SERVICING


BENEDICTO COLLEGE Mandaue City Campus
October 26, 2019

 PSITE 7 15TH CEBU ICT STUDENT CONGRESS

March 1, 2019

TECHNOPRENEURSHIP

October 30, 2018

DATAMINING

October 30, 2018

ROBOTICS; ARDUINO TECHNOLOGY

January 25, 2018

NETWORK SECURITY

July 28, 2017

ICT IN EDUCATION

August 25, 2016

You might also like