Luggage Tracking System Using GPS Tracker
Luggage Tracking System Using GPS Tracker
A Mini Project report submitted in partial fulfillment of the requirements or the Award of Degree of
BACHELOR OF TECHNOLOGY
IN
ELECTRONICS AND COMMUNICATION ENGINEERING
By
G. Gnana Priyanka 18A51A0417
M. Sai Shyam 18A51A0433
P. Sravan Kumar 18A51A0452
G. Bharath Kumar 18A51A0415
1 | Page
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
ADITYA INSTITUTE OF TECHNOLOGY AND MANAGEMENT
TEKKALI
CERTIFICATE
This is to certify that the mini project work entitled “LUGGAGE TRACKING
SYSTEM USING GPS TRACKER”, is a bonafide work done by G.Gnana Priyanka
(18A51A0417), M.Sai Shyam(18A51A0433), P.Sravan Kumar(18A51A0452),
G.Bharath Kumar(18A51A0415) and submitted in partial fulfillment of the
requirements for the award of the degree of BACHELOR OF TECHNOLOGY in
ELECTRONICS AND COMMUNICATION ENGINEERING.
2 | Page
ACKNOWLEDGEMENT
It is indeed with a great sense of pleasure and immense sense of gratitude that we acknowledge
the help of these individuals. We are highly indebted to Director Prof.V.V. Nageswara rao and
Principal A.S. Srinivasa Rao, for the facilities provided to accomplish this mini project.
We would like to thank our head of the department Dr. D. Yugandhar, for his
constructive criticism throughout the project.
We feel elated in manifesting our sense of gratitude to our guide Dr. Ch.
Rajasekhara Rao for his valuable guidance .He has been a constant source of inspiration for us
and we are very deeply thankful to him for his support and invaluable advice.
Finally, we express our heartfelt thanks to all my friends who helped in successful
completion of this project.
G. Gnana Priyanka
M. Sai Shyam
P. Sravan Kumar
G. Bharath Kumar
3 | Page
DEPARTMENT OF ECE
Create high quality engineering professionals through research, innovation and team work
for a lasting technology development in the area of electronics and communication
engineering.
Mission of the Department:
1. To offer a well balanced program of instruction, lab practices, research &
development activities, product incubation.
2. Develop accomplished technical personnel with a strong background on fundamental
and advanced concepts, have excellent professional conduct.
3. Enhance overall personality development which includes innovative and group
work exercises, entrepreneur skills, communication skills and employability.
4. Ensuring an effective teaching-learning process to provide in-depth knowledge of
principals and its applications to electronics and communication engineering and
interdisciplinary areas. 5. Providing industry and development interactions through
consultancy and sponsored research.
Program Educational Objectives (PEOs) Of B.Tech in ECE:
PEO I: The graduates would be employed as a practicing engineer in fields such as
design, testing and manufacturing.
PEO II: the graduates would be able to imbibe research, development and
entrepreneurship skills.
PEO III: The graduates would be engaged lifelong self director learning to maintain
and enhance professional skills.
PEO IV: The graduates will be able to exhibit communication skills, team spirit,
leadership skills and ethics with social responsibility.
4 | Page
PROGRAM OUTCOMES:
5 | Page
the engineering community and with society at large, such as being able to comprehend
bright effective reports and design documentation, make effective presentations, and give
and receive clear instructions.
11.Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one's own work as a member
leader in a team, to manage projects and in multidisciplinary environments.
12.Lifelong learning: Recognize the need for, and have the preparation and ability to engage
in independent and lifelong learning in the broadest context of technological change.
PSO II: An ability to solve electronics and communication engineering problems using the
latest hardware and software tools, along with analytical skills to arrive cost effective and
appropriate solutions.
PSO III: The ability to pursue higher studies in either India and abroad and also lead a
successful career with professional ethics.
6 | Page
ABSTRACT:
luggage with them while making a trip or journey with valuable items.
In some cases, people generally lose their luggage out of forgetting and
thefts. To take the edge off these circumstances, a solution has been
carried out through the “Luggage Tracking System” with which people
can locate their luggage by using GPS Tracker. One needs one’s
your bag. Whenever the things happen wrong, Arduino hidden in your
bag can be phoned and it will send an SMS with the location, longitude
and latitude at the moment. So that the suffered persons can easily track
luggage location.
7 | Page
INTRODUCTION:
Nowadays, the luggage tracking system is implemented using
GPS+GPRS module which rely on proximity to trace the luggage. The module is
paired with the owner's smartphone to keep track of luggage and performs
analytics. Luggage tracking system enables users to keep an eye on their luggage
while sitting remotely and provides more control in terms of security. By this users
can know about the status of their luggage through smartphones. In some cases,
people generally lose/ forget their luggage. To take the edge off these
people can locate their luggage using GPS Tracker. You just need to install your
Arduino with the Quad band module (SIM908) in a hidden place in your bag.
When you think something is wrong call immediately to your Arduino, hidden in
your bag and it will send an SMS with the location, longitude and latitude at the
moment, it also sends the GPS data to a web server with real time position. So that
people can easily track the location of their luggage in a simple manner.
Extra-feature is not only luggage while transporting our packages we can utilize
this tracking system. By that we can get the updates of our luggage.
8 | Page
Index:
1. Introduction----------------------------------------------------------12
1.1. What is wireless communication------------------------12
1.1.1. What is an electromagnetic wave--------------13
1.1.2. A Brief History of Communication System---13
1.2. What is Wireless Communication?---------------------14
1.2.1. Advantages of Wireless Communication
System---------------------------------------------------15
1.2.1.1. Cost--------------------------------------------15
1.2.1.2. Mobility--------------------------------------16
1.2.1.3. Ease of installation------------------------16
1.2.1.4. Reliability------------------------------------16
1.2.1.5. Disaster recovery--------------------------16
1.2.2. Disadvantages of Wireless
communication system-----------------------------16
1.2.2.1. Interference---------------------------------16
1.2.2.2. Security--------------------------------------17
1.2.2.3. Health Concerns---------------------------17
1.3. Basic elements of Communication System-----------17
1.3.1. The transmission path----------------------------17
9 | Page
1.3.2. The Channel-----------------------------------------18
1.3.3. The Reception path--------------------------------18
1.4. Types of Wireless Communication Systems----------19
1.4.1. Television and Radio Broadcasting-------------20
1.4.2. Satellite Communication--------------------------21
1.4.3. Mobile telephone Communication
system----------------------------------------------------21
1.4.4. GPS (Global positioning system)----------------21
1.4.5. Bluetooth----------------------------------------------21
1.4.6. Paging--------------------------------------------------21
1.4.7. Wireless local Area network (WLAN)----------22
1.4.8. Infrared Communication--------------------------22
2. Literature Survey---------------------------------------------------23
2.1 Mobile Tracking System Using GPS-----------------------23
2.2 Vehicle Tracking System Using IoT------------------------23
3. Ingredients----------------------------------------------------------24
3.1. Arduino UNO--------------------------------------------------24
3.1.1. Pins------------------------------------------------------25
3.1.2. Special Pin Functions-------------------------------26
3.1.3. Communication--------------------------------------26
10 | Page
3.1.4. Sim Quad Band Module---------------------------27
3.2. Precautions----------------------------------------------------30
3.3. Software Code------------------------------------------------31
3.4. Final Assembly------------------------------------------------33
4. Result------------------------------------------------------------------36
5. Conclusion-----------------------------------------------------------38
6. References-----------------------------------------------------------39
11 | Page
1. Introduction:
Wireless Communication is the fastest growing and most vibrant
technological area in the communication field. Wireless Communication is a
method of transmitting information from one point to another, without using any
connection like wires, cables or any physical medium.
Such a type of medium is called Guided Medium. On the other hand, Wireless
Communication doesn’t require any physical medium but propagates the signal
through space. Since, space only allows for signal transmission without any
guidance, the medium used in Wireless Communication is called Unguided
Medium.
12 | Page
Antennas are electrical devices that transform the electrical signals to radio
signals in the form of Electromagnetic (EM) Waves and vice versa. These
Electromagnetic Waves propagate through space. Hence, both transmitter and
receiver consist of an antenna.
An Electromagnetic Wave consists of both electric and magnetic fields in the form
of time varying sinusoidal waves. Both these fields are oscillating perpendicular to
each other and the direction of propagation of the Electromagnetic Wave is again
perpendicular to both these fields.
13 | Page
1.1.2. A Brief History Of Communication System
Since the use of smoke signals, flags and flashing mirrors in the pre –
historic period, Wireless communication has been a part of human life and is
continuously evolving. Modern Wireless Communication i.e. using electrical
signals and radio waves for communication has been around us for more than 100
years.
By early 1900’s, Trans – Atlantic radio transmission had been established, where
Marconi successfully transmitted messages in the form of Morse code. Since then,
the technology related to wireless communication and wireless systems has
advanced rapidly and thus enabling transmissions over longer distances at low cost
with cheaper devices.
But the rapid growth of Mobile Communication started to replace the complex
wired telephone system. In this scenario, the wired technology became outdated
and got replaced by wireless communication.
1. These two examples point out that with the development of technology, we
always have to choose what’s best for the situation i.e. in some areas we have to
14 | Page
use wired communication whereas in the other, going for wireless may be a
better option.
Apart from mobility, wireless communication also offers flexibility and ease of
use, which makes it increasingly popular day – by – day. Wireless Communication
like mobile telephony can be made anywhere and anytime with a considerably high
throughput performance.
1.2.1.1. Cost
1.2.1.2. Mobility
As mentioned earlier, mobility is the main advantage of wireless
communication system. It offers the freedom to move around while still connected to
the network.
1.2.1.4. Reliability
Since there are no cables and wires involved in wireless communication,
there is no chance of communication failure due to damage of these cables which
may be caused by environmental conditions, cable splice and natural diminution of
metallic conductors.
16 | Page
1.2.2.1. Interference
Wireless Communication systems use open space as the medium for
transmitting signals. As a result, there is a huge chance that radio signals from one
wireless communication system or network might interfere with other signals.
The best example is Bluetooth and Wi-Fi (WLAN). Both these technologies use the
2.4GHz frequency for communication and when both of these devices are active
at the same time, there is a chance of interference.
1.2.2.2. Security
One of the main concerns of wireless communication is Security of the data.
Since the signals are transmitted in open space, it is possible that an intruder can
intercept the signals and copy sensitive information.
17 | Page
1.3.1. The Transmission Path
A typical transmission path of a Wireless Communication System consists
of Encoder, Encryption, Modulation and Multiplexing. The signal from the source
is passed through a Source Encoder, which converts the signal into a suitable form
for applying signal processing techniques.
The modulated signal is then multiplexed with other signals using different
Multiplexing Techniques like Time Division Multiplexing (TDM) or Frequency
Division Multiplexing (FDM) to share the valuable bandwidth.
18 | Page
1.3.2. The Channel
The channel in Wireless Communication indicates the medium of
transmission of the signal i.e. open space. A wireless channel is unpredictable and
also highly variable and random in nature. A channel maybe subject to
interference, distortion, noise, scattering etc. and the result is that the received
signal may be filled with errors.
The signal from the channel is received by the Demultiplexer and is separated from
other signals. The individual signals are demodulated using appropriate
Demodulation Techniques and the original message signal is recovered. The
redundant bits from the message are removed using the Channel Decoder.
There are many other systems with each being useful for different
applications. Wireless Communication systems can be again classified as Simplex,
Half Duplex and Full Duplex. Simplex communication is one way communication.
An example is the Radio broadcast system.
The devices used for Wireless Communication may vary from one service to
another and they may have different size, shape, data throughput and cost. The area
covered by a Wireless Communication system is also an important factor. The
wireless networks may be limited to a building, an office campus, a city, a small
regional area (greater than a city) or might have global coverage.
20 | Page
1.4.2. Satellite Communication
Satellite Communication System is an important type of Wireless
Communication. Satellite Communication Networks provide worldwide coverage
independent to population density.
1.4.5. Bluetooth
Bluetooth is another important low range wireless communication system.
It provides data, voice and audio transmission with a transmission range of 10
meters. Almost all mobile phones, tablets and laptops are equipped with Bluetooth
devices. They can be connected to wireless Bluetooth receivers, audio equipment,
cameras etc.
1.4.6. Paging
Although it is considered an obsolete technology, paging was a major
success before the widespread use of mobile phones. Paging provides information
in the form of messages and it is a simplex system i.e. the user can only receive the
messages.
21 | Page
1.4.7. Wireless Local Area Network (WLAN)
Wireless Local Area Network or WLAN (Wi-Fi) is an internet related
wireless service. Using WLAN, different devices like laptops and mobile phones
can connect to an access point and access the internet.
22 | Page
2. LITERATURE SURVEY:
2.1 MOBILE TRACKING SYSTEM:
In this project we are going one step ahead with GPS and going to track
a vehicle using GPS and GSM. Tracking of vehicles is a process in which we track
the vehicle location in the form of latitudes and longitudes.GPS coordinates are the
value of location. This system is very efficient for outdoor application purposes.
Arduino controls all the hardware components, Currently almost all of the public
has their own vehicle.Theft is happening in parking and sometimes driving
insecurity places. The place of vehicle identified using GPS and GSM. When the
theft is identified, the responsible person sends an SMS.
23 | Page
3. Ingredients:
24 | Page
versions of Arduino, which have now evolved to newer releases.[4] The
ATmega328 on the board comes pre programmed with a bootloader that allows
uploading new code to it without the use of an external hardware programmer.[3]
While the Uno communicates using the original STK500 protocol,[1] it
differs from all preceding boards in that it does not use the FTDI USB-to-serial
driver chip. Instead, it uses the Atmega16U2 (Atmega8U2 up to version R2)
programmed as a USB-to-serial converter.
3.1.1. Pins:
● LED: There is a built-in LED driven by digital pin 13. When the pin is high
value, the LED is on, when the pin is low, it is off.
● VIN: The input voltage to the Arduino/Genuino board when it is using an
external power source (as opposed to 5 volts from the USB connection or other
regulated power source). You can supply voltage through this pin, or, if
supplying voltage via the power jack, access it through this pin.
● 5V: This pin outputs a regulated 5V from the regulator on the board. The board
can be supplied with power either from the DC power jack (7 - 20V), the USB
connector (5V), or the VIN pin of the board (7-20V). Supplying voltage via the
5V or 3.3V pins bypasses the regulator, and can damage the board.
● 3V3: A 3.3 volt supply generated by the on-board regulator. Maximum current
draw is 50 mA.
● GND: Ground pins.
● IOREF: This pin on the Arduino/Genuino board provides the voltage reference
with which the microcontroller operates. A properly configured shield can read
the IOREF pin voltage and select the appropriate power source, or enable
voltage translators on the outputs to work with the 5V or 3.3V.
● Reset: Typically used to add a reset button to shields that block the one on the
board.[7]
25 | Page
3.1.2. Special pin functions:
Each of the 14 digital pins and 6 analog pins on the Uno can be used as an
input or output, under software control (using pinMode(), digitalWrite(), and
digitalRead() functions). They operate at 5 volts. Each pin can provide or receive
20 mA as the recommended operating condition and has an internal pull-up resistor
(disconnected by default) of 20-50K ohm. A maximum of 40mA must not be
exceeded on any I/O pin to avoid permanent damage to the microcontroller. The
Uno has 6 analog inputs, labeled A0 through A5; each provides 10 bits of
resolution (i.e. 1024 different values). By default, they measure from ground to 5
volts, though it is possible to change the upper end of the range using the AREF
pin and the analogReference() function.[7]
In addition, some pins have specialized functions:
● Serial / UART: pins 0 (RX) and 1 (TX). Used to receive (RX) and transmit
(TX) TTL serial data. These pins are connected to the corresponding pins of the
ATmega8U2 USB-to-TTL serial chip.
● External interrupts: pins 2 and 3. These pins can be configured to trigger an
interrupt on a low value, a rising or falling edge, or a change in value.
● PWM (pulse-width modulation): pins 3, 5, 6, 9, 10, and 11. Can provide 8-bit
PWM output with the analog Write () function.
● SPI (Serial Peripheral Interface): pins 10 (SS), 11 (MOSI), 12 (MISO), and 13
(SCK). These pins support SPI communication using the SPI library.
● TWI (two-wire interface) / I²C: pin SDA (A4) and pin SCL (A5). Support TWI
communication using the Wire library.
● AREF (analog reference): Reference voltage for the analog inputs.[7]
3.1.3. Communication:
The Arduino/Genuino Uno has a number of facilities for communicating
with a computer, another Arduino/Genuino board, or other microcontrollers. The
ATmega328 provides UART TTL (5V) serial communication, which is available
on digital pins 0 (RX) and 1 (TX). An ATmega16U2 on the board channels this
serial communication over USB and appears as a virtual com port to software on
the computer. The 16U2 firmware uses the standard USB COM drivers, and no
external driver is needed. However, on Windows, a .inf file is required. Arduino
Software (IDE) includes a serial monitor which allows simple textual data to be
sent to and from the board. The RX and TX LEDs on the board will flash when
data is being transmitted via the USB-to-serial chip and USB connection to the
26 | Page
computer (but not for serial communication on pins 0 and 1). A SoftwareSerial
library allows serial communication on any of the Uno's digital pins.[7]
3.1.4. SIM Quad band module:
SIM908 Module is a high-performance quad-band GSM / GPRS / GPS
module of industrial grade, which can be controlled via the AT command set. It
can be used to make or receive calls, to send and to receive SMS messages.
Moreover, it can be used to send and to receive data after connecting to the
network. Besides, it can realize global positioning by locating its geographical
position with GPS.
27 | Page
GPRS+GPS shield diagram (bottom):
The LED of the shield shows the status of the GPRS+GPS module. The table
below shows the meaning of the blink of the LED.
28 | Page
STEP 3: System assembly:
Antenna availability
We recommend the usage of the following antennas:
● Internal 3G/GPRS/GSM antenna
● External 3G/GPRS/GSM antenna
● Internal GPS antenna
● External GPS antenna
Connect the antennas to the shield:
29 | Page
Connect the shield to the Arduino:
3.2. Precautions:
● Handle with care the internal antenna. It's fragile.
● The GPS antenna must be in horizontal position.
● To improve the satellite's signal, the antenna has to be in a place with a clear sky
view (no trees, no buildings...).
30 | Page
3.3. Software Arduino Code:
#include <SoftwareSerial.h>
SoftwareSerial gps(10,11); // RX, TX void serialEvent()
//String str=""; {
String gpsString=""; {
boolean gps_status=0; }
{ temp=0;
Serial.begin(9600); }
gps.begin(9600); }
gsm_init(); {
get_gps(); gpsString="";
delay(2000); while(1)
} {
{ {
{ i++;
get_gps(); if (i < 7)
tracking(); {
} if(gpsString[i-1] != test[i-1])
} {
i=0; {
gpsString=""; Serial.println("ATE0");
} while(Serial.available()>0)
} {
if(inChar=='\r') if(Serial.find("OK"))
{ echo_flag=0;
31 | Page
if(i>65) }
{ delay(1000);
gps_status=1; }
break; {
} if(Serial.find("OK"))
else }
{ }
i=0; void init_sms()
}
} Serial.println("AT+CMGF=1");
} delay(400);
if(gps_status) Serial.println("AT+CMGS=\"+91**********\""); //
use your 10 digit cell no. here
break;
at_flag=0;
}
}
}
{
void gsm_init()
Serial.println("AT+CPIN?");
{
while(Serial.available()>0)
Serial.println("AT");
{
while(Serial.available()>0)
if(Serial.find("+CPIN: READY"))
net_flag=0;
delay(1000);
}
}
delay(1000);
gpsEvent();
}
int str_lenth=i;
void get_gps()
latitude="";
{
longitude="";
gps_status=0;
int comma=0;
int x=0;
while(x<str_lenth)
while(gps_status==0)
{
{
if(gpsString[x]==',')
delay(400);
comma++;
}
if(comma==2) //extract latitude from string
void send_data(String message)
latitude+=gpsString[x+1];
{
else if(comma==4) //extract longitude from
string Serial.println(message);
longitude+=gpsString[x+1]; delay(200);
x++; }
} void send_sms()
int l1=latitude.length(); {
32 | Page
latitude[l1-1]=' '; Serial.write(26);
l1=longitude.length(); }
longitude[l1-1]=' '; void tracking()
delay(2000) {
send_data("Vehicle Tracking Alert:"); init_sms();
send_data("Your Vehicle Current Location is:"); send_data("Please take some action
soon..\nThankyou");
send_data(latitude);
send_sms();
send_data(longitude);
delay(2000);
}
You can fix the batteries to the module with flanges so the whole system will
need less room and you will be able to place it better in your bag.
33 | Page
STEP 4: Software
In this step we use an Arduino UNO with the GPRS+GPS(SIM908) shield
to send GPS coordinates to a mobile with a SMS and through HTTP when you call
the module and your number is correct.
Remember, the serial communication jumpers have to be set on Arduino position.
34 | Page
Second Step:
When the GPS fixes the GPS satellites, the GPRS+GPS shield will connect
to the network and it will send the GPS data through the Internet to the mobile in
the form of an URL.
After the Arrival of URL. Search that URL in google then the details such as
latitudes, longitudes and position of the baggage by using this tracker.
35 | Page
4. Results
The SIM908 module identifies your phone number when you message it and
if it is correct, the GPS fixes the GPS satellites. The GPRS+GPS shield will
connect to the network and will send the GPS data through URL request. Then we
can show the position of the device in Google Maps.
It's very simple a GPS module to get position data and the 3G module that sends
the URL request with the coordinates of the Luggage. It starts to send the
URLrequest every few seconds with data of the position (latitude and longitude).
When you find your Luggage, you only have to reset your arduino and it is ready
to work again!
36 | Page
fig(3): Location of Luggage
This chapter discusses the results and any limitations and problems
encountered during the period of the project. Managed to successfully apply the
“LUGGAGE TRACKING SYSTEM” and it was user friendly and cost
effective. User friendly as in anyone can use just a click of a URL on a
smartphone screen and everything works. And it is cost-effective as in it will cost
exactly as the project requires (optimum price). Figure shows the prototype of the
system.
37 | Page
5. CONCLUSIONS :
This chapter confers on the conclusion of Luggage Tracking System Using IoT and
discusses some future recommendations.
It can be concluded that “LUGGAGE TRACKING SYSTEM” was a success.
This system consists of an Arduino-Uno board, a GPS Module, a GSM Module
and a Google Map Application. It is user friendly and it is cost effective. Also it
can be concluded that the objectives of this project has been successfully met and
they are as follows:
38 | Page
6. References
1. ^ Jump up to:a b c d "Arduino UNO for beginners - Projects, Programming
and Parts". makerspaces.com. Retrieved 4 February 2018.
2. ^ http://medea.mah.se/2013/04/arduino-faq/
3. ^ Jump up to:a b c "What is Arduino?". learn.sparkfun.com. Retrieved 4
February 2018.
4. ^ Jump up to:a b "Introduction to Arduino" (PDF). priceton.edu. Archived
from t he original (PDF) on 3 April 2018. Retrieved 4 February 2018.
5. ^ "Arduino". store.arduino.cc. Retrieved 10 March 2020.
6. ^ https://arduino.cc https://store.arduino.cc/usa/arduino-leonardo-with-head
ers
7. ^ Jump up to:a b c d e f g h official website. Content was copied from
this source, which is licensed under the Creative Commons
Attribution-Share Alike 3.0 (Unported) (CC-BY-SA 3.0) license.
8. ^ Jump up to:a b Hernando Barragán (2016-01-01). " The Untold History of
Arduino". arduinohistory.github.io. Retrieved 2016-03-06.
39 | Page