Pages

Search in This Blog

Thursday, 17 May 2012

Vehicle tracking system using GPS and GSM modem

Abstract:
In this Project it is proposed to design an embedded system which is used for tracking and positioning of any vehicle by using Global Positioning System (GPS) and Global system for mobile communication (GSM). 

In this project AT89S52 microcontroller is used for interfacing to various hardware peripherals. The current design is an embedded application, which will continuously monitor a moving Vehicle and report the status of the Vehicle on demand. For doing so an AT89S52 microcontroller is interfaced serially to a GSM Modem and GPS Receiver. A GSM modem is used to send the position (Latitude and Longitude) of the vehicle from a remote place. The GPS modem will continuously give the data i.e. the latitude and longitude indicating the position of the vehicle. The GPS modem gives many parameters as the output, but only the NMEA data coming out is read and displayed on to the LCD. The same data is sent to the mobile at the other end from where the position of the vehicle is demanded. An EEPROM is used to store the mobile number. 

The hardware interfaces to microcontroller are LCD display, GSM modem and GPS Receiver. The design uses RS-232 protocol for serial communication between the modems and the microcontroller. A serial driver IC is used for converting TTL voltage levels to RS-232 voltage levels. 

When the request by user is sent to the number at the modem, the system automatically sends a return reply to that mobile indicating the position of the vehicle in terms of latitude and longitude.


BLOCK DIAGRAM:




Circuit Diagram

Circuit Diagram:


The project is vehicle positioning and navigation system we can locate the vehicle around the globe with 8052 micro controller, GPS receiver, GSM modem, MAX 232, EEPROM. Microcontroller used is AT89S52. The code is written in the internal memory of Microcontroller i.e. ROM. With help of instruction set it processes the instructions and it acts as interface between GSM and GPS with help of serial communication of 8052. GPS always transmits the data and GSM transmits and receive the data. 

GPS pin TX is connected to microcontroller via MAX232. GSM pins TX and RX are connected to microcontroller serial ports. 

Microcontroller communicates with the help of serial communication. First it takes the data from the GPS receiver and then sends the information to the owner in the form of SMS with help of GSM modem. 

GPS receiver works on 9600 baud rate is used to receive the data from space Segment (from Satellites), the GPS values of different Satellites are sent to microcontroller AT89S52, where these are processed and forwarded to GSM. At the time of processing GPS receives only $GPRMC values only. From these values microcontroller takes only latitude and longitude values excluding time, altitude, name of the satellite, authentication etc. E.g. LAT: 1728:2470 LOG: 7843.3089 GSM modem with a baud rate 57600.GSM is a Global system for mobile communication in this project it acts as a SMS Receiver and SMS sender. EEPROM is an Electrically Erasable read only memory which stores is used to store the mobile number. 

The power is supplied to components like GSM, GPS and Micro control circuitry using a 12V/3.2A battery .GSM requires 12v,GPS and microcontroller requires 5v .with the help of regulators we regulate the power between three components. 


Operating procedure:


To store a Number into the kit
  1. Place a jumper at the pin no 32 “Store Number” as shown in the circuit diagram
  2. Switch on the kit
  3. Wait until you see “Waiting for Call” on the LCD display
  4. Now call from the mobile number from which you need to store the number
  5. Wait until you see “Number stored..” on the LCD
  6. Now remove the Jumper.

Normal Operation
  1. Switch on the kit and wait until you see the Latitude and longitude on the display.
  2. Now give a call from any mobile
  3. The kit will send the location and UTC time to the number stored in its memory.
  4. For emergency the user can press the Button to send the Location to the number stored.
  5. For photos of this project check this link

19 comments:

  1. This is really impressive, thanks for sharing.

    ReplyDelete
    Replies
    1. Thanks for your interest. If you give your interested topics i will try to share those also.

      We need readers who has interested in innovating and research.

      Delete
  2. cheater from 8051.info

    ReplyDelete
    Replies
    1. Thanks for your interest. I am adopting info from various sites you can see those in my references because no one in this world is a creator.

      I am dumping all the info at one place by adding my knowledge to it.

      Delete
  3. A great article and great diagrams to match. Very interesting.

    ReplyDelete
    Replies
    1. Thanks for your interest we are very honour for your pleasure

      Delete
  4. This Blog is really informative for us which provides lot of information about vehicle tracking device. Thank you so much for awesome idea!
    Vehicle Tracking

    ReplyDelete
  5. can u please tell me the codings of this project???
    this vl b a great help from you.

    ReplyDelete
    Replies
    1. There is nothing program it's so simple. if you need any help i can. Try once if not works try one more time....then also you got the problem last chance do it....if you cant just post on the microminds blog within two days i will provide it for you. now i can refer you a text book 8051 programming thorugh embedded C by mazidi n mazidi. go for all the best

      Delete
  6. I have a doubt. 8052 has a single serial port. How is it used to communicate both with gsm and gps modem. I am not clear with the way the two serial connectors are connected to MAX232 in the circuit diagram. Kindly clarify.

    ReplyDelete
    Replies
    1. Thanks for your willingness, 8052 has 2 serial ports original and secondary.

      Delete
    2. @AshwahiNair small modification sorry! there are some vendors producing microcontrollers with two serial ports for example you can go through DS89C4X0(420/450) and AT89C52. Is this thread helpful for you please rate it.

      Delete
  7. what are the programing codes for microcontroller AT89S52 can u tell me? also codes for interfacing gps and gsm modem with serial ports?

    ReplyDelete
    Replies
    1. AT89C52 is also family of 8051... so you can use the same programming techniques of 8051 MCU, but it is of 8kb internal memory and 1 additional timer control SFR.... There is nothing to worry about interfacing it is so simple of interfacing the serial port using serial communcation which uses SCON and TCON and TMOD registers...

      you have to set the baud rate as 9600bps(system baud rate).... U can get further programming techniques from mazidi book.

      Delete
  8. GPS Tracking System
    I am thankfull to you,for sharing such kind of knowledge.

    ReplyDelete
    Replies
    1. So much glad of hearing such type of words from people like you. we are here just to share what we learn and gain knowledge from You people.

      Thanks for your interest in us.

      Delete
  9. I’m happy to read this blog, the article is very knowledgeable.
    thanks for sharing.

    GPS Tracking System

    ReplyDelete
  10. can u share software please

    ReplyDelete
    Replies
    1. It's so simple and easy to program it.We can help you in writing it's code you just try it once. if you mistake we will debug it. for this you can refer 8051 mcu and emb sys by mazidi and mazidi.

      all the best

      Delete