Blog

>
  • GPS Vehicle Tracker using GPS and GSM

      In this project we are going one step ahead with GPS and going to track a vehicle using GPS and GSM. This GPS Vehicle Tracker System  can also be used for Accident Detection Alert System, Mining people Tracking System and many more, by just making few changes in hardware and software.

     
    Tracking  of vehicle is a process in which we track the vehicle location in form of Latitude and Longitude (GPS coordinates). GPS Coordinates are the value of a location. This system is very efficient for outdoor application purpose.This kind of Vehicle Tracking System Project is widely in GPS Vehicle Tracking Device Cabs/Taxis, stolen vehicles, school/colleges buses etc.
     
     
     
    Components Required:Arduino. GSM Module. GPS Module. 16x2 LCD. Power Supply. Connecting Wires. 10 K POT.
     
    GPS Module and Its Working: GPS stands for Global Positioning System and used to detect the Latitude and Longitude of any location on the Earth, with exact UTC time (Universal Time Coordinated). GPS module is the main component in our vehicle tracking system project. This device receives the coordinates from the satellite for each and every second, with time and date. GPS module sends the data related to tracking position in real time, and it sends so many data in NMEA format . NMEA format consist several sentences, in which we only need one sentence. This sentence starts from GPGGA and contains the coordinates, time and other useful information. This GPGGA is referred to Global Positioning System Fix Data. Know more about Reading GPS data and its strings here. We can extract coordinate from GPGGA string by counting the commas in the string. Suppose you find $GPGGA string and stores it in an array, then Latitude can be found after two commas and Longitude can be found after four commas. Now these latitude and longitude can be put in other arrays.
     
    Circuit Connections of this Vehicle Tracking System Project is simple. Here Tx pin of GPS module is directly connected to digital pin number 10 of Arduino. By using Software Serial Library here, we have allowed serial communication on pin 10 and 11, and made them Rx and Tx respectively and left the Rx pin of GPS Module open. By default Pin 0 and 1 of Arduino are used for serial communication but by using SoftwareSerial library, we can allow serial communication on other digital pins of the Arduino. 12 Volt supply is used to power the GPS Module.
     
     
     
     
    Sent message is received by GSM module which is connected to the system and sends message data to Arduino. Arduino reads it and extract main message from the whole message. And then compare it with predefined message in Arduino. If any match occurs then Arduino reads coordinates by extracting $GPGGA String from GPS module data (GPS working explained above) and send it to user by using GSM module. This message contains the coordinates of vehicle location.
     
    Initialization function ‘gsm_init()’ is used for initialising and configuring the GSM Module, where firstly, GSM module is checked whether it is connected or not by sending ‘AT’ command to GSM module. If response OK is received, means it is ready. System keeps checking for the module until it becomes ready or until ‘OK’ is received. Then ECHO is turned off by sending the ATE0 command, otherwise GSM module will echo all the commands. Then finally Network availability is checked through the ‘AT+CPIN?’ command, if inserted card is SIM card and PIN is present, it gives the response +CPIN: READY. This is also check repeatedly until the network is found. 
     
    More information at https://www.iconcox.com/
Please fill out the form below and click the "Submit" button. We will contact you once receive your enquiries.
Concox