A Smart Real-Time Tracking System Using GSM-GPRS
A Smart Real-Time Tracking System Using GSM-GPRS
Abstract— the cases of kidnapping and vehicle theft is via using GSM/GPRS modem that enables electronic devices
increasing continuously. Therefore the need for mobile to connect to the internet and transmitted data to the remote
applications to track the vehicle in real-time become very server thus reduce the cost of transmission[9][10] [11].
important, so the user can track and monitor the vehicle using
the mobile phone. This type of system sends large data to the
server/cloud every day, which will increase the expenses every II. RELATED WORK
month for transmitting the data to this cloud/server. This paper [3] This paper presents traffic monitoring and vehicle
introduced an embedded system that designed and implemented tracking in real-time for private or public transportation section
for vehicle tracking based on an android application, the main through utilised social networking. The embedded system
contribution of this paper is to reduce the data that sent from the comprises of Arduino UNO, GSM/GPRS SIM900 module,
embedded system in the vehicle to the cloud server via picking SKYLAB GPS module. The embedded system transmits the
only necessary data for vehicle tracking from Global Position information that gets it from a GPS satellite to host server
System GPS and decreasing the number of Hypertext Transfer through the GPRS services over the internet by using GSM.
Protocol HTTP request that transmitted to the cloud server by The coordinates stored and then post it to a social network
construing the transmission of information with the movement of
(Twitter).
vehicles. This system is divided into three parts: embedded
system that is attached with the vehicle, cloud/server part which
[9] Proposed an efficient vehicle tracking system to track
has the database of every single move every car did, and the movements of a vehicle at any time from any location. It
monitoring part which is the main user interface so they can combined two popular technology smartphone (an IOS
monitor the vehicle. application) and Arduino UNO. This embedded system
consists of GPS, GSM/GPRS SM5100B, Arduino UNO is
Keywords— Vehicle tracking; GPS; GSM/GPRS; Android placed inside the vehicle whose position to determine and
application. tracked in real-time. The information about location received
by the GPS receiver and transmitted to a remote server every 8
I. INTRODUCTION seconds by using the (get) method through an HTTP request to
be stored in a database.
The first implementation of vehicle tracking was executed [12] Proposed and implemented secure, real-time and low-
for shipping industry after that the accelerated growth in cost GPS/GSM tracking system and control for vehicle depend
technology an automated vehicle tracking in real-time begins on face detection techniques. The face detection system used
utilised in a variety of ways to track some vehicle emergency, for discovering the driver's face images and getting the images
such as kidnapping, accident, and theft because the need for an by a tiny digital camera which is hidden somewhere in front of
immediate response become more critical issue and finding the the driver's seat in the vehicle cabin. When the owner of the
location is the first action [1][2][3]. vehicle detects that an unauthorised driver theft the vehicle. In
Basic mobile phone users now less prevalent this case, the owner control the vehicle, since the owner can
Smartphone users within the whole population than owners of send SMS messages from android mobile via specific GSM'S
smartphone users, this, force the researcher to focus on card that is defined as the vehicle tracking system.
accelerated growth in smart mobile usage to provide a better [13] Designed and implemented, a smart Anti-theft vehicle
application to meet the requirement of a wide range of users[4]. tracking system depends on the internet of things (IoT) for
The vehicle tracking system usually is designed using monitoring the movement of any vehicle at any time. This
GPS/GSM technology for localisation and data transmission system consists of a special microcontroller (LinkItONE) as
[5]. The coordinates of location and time information at any the main controller, RFID, GSM/GPRS module, GPS sensor,
time and anywhere are provided by using GPS technology. relay, switch, SD cards, Bluetooth 2.1 and 4.0 as well as Wi-Fi.
The first wireless data transmission used GSM and SMS The GPS receiver receives the information about the location
technology using GSM modem, but this way considered costly of the vehicle that attached to, then transmits this information
cause it spends high cost for transmission information in real- to Amazon web-service and then displays it on a smartphone.
time every day[6][7][8]. The second wireless data transmission
utilising the services of GPRS that provide by GSM network
[14] Proposed design and implementation of a real-time • Fan 12volt, which is used for cooling the embedded
tracking bus and count the number of passengers of the bus of system when the temperature exceeds the threshold
Campus University. Mobile Application is Utilized to detect temperature (33̊).
the current location of the bus by a student. This system
comprises of two embedded systems which attached with a • Relay, which is used to allow a microcontroller with
bus. First one consists of NEO6MGPS module and Arduino low voltage control high voltage to turn ON or OFF the fan.
Uno which implement tracking bus and the second one consists • Two LM2596 DC-DC Converter, one of these step-
of Raspberry PI and webcam which send the information about down modules is used to convert from 12v to 5v to operate the
the counter of passenger via using image processing in the Arduino NANO, and another one is used to convert from 12v
process of detecting the number of people in the bus. to 4v to operate the GSM/GPRS SIM800L, and DHT11
In our proposed paper, we suggest a method to reduce the Sensor.
information that transmits to the cloud server without affecting
the accuracy of the vehicle location and the properties of the B. Software Requirement
real-time for multi-vehicle tracking system. The proposed
• IDE, (integrate development environment) software
system used Smartphone application, heat sensor, Fan, GPS,
for Arduino has been used to write a program and install
and GSM/GPRS to provide better services for tracking and
various libraries for Arduino.
monitoring.
The main requirement of a vehicle tracking system can be • Mocha host, the cloud computing platform which is
summarised in the following points: used for storing the information of the GPS and the
information about the persons and the vehicles. The proposed
A. Hardware Requirement system is using PHPMYADMIN as a type of database and
The hardware components that needed can be summarised manages the database via MYSQL.
as follow. (Fig. 1) • HTML5 and CSS have been used to design the web
application.
• PHP, JavaScript, and JQUERY have been used for the
interface between the web and SQL language.
• Google Maps API, which is used to display the
position of vehicles on Google maps.
C. Practical interface
The proposed system interface can be seen in Fig.1, how the
components in the system are connected. This work has used
NEO 6M GPS module and Arduino NANO as a
microcontroller and SIM800L GSM/GPRS module which is
connected via serial communication with 9600-bit rate and
Fig. 1. practical join in embedded system designed and implemented a DC-to-DC Auto-connecter to
ensure continuous work of the GPS. UBS DC-DC circuit is
• Arduino NANO as microcontroller which can be used to auto-connect, and auto charge backup battery from the
interfaced with a GPS module, GSM/GPRS module and auto- main battery of the vehicle is an ideal way, and it may charge
connecter circuit. the battery with 9A and 12 volts. These interfaces and
procedure of an embedded system are illustrated in Fig. 2.
• GSM SIM800L, which is interfaced with Arduino
NANO and it is used to transmit the data through GPRS to a
remote server.
• NEO 6M GPS module, which is interfaced with
Arduino NANO and it is used to receive coordinates from at
least four satellites.
• UBS DC-DC circuit, which is used to ensure the
electronic components powered ON continuously without
interruption when a malicious person (like a thief) cut wire of
the battery, continues electronic components will work on the
backup battery.
• DHT11 Sensor, which is used to know the
temperature of the embedded system environment to protect
the system from burning at high temperature since when the Fig. 2. The procedure of tracking system
temperature becomes more than or equal 33̊ the fan
automatically turns ON.
170
2019 First International Conference of Computer and Applied Sciences (CAS),
Mustansiriyah University, Education College, Computer Science Department, Baghdad, Iraq
The second part is the "void loop" that runs all time as long NO
Read GPS Information
as the electronic component turns on. End
171
2019 First International Conference of Computer and Applied Sciences (CAS),
Mustansiriyah University, Education College, Computer Science Department, Baghdad, Iraq
date and time of each account when the admin is added it. This type holds the type of each account since there are two types of
table joins with another table via id and idagent. account; admin account and user account, “createAT” holds the
date and time of each account when it is added.
Start
TABLE II. USER TABLE
Establish Connection
ID Name “Passworduser” “mobileuser” type “creatAt”
4 badr 882baf28143fb 07701122991 admin 2019-05-16
700b388a87ef5 11:05:00
Receive 81a6e5
Tracking Data
5 ali 3861a60523ef8 07717919216 user 2019-05-16
Analyses Data
9a017be166c5b 11:19:00
Identify Device ID 325409
172
2019 First International Conference of Computer and Applied Sciences (CAS),
Mustansiriyah University, Education College, Computer Science Department, Baghdad, Iraq
Start
Retrive
Longitude and
Latitude
Display Locations
End
V. DATA SIZE
The data size of a vehicle tracking system reduced via
transmitted only 22byte; longitude (8byte), latitude (8byte) and
ID (4byte) of a vehicle for the remote server and used the date
and time of server by adjusting the time of server on the time
of Iraq UTC+3. Fig. 8 shows comparison among the proposed
system data size in green strip with other real-time system data
size in 2016[10] in pink strip and 2013[11] in blue strip
through time-based on the movement and time of stopped of
vehicles since each hour the time stop is increased about 5s and
Fig. 6. Result of web application the results is calculating and comparing according to this time.
The data size of a proposed system decreases with increases in
Figure 7 shows the flowchart of an Android application. the duration of vehicle stops without movement for more than
The Real-Time tracks available every 10s the coordinates 10s.
display om a Map when The vehicle moves from location to
another. Last coordinates displayed on Map when the
coordinates did not change and when there are no new
coordinates available in a database.
173
2019 First International Conference of Computer and Applied Sciences (CAS),
Mustansiriyah University, Education College, Computer Science Department, Baghdad, Iraq
VI. RESULT request and the number of HTTP request that embedded
The result of this work calculated as the average of the system makes it every minute. The reliability and dependability
transmitted HTTP request per minute is 3.88 coordinate/minute of this system based on reliability and dependability of internet.
for normal system., but when applying our rule for the The position accuracy depends on the type of GPS module.
program, the mean of transmitted the HTTP request/minute This system uses GPS with accuracy approximately 2.5 m and
will change to 1.65 HTTP request/ minutes. The results of the the number of HTTP request that send every minute. Using
proposed system are compared with other systems [10] [11], as android application become more familiar for the user to track
shown in Fig. 9. The blue one represents the proposed system vehicle than web application because using mobile easier and
result faster to use than using a computer and available anywhere at
any time.
REFERENCES
[1] K. Aziz, S. Tarapiah, S. H. Ismail, and S. Atalla, “Smart real-time
healthcare monitoring and tracking system using GSM/GPS
technologies,” 2016 3rd MEC Int. Conf. Big Data Smart City, ICBDSC
2016, vol. 142, no. 14, pp. 357–363, 2016.
[2] V. Pawar and N. P. Bhosale, “Internet-of-Things Based Smart Local Bus
Transport Management System,” Proc. 2nd Int. Conf. Electron.
Commun. Aerosp. Technol. ICECA, 2018, no. Iceca, pp. 598–601,
2018.
[3] M. A. Azer and A. Elshafee, “A Real-Time Social Network-Based
Traffic Monitoring Vehicle Tracking System,” Proc. - 2018 13th Int.
Conf. Comput. Eng. Syst. ICCES, 2018, vol. 6, no. 1, pp. 163–168,
2018.
[4] M. Qian, H. Gao, and W. Liu, “Android Based Vehicle Anti-Theft
Alarm and Tracking System in Hand-Held Communication Terminal,”
2018 IEEE Int. Conf. Consum. Electron. ICCE-TW, 2018, pp. 1–2,
2018.
[5] V. Mutiawani, S. Rahmany, and T. F. Abidin, “Anti-theft Vehicle
Monitoring and Tracking Android Application Using Firebase as Web
Service,” Proc. - 2nd 2018 Int. Conf. Electr. Eng. Informatics,
Fig. 9. Comparing the result ICELTICs 2018, vol. 688, pp. 72–77, 2018.
[6] F. B. B. Alzahri and M. Sabudin, “Vehicle Tracking Device,” 4th
IGNITE Conf. 2016 Int. Conf. Adv. Informatics Concepts, Theory Appl.
Time of stop /Time(Hour) ICAICTA, 2016, 2016.
50
[7] R. N. A. D. Evi and R. S. P. R. S. Ingh, “Arduino Based Oil Tank Truck
Alarm System for Illegal Fuel Hoarding Using GSM Module,” vol. 10,
45
no. 07, pp. 760–764, 2018.
40
[8] M. V Mohanasundaram S, Krishnan V, “Vehicle Theft Track king,
35
Detecting And Lockin ng System,” 2019 5th Int. Conf. Adv. Comput.
30 Commun. Syst., vol. 4, no. Vehicle Theft Tracking, Detecting And
Time stop
25 Time of car stop Lockin ng System U Using Open CV, pp. 1075–1078, 2019.
20 [9] S. Lee, G. Tewolde, and J. Kwon, “Design and implementation of a
15 vehicle tracking system using GPS/GSM/GPRS technology and
10 smartphone application,” 2014 IEEE World Forum Internet Things, WF-
5 IoT 2014, pp. 353–358, 2014.
0 [10] A. I. A. Dr. Bayan M. Sabbar1, “GPS-GPRS Control and Tracking
1 2 3 4 5 6 7 8 9 System for Fuel Trucks via Processing of Travelling Information,”
Time(hour) IJCSET Dec, vol. 7, no. 6, pp. 1002–1011, 2016.
[11] K. A. Salim and I. M. Idrees, “Design and Implementation of Web-
Fig. 10. Amount of time stop per day Based GPS-GPRS Vehicle Tracking System,” IJCSET Dec, vol. 3, no.
3, pp. 5343–5345, 2013.
As shown in fig. 9 and fig. 10 that the number of an HTTP [12] Saranya V and Sabithatamilanjani V, “Face Identification in Smart Car
request is decreasing continuously with the increase of time the Security System in Real-Time,” Natl. Conf. Res. Adv. Commun.
Comput. Electr. Sci. Struct., pp. 35–40, 2015.
vehicle has stopped, and as a result, the data size need will be
decreased, and the expenses used for the internet will be [13] M. S. Uddin, M. M. Ahmed, J. B. Alam, and M. Islam, “Smart anti-theft
vehicle tracking system for Bangladesh based on Internet of Things,”
reduced for each month. 4th Int. Conf. Adv. Electr. Eng. ICAEE, 2017, vol. 5, pp. 624–628,
2017.
VII. CONCLUSIONS [14] S. A. Sharif, M. S. Suhaimi, N. N. Jamal, I. K. Riadz, I. F. Amran, and
D. N. A. Jawawi, “Real-Time campus university bus tracking mobile
This system helps us to solve the problem of tracking and application,” Proceeding 2018 7th ICT Int. Student Proj. Conf. ICT-
monitoring multi-vehicle in real-time through using ISPC, 2018, pp. 1–6, 2018.
inexpensive GPS, GPRS and microcontroller. The cost of
transition information based on the data size of the HTTP
174