You are on page 1of 10

Anti-Vehicle Theft Detection

Johnny Jendl L. Abante, Chellan Mae Aguila. Iann Ivan Aquino, Joesarmiegh Alilio
Department of Electronics, Instrumentation & Control, Mechatronics Engineering
Batangas State University
Email: *insert email here*

Abstract
The Anti Vehicle Theft Detection is a system or device made by the group, the A-Team that can help people
for tracking and securing their vehicle to avoid vehicle theft. For this system, it would not only help the people living
in this time, but also the future generation and the future researchers that will be studying on how to improve the
quality of safety for vehicle owners.

In this project, the group developed a system wherein vehicle tracking system and vehicle theft detection is
possible. The group used different kind of components for the building of the device. The main component for the
device is the Arduino Uno as the microcontroller of the system. It commands the other components connected to do
its function to track the vehicle and sends the tracking data over through SMS. The main purpose of this project is to
prevent vehicle theft.

I. INTRODUCTION in-system or by a conventional nonvolatile


One of the worst things that can happen memory programmer. By combining a versatile
to a vehicle owner is to have his or her vehicle 8-bit CPU with Flash on a monolithic chip, the
stolen. According to statistics, the Philippines Atmel AT89C51 is a powerful microcomputer
motor vehicle theft rate was at level of 13.4 cases which provides a highly-flexible and cost-
per 100,000 persons in 2014, up from 12.7 cases effective solution to many embedded control
per 100,000 persons previous year, causing a applications.
change of 5.93 %. And it doesn’t stop there. The AT89C51 provides the following
Currently, vehicle theft is happening almost standard features: 4K bytes of Flash, 128 bytes
everywhere, whether it is on the parking lot, in of RAM, 32 I/O lines, two 16-bit timer/counters,
driving insecurity places, and even in the safest a five vector two-level interrupt architecture, a
place you can think of. Any vehicle owner can be full duplex serial port, on-chip oscillator and
a victim of this crime, without the user knowing clock circuitry. In addition, the AT89C51 is
that his/her vehicle has been stolen. designed with static logic for operation down to
zero frequency and supports two software
selectable power saving modes. The Power-
II. METHODOLOGY down Mode saves the RAM contents but freezes
2.1 Materials the oscillator disabling all other chip functions
1. Timer Relay Board until the next hardware reset.
Figure 1.0 Timer Relay Board
Source: ronelex.com

It is a board with combined electronic


components to make a timer board circuit
wherein it can set time to provide power cut-off
to a device connected to it. Electronic
components that contains the board is described
below.

1.1 AT89C51 Microcontroller


The AT89C51 is a low-power, high-
performance CMOS 8-bit microcomputer with
4K bytes of Flash programmable and erasable
read only memory (PEROM). The device is
manufactured using Atmel’s high-density
nonvolatile memory technology and is
compatible with the industry-standard MCS-51
instruction set and pinout. The on-chip Flash
allows the program memory to be reprogrammed
1.3 LM7805 IC Regulator
A LM7805 Voltage Regulator is a
voltage regulator that outputs +5 volts. An easy
way to remember the voltage output by a
LM78XX series of voltage regulators is the last
two digits of the number. A LM7805 ends
with "05"; thus, it outputs 5 volts.
The "78" part is just the convention that the
chip makers use to denote the series of
regulators that output positive voltage.

The LM7805, like most other regulators,


is a three-pin IC.
Pin 1 (Input Pin): The Input pin is the pin that
accepts the incoming DC voltage, which the
Figure 1.1 AT89C51 Microcontroller voltage regulator will eventually regulate down
Source: https://www.engineersgarage.com to 5 volts.
Pin 2 (Ground): Ground pin establishes the
ground for the regulator.

Pin 3 (Output Pin): The Output pin is the


regulated 5 volts DC.
Figure 1.2 Pin Configurations of AT89C51
Microcontroller Figure 1.4 LM7805 IC Regulator
Source: https://www.engineersgarage.com

1.2. Relay (12V 10A)


A relay is a simple electromechanical
switch made up of an electromagnet and a set of
contacts. Relays are found hidden in all sorts of
devices. In fact, some of the first computers ever
built used relays to implement Boolean gates. -
Switching capacity available by 10A in spite of
small size design for highdensity P.C. board
mounting technique.
-UL,CUL,TUV recognized.
-Selection of plastic material for high
temperature and better chemical solution
performance.
-Sealed types available.
-Simple relay magnetic circuit to meet low cost Source:www.amazon.com
of mass production.
Figure 1.3. Relay (12V 10A)
Source: www.elexhub.com
Specification
Voltage : 2 – 5VDC
Maximum current : 30mA/5VDC
Decibel : > 85db/10cm
Resonant frequency : 2500Hz (+/- 300 HZ)
Operating Temperature : -20 to 70 C

Figure 1.6 Piezo Active Buzzer


Source: http://elexhub.com/product/active-
buzzer/

1.5 7 Segment Display (4 Digit)


A basic, 4-digit 7-segment display -
Figure 1.5 LM7805 Pinout Diagram red in colour has a common anode. The
Source:
https://www.robomart.com/image/catalog/RM00
51/01.gif

display features one decimal point per


digit, and individually controllable
apostrophe and colon points. The LEDs
have a forward voltage of 1.9VDC and a
max forward current of 20mA. The
hardware interface is sixteen (two rows
of eight) through-hole pins.

Total led chips: 32


Cover color: Black
Long life for 50,000 hours
Color: Red

Figure 1.7. 7 Segment Display


Source: http://elexhub.com/product/7-
1.4 Piezo Active Buzzer segment-display-4-digit-anode/
Good performance, general purpose
piezo buzzer used commonly in alerting /
alarming circuits. This is a PCB mountable 1.6 8 Poles Dip Switch
buzzer can be easily soldered to PCB boad. Most
commonly used in at 5v. Long life, stable Figure 1.8 8 Poles Dip Switch
performance, High Quality with SOT plastic Source: https://www.conrad.com
package.
1.7 Resistors, Diodes and Capacitors This extension cord is exclusively
configured to match the required power for
2. Coin Sensor the Time Relay Board.
It is consist of resistors, C1815 transistor
and a switch.
Figure 5. Extension Outlet
Source:https://www.bedbathandbeyond.
com

Figure 2. Coin Sensor


Source: www.alibaba.com

3. Coin Slot
This coin slot is only exclusive for 1 peso
coin and the time depends on the system if it
responds to 1 peso coin.

2.2 Mathematical Modeling


Mathematical model for the control
system, which serves as the foundation of this
project, was done to start the construction of the
Figure 3. Coin Slot with Coin Sensor Coin Based Charging system.
attached to it (INSERT EQUATION HERE)
Source: www.lazada.com.ph
2.3 Design Process
4. Tranformer Figure 2.3.1. The flowchart of the Control
Input 220V System
Output 0-12V

Figure 4. 220-12V Transformer

5. Extension Outlet
As shown in the flow chart, the control
system starts with the coin insertion which
determines if the coin is acceptable and continue The AT89C51 Microcontroller is said to
to the process of the charging or the coin is be programmable for 1000 times. The
being accepted but it did not count in the microcontroller has been tested if it support
process. It indicates that the coin inserted is uploading features in Arduino IDE. The
either fake or token. microcontroller supports the Arduino IDE but it
If the coin is accepted and the timer requires the Arduino Uno (which uses
starts, the phone battery will charge in a specific ATMega328 microcontroller) to programmed
time which on the latter part of the paper. The the AT89C51. The timer relay board is ready
indicator of the time if it runs out, the buzzer made and purchased assembled but yet, no codes
will react to the system if the time has 1 minute in the board. The group don’t have the Arduino
remaining. It will continue charging until the Uno to do that. The group searched for the
time runs out. For doing the system, the codes software that can programmed the AT89C51
for the system is below. directly. Keil µvision 5 is the one that fits the
requirement to program AT89 series controllers.
(picture of codes)

Figure 2.3. The coin sensor and the coin slot

The next component that has been tested


is the coin slot and coin sensor. The coin slot is
specialized to insert only 1 peso coin. The
insertion of a 5 peso coin and 25 cents has been
tested. The group found that if a 5 peso coin is
inserted, it is not fit to the coin slot and if a 25
cents was inserted, it is just fell and sensor does
not read the coin.

(Picture ng paggagawa)
Figure 2.3. The Block diagram of the Control
System

The block diagram shows the process of


the hardware wherein the power source of the
system is 220V input that connected to a
transformer to have the 12V output because the
timer relay board maximum output voltage is
2.4 Prototyping Process
The building of the control system is
divided into two which is the software and
hardware configurations. For the software
configuration, the use of Keil µVision 5
microcontroller tool is a must for the AT89C51
microcontroller to be effective and reliable for
the system. The hardware configuration is
subdivided into three which is the setup of the
transformer and modifying the wires of the
12V. Next, the rectifier and the regulator extension outlet to match the requirement of the
responds to the system that turn the functionality timer relay board. Next is the testing and
of the 7 segment 4 digit display. The AT89C51 matching up the coin sensor and coin slot that
microcontroller will respond if the coin will be also connects to the time relay board. Lastly, the
inserted and also, the microcontroller will final output of the prototype which is the device
respond to the charger that has 5V 2A output and contained to a case. For the case, the group uses
it will charge the phone. illustration board so that it can be presentable.

Software Configuration

The group uses the Keil µVision 5


microcontroller tools for programming the timer
relay board. The Keil µVision 5 combines
project management, run-time environment,
build facilities, source code editing, and program
debugging in a single powerful environment.
µVision is easy-to-use and accelerates your
embedded software development. µVision
supports multiple screens and allows you to
create individual window layouts anywhere on
the visual surface. The integrated µVision Editor
includes all standard features of a modern source
code editor and is also available during
debugging. Color syntax highlighting, text
indentation, and source outlining are optimized
for C/C++.

Figure 2.4.1. Startup image of the Keil


µVision 5

Figure 2.4.2. µVision 5 interface

The group used the software to compile


and upload the codes for the system by
Figure 2.3. Hardware set-up of the system connecting the timer relay board (which has the
AT89C51 microprocessor) to the computer. The Figure 2. The coin sensor and its wirings
codes and set up for the microcontroller are (black, red, white) and the coin slot
shown below.
(picture ng actual coding sa uvision)

Hardware Configuration

Phase 1 – Setting up the transformer and


modifying of wires

The transformer is an electrical device


that transfers electrical energy between two or
more circuits through electromagnetic induction.
The input voltage for the transformer is 220V
(red-red) which is the standard voltage outlet
and the output voltage is 12V (blue-blue) which
is recommended for the timer relay board to
function. The transformer don’t have the plug
and the group configure the plug for the 220V
and 12V by connecting the wires of the both
value of voltages to the plug. It was tested and
the transformer was functional

The extension outlet’s purpose is to


expand the outlet through long wire. For the
system, the group modify the extension outlet by
putting the wires that is compatible to the timer
relay board and combining the wires to make it
functional. Test for the modified extension outlet
has done during the testing for the final
Figure 2. The wire for the time relay board
combined with the wire of the coin sensor

The coin sensor was first modified to


another wire (for time relay board) that has black-
red-white. Then, the coin sensor was attached to
the dedicated screw hole of the coin slot. The
group tested if the coin sensor is reactive to the
coin slot. The group found it functional and the
timer starts once the coin was inserted to the slot.
The group noticed that when a coin was inserted,
the LED of the sensor was blinking, means that
the sensor read the coin easily. The coin sensor
was acting like an ambient light sensor wherein
the coin sensor is depending on the light (the
falling of the coin to the box).

prototype output. Phase 3- Final output of the prototype and the


development of the case.

Phase 2 – Testing of the coin sensor and and


coin slot and modifying its wire to the time
relay board.
Figure 2. The final output of the prototype

Timer Set-up
Figure 2. The wire connection of the Phase 1
and Phase 2 to the timer relay board

Figure 2. The connection of the wires to the


board (from left: coin sensor, extension outlet,
power supply)

The group combined the phase 1


(Transformer and Extension Outlet) and phase 2
(coin sensor and coin slot) connection to the timer
relay board. The components of the system are all The design of the time relay board is
functional. different from any other board in the market. It
uses an 8 poles dip switch for the adjustment of
(picture ng box) the time ratio to a 1 peso coin. The group decided
to fix the range of the time when inserting a 1
peso coin. The group talked that the rate should
be affordable compare to the one in the
convenient stores. According to the observation
of the group, 5 peso coin should be inserted and
good for 15 minutes. Also, the charger used in the
convenient stores are still the standard charger
(which has the 5V 1A). Compared to this system,
1 peso coin and good for 5 minutes is enough to
make a profit. It is equivalent to only 3 pesos
compared to the 5 pesos in the convenient stores.
The charger used for the system has 5V 2A
output. It is the fast charging standard for most of
the phones today. It doesn’t affect to the battery
life of the phone even the current of the charger
is high because today’s smartphone has the
technology to stop the charging mechanism of the
phones in case of overheating or full charged.

For the case, the group used illustration


board to combined all the components into one
(set up and dedicated time for every value ng
device. This is now the finish product for the
switch)
system.
done by modifying software
III. DATA AND RESULTS configuration.
The system show a favorable results as the system

IV. CONCLUSION AND V. REFERENCES


RECOMMENDATION

Conclusion
The result was satisfactory, because the
device works upon our expectations. No error
was found in all of the components. Although it
was a hard time learning the Keil uvision 5
software, the group did their best to learn it so that
the system will work properly.
This project proves that it is a necessity
for all the people especially to the one who has
limited access to convenient stores and also in
remote areas. This can be implement in urban
areas especially in public places like bus and train
stations, tourist spots, camping sites, hospitals,
etc. Also, it is very useful in remote areas who
only have limited electricity. At a very affordable
rate of charging, this project can help people in
their necessity in using a cell phone.

Recommendation
The recommendation was offered based
on the outcome of the project.
1. It can be implemented in rural areas
where electricity is limited. Question is,
how about if the area is very remote and
can’t reach electricity? For the next
proponent of the project, use solar panels
as a power source to the system so that
people can still charge even electricity is
not present.
2. In public places, there is a chance that a
bad person can get the profit of the device
without proper security. The device
should have the RFID in paying the
charging services. Example of a RFID
system is the beep cards which is used for
paying transportation in train stations.
3. The device should be affordable for the
implementation of the system in case of
mass production.
4. The prototype of the system is somewhat
bulky. The device should be portable and
user-friendly so that it can be attractive to
users.
5. As an alternative, use a LCD screen
instead of 7 segment display. This can be

You might also like