GSM and Gps Based Vehicle Tracking System
GSM and Gps Based Vehicle Tracking System
CHAPTER 1
1.1 INTRODUCTION
1.2 PROBLEM STATEMENT
1.3 OBJECTIVES
CHAPTER 2
3.1 ABSTRACT
3.2 BLOCK DIAGRAM
3.3 WORKING
CHAPTER 4
5.1 ADVANTAGES
5.2 DISADVANTAGES
5.3 APPLICATIONS
CHAPTER 6
6.1 RESULT
CHAPTER 7
7.1 REFERENCES
CHAPTER 1
1.1 INTRODUCTION
Transportation plays an integral role in modern society, ensuring the movement of people and
goods across vast distances. With the continuous growth of global transportation networks,
managing and monitoring vehicles efficiently has become a priority. Challenges such as
vehicle theft, unauthorized use, and inefficient logistics necessitate the development of
advanced vehicle tracking systems. These systems not only enhance the safety and security of
vehicles but also improve operational efficiency for businesses and individuals alike.
A GSM and GPS-based vehicle tracking system provides a solution to these challenges by
leveraging modern communication and navigation technologies. This project integrates two
core modules:
1. GPS Module (NEO-6M): Responsible for capturing precise location data in the form
of latitude and longitude coordinates.
2. GSM Module (SIM800C): Facilitates communication by sending location details via
SMS to a registered mobile number.
The central processing is handled by an Arduino Uno, which acts as the brain of the system,
controlling the modules and processing data. The system is designed with user convenience
in mind, offering three distinct modes of operation:
Periodic Updates: The system sends location details automatically at regular
intervals.
On-demand Updates: Users can request location details by sending an SMS
command to the system.
Emergency Alerts: A manual button allows the driver to instantly send the vehicle's
location to the registered mobile number in case of emergencies.
Additionally, the system includes a 16x2 LCD display to show real-time location data locally.
This ensures that the information is accessible even without a mobile device. The coordinates
sent via SMS are compatible with Google Maps, enabling seamless navigation and
monitoring.
The proposed system is versatile and can be implemented in various domains, such as public
transportation, cab services, logistics, and personal vehicle tracking. Its simplicity, cost-
effectiveness, and reliability make it an ideal solution for individuals and organizations
seeking to enhance the safety and efficiency of their transportation operations.
Through this project, we aim to demonstrate how GSM and GPS technology can be
integrated effectively to address real-world transportation challenges while laying the
groundwork for future advancements in vehicle tracking systems.
1.2 PROBLEM STATEMENT
Transportation and logistics systems face significant challenges, including vehicle theft,
unauthorized use, and inefficient routing. Existing vehicle tracking solutions are often either
prohibitively expensive or lack essential functionalities such as real-time updates and user-
triggered alerts.
Moreover, users in remote or underserved regions may find it difficult to access reliable
tracking systems. This results in increased security risks, delayed deliveries, and reduced
operational efficiency for businesses and individuals.
There is a pressing need for an affordable, user-friendly, and reliable vehicle tracking system
that can provide real-time location data and enhance security. The system should utilize
readily available technologies like GSM and GPS while offering multiple modes of operation
for different use cases.
1.3 OBJECTIVES
1. Real-Time Location Tracking:
Develop a system to provide accurate and real-time vehicle location data using GPS
technology.
2. Multiple Operation Modes:
Implement tracking modes such as:
o Periodic updates at regular intervals.
3. User-Friendly Communication:
Ensure the system sends location data via SMS in a format compatible with Google
Maps for easy navigation.
4. Cost-Effectiveness:
Design a system that is affordable and suitable for widespread use, leveraging low-
cost hardware components.
5. Versatile Application:
Create a solution adaptable to various use cases, such as fleet management, cab
services, goods transport, and personal vehicle security.
6. Real-Time Display:
Include an LCD module to display location data locally, ensuring immediate access to
critical information.
7. Reliability and Efficiency:
Ensure the system operates reliably under different conditions, with minimal
downtime and efficient power usage.
CHAPTER 2
2.1 LITERATURE SURVEY
1. Traditional Vehicle Tracking Systems
Earlier vehicle tracking solutions relied on manual methods, such as logbooks or
radio-based systems, which were prone to errors and lacked real-time updates.
RFID and Barcodes: These technologies were employed for vehicle identification
but did not provide continuous tracking. They required physical proximity and manual
scanning, limiting their applicability in dynamic environments.
Radio-Frequency Tracking: These systems used radio waves to transmit location
data. However, the range was limited, and the setup was expensive, making them
unsuitable for widespread adoption.
4. Research Contributions
Multi-Trigger Mechanisms:A study by researchers emphasized the need for tracking
systems to support multiple triggers, such as time-based, SMS-based, and emergency
alerts. These mechanisms enhance the versatility and responsiveness of the system,
making it suitable for diverse use cases.
Integration with Google Maps:The utility of integrating tracking data with Google
Maps has been explored in several works. This feature ensures that users can visualize
the vehicle's location in a user-friendly manner, increasing accessibility for non-
technical users.
Power Efficiency:Recent research highlights the importance of designing systems
with low power consumption. Solutions such as energy-efficient GPS modules and
optimized microcontroller code have been proposed to enhance battery life in portable
setups.
CHAPTER 3
3.1 ABSTRACT
Vehicle tracking systems are essential for enhancing transportation efficiency, security, and
convenience. This project introduces a GSM and GPS-based vehicle tracking system that
provides real-time location data through a versatile design approach. The system is built
around an Arduino Uno microcontroller, which integrates GPS (NEO-6M) and GSM
(SIM800C) modules to gather and transmit vehicle location details.
The system sends location data as SMS messages, including a Google Maps link for easy
visualization. A 16x2 LCD displays the location coordinates in real-time, offering local
monitoring. This cost-effective, user-friendly system is adaptable for applications such as
fleet management, personal vehicle tracking, and public transportation.
The block diagram outlines the primary components and their interactions in the system.
Components:
Signal Flow:
3.3 WORKING
The working of the system is divided into three operational modes: periodic updates, on-
demand tracking, and emergency alerts. Each mode is supported by the seamless integration
of hardware and software components.
1. Initialization
When powered on, the Arduino initializes all connected modules (GPS, GSM, LCD).
The GSM module establishes a connection to the mobile network, and the GPS
module starts acquiring satellite signals for location data.
The LCD displays a message indicating system readiness.
2. Periodic Updates
The Arduino continuously receives GPS coordinates from the NEO-6M module.
Every minute (or a pre-defined interval), the Arduino processes this data to format a
message.
The GSM module sends the formatted message (containing coordinates and a Google
Maps link) to the registered mobile number via SMS.
3. On-Demand Updates
4. Emergency Alerts
Pressing the emergency button triggers the Arduino to send an instant location update.
The GSM module immediately transmits an SMS to the registered number with the
current coordinates.
This mode ensures that the vehicle's location can be quickly accessed during critical
situations.
5. Data Display
The 16x2 LCD displays the latitude and longitude values in real-time.
This feature ensures local accessibility to location data without requiring a mobile
device.
6. Power Management
This systematic workflow ensures the reliability, versatility, and user-friendliness of the
proposed vehicle tracking system.
CHAPTER 4
4.1 HARDWARE DESCRIPTION
The hardware components in this project are carefully selected to ensure a balance of
functionality, cost-effectiveness, and ease of integration. Below is a detailed description of
each hardware component and its role in the system.
1. Arduino Uno (Microcontroller)
Description:
Arduino Uno is an ATmega328P-based microcontroller board that serves as the
central processing unit in the system. It manages the input from the GPS module,
processes the data, and communicates with the GSM module and LCD.
Key Features:
o 14 digital input/output pins (6 PWM outputs).
o 6 analog inputs.
Description:
The NEO-6M is a compact GPS receiver that provides accurate location data
(latitude, longitude) by communicating with satellites.
Key Features:
o Sensitivity: -161 dBm.
Description:
The SIM800C is a quad-band GSM module used for communication. It sends and
receives SMS messages for transmitting location data and receiving user commands.
Key Features:
o Frequency bands: 850/900/1800/1900 MHz.
Description:
A 16x2 LCD is used to display real-time GPS coordinates locally on the system.
Key Features:
o 16 characters per line, 2 lines.
o Operates on 5V power.
Description:
A 12V DC adapter supplies power to the entire system, including Arduino, GSM, and
GPS modules.
Key Features:
o Stable output voltage and current.
1.Arduino IDE
Description:
The Arduino Integrated Development Environment (IDE) is used for programming
the Arduino Uno. It provides an easy-to-use platform for writing, compiling, and
uploading code to the microcontroller.
Key Features:
o Simple syntax based on C/C++ programming.
2. Code Structure
The software code is divided into the following sections for modularity and ease of
debugging:
a. Initialization Section
Sets up the hardware components (GPS, GSM, LCD, Button).
Configures UART communication for GPS and GSM modules.
b. GPS Data Handling
Reads raw GPS data from the NEO-6M module.
Extracts latitude and longitude coordinates.
c. GSM Communication
Sends SMS messages containing location data.
Listens for incoming SMS commands and triggers on-demand tracking.
d. Emergency Alerts
Monitors the button input and sends an immediate SMS alert when pressed.
e. LCD Display Handling
Updates the 16x2 LCD with the latest latitude and longitude values.
Coding
Coding is as follows…..
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
TinyGPSPlus gps;
String incomingSMS = "";
String phoneNumber = "+91XXXXXXXXXX"; // Replace with your number
void setup() {
Serial.begin(9600);
gsmSerial.begin(9600);
gpsSerial.begin(9600);
delay(2000);
Serial.println("Initializing...");
sendATCommand("AT");
sendATCommand("AT+CMGF=1"); // Set SMS to text mode
sendATCommand("AT+CNMI=1,2,0,0,0"); // New SMS indication
Serial.println("System Ready.");
}
void loop() {
checkForSMS();
}
if (locationFound) {
float lat = gps.location.lat();
float lon = gps.location.lng();
String mapsLink = "https://maps.google.com/?q=" + String(lat, 6) + "," + String(lon, 6);
String message = "Vehicle Location:\nLat: " + String(lat, 6) + "\nLon: " + String(lon, 6) +
"\n" + mapsLink;
sendSMS(phoneNumber, message);
} else {
sendSMS(phoneNumber, "GPS signal not found. Try again later.");
}
}
// Function to send AT command
void sendATCommand(String cmd) {
gsmSerial.println(cmd);
delay(1000);
while (gsmSerial.available()) {
Serial.write(gsmSerial.read());
}
}
// Function to send SMS
void sendSMS(String number, String message) {
gsmSerial.print("AT+CMGS=\"");
gsmSerial.print(number);
gsmSerial.println("\"");
delay(1000);
gsmSerial.println(message);
delay(100);
gsmSerial.write(26); // Ctrl+Z
delay(3000);
Serial.println("SMS Sent.");
}
CHAPTER 4
5.1 ADVANTAGES
The GSM and GPS-based vehicle tracking system offers numerous benefits due to its
functionality, design, and implementation. Below is a detailed explanation of the advantages:
1. Real-Time Tracking
Provides precise location data in real-time, enabling effective vehicle monitoring.
Reduces uncertainty about vehicle whereabouts for logistics and personal security.
2. Cost-Effective Solution
Utilizes readily available and affordable components like Arduino, GPS, and GSM
modules.
Eliminates the need for expensive dedicated tracking systems.
3. User-Friendly Design
Easy to operate with simple SMS commands for on-demand location updates.
Minimal training is required for users to interact with the system.
4. Multi-Mode Operation
The GSM module enables communication over a broad range of cellular networks.
Suitable for both urban and rural areas with adequate GSM network availability.
Location data sent via SMS includes a Google Maps link, making it easy for users to
visualize the vehicle's position.
Enhances user experience and reduces the complexity of interpreting raw GPS data.
7. Scalability
The system can be scaled to track multiple vehicles by assigning separate GSM
modules to each unit.
Suitable for fleet management applications in logistics and public transport.
8. Local Monitoring
The 16x2 LCD provides immediate feedback on location coordinates for drivers and
nearby personnel.
Ensures accessibility even without GSM connectivity in certain scenarios.
The system is designed to operate efficiently, ensuring prolonged use with minimal
energy consumption.
5.2 DISADVANTAGES
While the system has significant advantages, there are some limitations:
The GPS module may take time to acquire satellite signals, especially in adverse
weather conditions or dense urban areas.
This can delay the availability of location data.
3. Limited Accuracy
Unauthorized access to the GSM module or mobile number could lead to misuse of
location data.
Requires robust security measures to protect sensitive information.
6. Manual Intervention
Emergency alerts rely on the driver pressing the button, which may not always be
feasible during critical situations.
7. Maintenance Requirements
5.3 APPLICATIONS
The vehicle tracking system is versatile and can be applied in various domains. Below is an
elaborate description of its applications:
1. Fleet Management
Ideal for logistics companies to monitor and manage their fleet of vehicles.
Enables route optimization and ensures timely delivery of goods.
2. Public Transportation
Tracks buses, trains, and other public transport vehicles to improve operational
efficiency.
Provides real-time location updates to passengers via mobile apps or display boards.
Enhances the safety and security of personal vehicles by allowing owners to track
them remotely.
Useful in theft prevention and recovery.
Used in ambulances and fire trucks to provide real-time location updates to dispatch
centres.
Reduces response time during emergencies by sharing precise location data.
6. Goods Transportation
Helps parents and school authorities track the location of school buses for improved
safety.
Provides alerts about arrival and departure times.
8. Industrial Applications
Tracks the movement of construction or mining vehicles within large project sites.
Improves resource allocation and operational efficiency.
9. Wildlife Tracking
CHAPTER 6
6.1 RESULT
RESULTS
The Vehicle Tracking System using GPS and GSM was successfully developed and tested.
The system effectively tracks the real-time location of a vehicle using the GPS module and
sends the location information via SMS using the GSM module. Below are the key results
and observations from the system:
1. Real-Time Location Tracking:
o The system consistently provided accurate GPS coordinates (latitude and
longitude) of the vehicle when requested via SMS.
o The NEO-6M GPS module showed a high level of accuracy, providing
coordinates with a margin of error of approximately 5 to 10 meters under
optimal conditions.
o The location data was transmitted correctly to the predefined mobile number
within a few seconds after sending the request SMS.
2. SMS Communication:
o The SIM800L GSM module successfully sent SMS containing the GPS
coordinates when prompted by the user. The system handled SMS requests
efficiently, with no significant delays in transmission.
o The system was able to send a Google Maps link in the SMS, allowing the
user to directly view the vehicle’s location on a map.
o SMS alerts were successfully delivered to the mobile phone, even in
environments with average mobile network coverage.
3. Error Handling:
o In instances where the GPS signal was weak or unavailable (such as inside
buildings or areas with poor satellite visibility), the system provided a clear
notification to the user that the GPS signal was not found, ensuring
transparency and reliability.
o The system was able to resume normal operation once the GPS module
regained a clear satellite signal.
4. System Reliability:
o The overall system demonstrated stable performance during testing with
consistent GPS data and reliable GSM communication.
o Power Consumption: The system operated within the acceptable power
range, powered by the Arduino Uno and external power source (12V for the
GSM module).
o The Arduino microcontroller successfully handled the GPS data processing
and SMS communication without any system crashes or malfunctions.
5. Use Case Test:
o The system was successfully tested on an actual vehicle, and the location
updates were consistently received by the user in real-time.
o The real-time tracking feature was demonstrated when the vehicle moved
along a predefined route. The location was updated accurately, and the SMS
alerts were sent without fail.
6. Potential Enhancements:
o The system can be further enhanced by adding features like geofencing (to
send alerts when the vehicle enters or exits a predefined zone), automatic
periodic updates, or web-based tracking via an IoT platform.
o Integrating a mobile app could further simplify user interaction, allowing for
more advanced tracking and monitoring features.
CONCLUSION
The GSM and GPS-based vehicle tracking system has been successfully conceptualized and
developed to address the critical need for efficient and accurate vehicle monitoring. The
system combines advanced technology, such as GPS for location tracking and GSM for
communication, to provide a versatile, cost-effective, and scalable solution. Its ability to
operate in multiple modes—periodic updates, on-demand tracking, and emergency alerts—
makes it adaptable for a wide range of applications, from fleet management to personal
vehicle security.
The integration with Google Maps adds significant value by providing a user-friendly
interface for visualizing location data. Additionally, the inclusion of a local LCD display
ensures accessibility even in cases where GSM communication may be temporarily
unavailable.
Through the detailed hardware and software design, the project has demonstrated how low-
cost and widely available components can be leveraged to create a robust and practical
system. While certain limitations, such as reliance on GSM networks and environmental
factors affecting GPS accuracy, exist, the system’s strengths significantly outweigh its
drawbacks.
In conclusion, this project serves as a reliable and efficient solution for modern vehicle
tracking needs, contributing to enhanced safety, security, and operational efficiency across
various domains.
While the developed system effectively meets its current objectives, there are numerous
possibilities for enhancements and expansions in the future. The following outlines the
potential areas for improvement and broader applications:
Advancement:
Incorporating IoT technology to enable real-time data sharing over the internet.
Benefit:
Facilitates centralized monitoring and data storage, enabling users to access tracking
information from any internet-enabled device.
Advancement:
Developing a dedicated mobile application for tracking vehicles and configuring
system settings.
Benefit:
Enhances user experience with features such as geofencing, push notifications, and
detailed travel history.
4. Geofencing Implementation
Advancement:
Setting up predefined geographic boundaries for vehicles using software.
Benefit:
Sends alerts when the vehicle enters or exits designated zones, improving security and
compliance.
5. Power Optimization
Advancement:
Utilizing low-power microcontrollers and sleep modes for modules when not in active
use.
Benefit:
Prolongs battery life, making the system more suitable for long-term deployments in
remote areas.
Advancement:
Expanding the system to support multiple vehicles with a centralized monitoring
dashboard.
Benefit:
Enables efficient management of large fleets in logistics, public transport, or rental
services.
Advancement:
Adding sensors like accelerometers, gyroscopes, or fuel level indicators to monitor
driving behaviour and vehicle health.
Benefit:
Provides additional insights, such as detecting over-speeding, harsh braking, or fuel
theft.
Advancement:
Incorporating alternative technologies such as GLONASS, LoRa, or satellite
communication for better coverage and reliability.
Benefit:
Ensures consistent tracking in areas with weak GPS or GSM signals.
9. Cloud-Based Data Storage
Advancement:
Storing tracking data on cloud servers for historical analysis and reporting.
Benefit:
Enables users to generate detailed reports on travel routes, fuel efficiency, and driver
performance.
Advancement:
Implementing AI/ML algorithms to predict vehicle routes, optimize schedules, or
identify anomalies in vehicle movement.
Benefit:
Enhances decision-making and improves overall system intelligence.
Advancement:
Powering the system using solar panels to reduce dependency on conventional power
sources.
Benefit:
Makes the system sustainable and suitable for remote, off-grid locations.
Advancement:
Directly linking the system with local emergency services to provide real-time alerts
during critical incidents.
Benefit:
Reduces response time for rescue operations, improving safety.
Chapter 7
References
1. Gopi, A., & Padmini, V. (2016). "IoT Based Vehicle Tracking and Monitoring
System Using GPS and GSM." International Journal of Advanced Research in
Electrical, Electronics, and Instrumentation Engineering, 5(3).
2. Bhosale, S. A., &Madankar, D. (2013). "An Intelligent System for Vehicle Tracking
Based on GPS and GSM." International Journal of Advanced Research in Computer
Science and Software Engineering, 3(12).
3. Mohapatra, A. K., & Pradhan, A. (2018). "Design and Development of GPS-GSM
Based Tracking System." International Journal of Engineering Research and
Technology (IJERT), 7(4).
4. Mazidi, M. A., Naimi, S., & Naimi, S. (2011). The 8051 Microcontroller and
Embedded Systems Using Assembly and C. Pearson Education.
5. Banzi, M., & Shiloh, M. (2020). Getting Started with Arduino. Maker Media.
6. Solanki, P., & Patel, A. (2020). "Implementation of GSM and GPS Technology for
Vehicle Tracking." International Journal of Science and Research (IJSR), 9(5).
7. John, A. (2019). "Real-Time Vehicle Tracking System Using Arduino and GPS."
International Journal of Engineering and Applied Sciences (IJEAS), 11(6).
8. Tiwari, D., & Yadav, N. (2017). "A GPS-GSM Based Vehicle Tracking System with
Google Map Interface." Journal of Emerging Technologies and Innovative Research
(JETIR), 4(8).
9. Kumar, M., & Singh, R. (2016). "Low-Cost GSM and GPS Based Vehicle Tracking
System." International Journal of Computer Applications, 141(2).
10. Malik, R., & Sharma, R. (2018). "IoT-Enabled Smart Vehicle Tracking System."
International Journal of Advanced Research in Computer Science, 9(4).
11. Texas Instruments. (2019). Microcontroller Basics and Applications. Available online
at www.ti.com.
12. Adafruit Industries. (2023). NEO-6M GPS Module Guide. Available online at
www.adafruit.com.
13. Arduino. (2023). Arduino Uno Technical Specifications. Available online at
www.arduino.cc.
14. SIMCom. (2022). SIM800 Series Hardware Design Manual. Available online at
www.simcom.com.
15. Bhuyan, R., & Sahoo, D. (2020). "Vehicle Tracking System Using GSM and GPS."
International Journal of Electronics and Communication Engineering (IJECE), 8(2).
16. Waghmare, S., & Jadhav, P. (2018). "Real-Time Vehicle Tracking with Emergency
Notification System." International Journal of Computer Science and Mobile
Computing (IJCSMC), 7(4).
17. Deka, P., & Choudhury, A. (2017). "GPS and GSM Based Real-Time Vehicle
Tracking System." International Journal of Research in Electronics and Computer
Engineering (IJRECE), 5(2).
18. Sharma, S., & Kumar, P. (2019). "Design and Implementation of Vehicle Tracking
System Using GSM-GPS." Journal of Telecommunications and Information
Technology (JTIT), 11(1).
19. AllAboutCircuits. (2023). GSM and GPS Tutorials. Available online at
www.allaboutcircuits.com.
20. Mouser Electronics. (2023). Microcontrollers and Embedded Systems. Available
online at www.mouser.com.