0% found this document useful (0 votes)
11 views10 pages

GPS Tracker Using Arduino Uno

The document outlines a project to develop a GPS tracker using an Arduino Uno microcontroller, integrating a GPS module for real-time location tracking. It details the necessary hardware and software components, methodology for system design, and provides source code for implementation. The project aims to create a compact and affordable solution for various tracking applications, emphasizing the ease of modification and extension for users.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views10 pages

GPS Tracker Using Arduino Uno

The document outlines a project to develop a GPS tracker using an Arduino Uno microcontroller, integrating a GPS module for real-time location tracking. It details the necessary hardware and software components, methodology for system design, and provides source code for implementation. The project aims to create a compact and affordable solution for various tracking applications, emphasizing the ease of modification and extension for users.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

GPS Tracker Using Arduino Uno 2024-25

1. INTRODUCTION
In today's world, location tracking has become an essential part of many applications
ranging from personal safety to asset management and fleet monitoring. A GPS tracker is
a device that uses signals from satellites to determine the precise location of an object or
person in real time. This project focuses on developing a simple yet effective GPS
tracking system using the Arduino Uno microcontroller. By integrating a GPS module
with the Arduino Uno, the system can capture latitude, longitude, and time data, and
transmit this information through various communication methods such as GSM or
Bluetooth. The Arduino Uno serves as the central processing unit, handling data
collection, basic processing, and communication tasks. Designed to be compact,
affordable, and energy-efficient, this GPS tracker offers a practical solution for real-time
tracking needs in both personal and professional applications. Through this project, users
gain a better understanding of how embedded systems can be used to implement location-
based services in everyday life.

Dept. of ECE, SoET, CMRU, Bangalore Page 1


GPS Tracker Using Arduino Uno 2024-25

2. Hardware and Software requirements


2.1 Hardware components
(a) Arduino UNO

Fig. 2.1.1 Arduino Uno board


Arduino / Genuine Uno is a microcontroller board based on ATmega328P(datasheet).It has
14 digital input/output pins(of which 6 are used as PWM outputs),6 analog inputs, a 16 MHz quartz
crystal a USB connection, a power jack, an ICSP header and a reset button. It contains everything
needed to support the microcontroller; simply connect it to a computer with a USB cable or power
it with a AC-to-DC adapter or battery to get started .You can tinker with your UNO without
worrying too much about doing something wrong, worst case scenario you can replace the chip
for a few dollars and start over again.

(b) GPS Module

Fig. 2.1.2 GPS Module ( NEO-6M GPS)

Dept. of ECE, SoET, CMRU, Bangalore Page 2


GPS Tracker Using Arduino Uno 2024-25

The NEO-6M GPS module is a popular, low-cost GPS receiver that provides accurate location
data using satellite signals. It's widely used in DIY electronics and Arduino projects for
navigation and tracking applications.

(c)Jumper Wires

Fig. 2.1.3 Jumper wires (Male to Female)

Jumper wires (male to female) are electrical connectors with a male pin on one end and a female
socket on the other, used to link components like sensors and microcontrollers on breadboards or
Arduino boards.

(d) USB Cable

Fig. 2.1.4 USB 2.0 Cable Type A/B

A USB 2.0 Type A/B cable connects computers (Type A) to peripherals like printers or scanners
(Type B), supporting data transfer speeds up to 480 Mbps.

Dept. of ECE, SoET, CMRU, Bangalore Page 3


GPS Tracker Using Arduino Uno 2024-25

2.2 Software requirements

(a)Arduino IDE software


Arduino IDE software is an open source software to which a hobbyist can connect the AT
mega chips. In this software the code can be written and uploaded to any AT mega chip and then
the code can be executed on the chip. Many 3D printed electronics and Arduino-compatible use
AT mega chip and hence the user can upload the program. Arduino can also be used firmware
any electronics. Sketch is the window in which the program is to be written.

Fig. 2.2.1 Arduino software tool

Dept. of ECE, SoET, CMRU, Bangalore Page 4


GPS Tracker Using Arduino Uno 2024-25

3. METHODOLOGY
3.1 Hardware Description:
System Design and Architecture:
The GPS tracking system based on Arduino Uno is designed around a modular and scalable
architecture, integrating key hardware and software components to ensure efficient real-time
location tracking and data communication. The system is primarily composed of four major
modules: the Microcontroller Unit (MCU), the GPS Receiver Module, the Communication
Module

Workflow:
1. Powering the System

 Supply 5V power to the Arduino Uno.


 Power the GPS module (usually via 3.3V or 5V, depending on the module).
2. Initializing Components

 Initialize serial communication between Arduino and:


o The computer (for monitoring) via Serial.begin().
o The GPS module via SoftwareSerial or another UART port.
3. Receiving GPS Data

 The GPS module continuously sends NMEA sentences (raw location data).
 Arduino reads incoming serial data from the GPS module.
4. Parsing the GPS Data

 Extract useful information (latitude, longitude, time, speed, etc.) from the raw NMEA
sentences.
 Use a GPS parsing library like TinyGPS++ to simplify this step.
5. Processing Location Data

 Filter or validate GPS readings (e.g., check if the fix is valid, discard errors).

Dept. of ECE, SoET, CMRU, Bangalore Page 5


GPS Tracker Using Arduino Uno 2024-25

4. SOFTWARE DESCRIPTION
The software for the GPS tracker built on Arduino Uno is developed using the Arduino
Integrated Development Environment (IDE) and written in C/C++ language, focusing on
efficient data acquisition, processing, and communication.

4.1 :Source Code


2. #include <SoftwareSerial.h>
3.
4. // Define the RX and TX pins for the SoftwareSerial interface
5. #define GPS_TX_PIN 2
6. #define GPS_RX_PIN 3
7.
8. // Create a SoftwareSerial object for communication with the
NEO-6M GPS module
9. SoftwareSerial gpsSerial(GPS_RX_PIN, GPS_TX_PIN);
10.
11. void setup() {
12. // Initialize serial communication with the computer
13. Serial.begin(9600);
14.
15. // Initialize serial communication with the GPS module
16. gpsSerial.begin(9600);
17. }
18.
19. void loop() {
20. // Read data from the GPS module and send it to the computer
21. if (gpsSerial.available()) {
22. char c = gpsSerial.read();
23. Serial.write(c);
24. }
25.
26. // Read data from the computer and send it to the GPS module
27. if (Serial.available()) {
28. char c = Serial.read();
29. gpsSerial.write(c);
30. }
31. }
32.

Dept. of ECE, SoET, CMRU, Bangalore Page 6


GPS Tracker Using Arduino Uno 2024-25

4.2 Circuit Diagram

Dept. of ECE, SoET, CMRU, Bangalore Page 7


GPS Tracker Using Arduino Uno 2024-25

5. RESULT & DISCUSSION


5. 1 Snapshot of the Project

The block diagram and the circuit diagrams are shown once the components were
connected to each other. All the components are connected to each other and thus the system setup
which helps one to understand the steps in simple and easy way.

Fig. 5.1 GPS Tracker Using Arduino Uno .

Dept. of ECE, SoET, CMRU, Bangalore Page 8


GPS Tracker Using Arduino Uno 2024-25

5.2. RESULT
We have successfully implemented the GPS tracker using Arduino Uno, here is
what we have expected as the result:

Expected Results:

1. Output on Serial Monitor:


o When you run the code with the GPS module connected to the
Arduino, you will see the latitude and longitude coordinates printed
on the Serial Monitor.

Output:

Before GPS Coordinates Fix:


$GPVTG,,T,,M,0.588,N,1.089,K,A*26
$GPGGA,075303.00,1307.13368,N,07739.40927,E,1,04,1.84,901.8,M,-85.9,M,,*76
$GPGSA,A,3,20,11,29,18,,,,,,,,,3.18,1.84,2.60*01
$GPGSV,4,1,13,05,88,200,08,06,01,051,30,11,24,030,29,12,76,266,*7F
$GPGSV,4,2,13,13,19,142,,15,20,181,,18,08,262,16,19,10,102,*74
$GPGSV,4,3,13,20,51,029,23,23,02,214,,24,15,206,,25,43,308,12*7A
$GPGSV,4,4,13,29,13,320,26*47
$GPGLL,1307.13368,N,07739.40927,E,075303.00,A,A*63

After GPS Coordinates Fix :


Latitude: 13° 07.13368' N
Longitude: 77° 39.40927' E

Dept. of ECE, SoET, CMRU, Bangalore Page 9


GPS Tracker Using Arduino Uno 2024-25

6. CONCLUSION
The GPS tracker built with an Arduino Uno is a simple yet powerful project that leverages the
capabilities of GPS modules and the flexibility of Arduino. By interfacing the Arduino with a
GPS module, we can easily extract real-time geographical data such as latitude, longitude, and
altitude. This data can then be used for various applications such as tracking vehicles, monitoring
locations, or integrating with communication modules like GSM to send updates remotely.

By understanding the fundamentals of GPS communication, interfacing with modules,


and using Arduino, we have created a cost-effective GPS tracking system that is easy to modify,
extend, and apply in numerous fields.

REFERENCES
[1] https://www.electronicsforu.com/
[2] https://projecthub.arduino.cc/

[3] https://www.tinkercad.com/

Dept. of ECE, SoET, CMRU, Bangalore Page 10

You might also like