This project describes how you can build a mobile real time GPS tracker with integrated Google Maps.
How it works?
In a nutshell, this is how the GPS Tracker works. The GPS chip outputs the positioning information which is transferred over a GPRS link to the mobile operator’s GGSN (Gateway GPRS Support Node) and then to a remote server over a TCP connection. The TCP server stores the incoming positional data in a mySQL database. When a user clicks on the tracking page, Zope, which is an open source web application server, serves up an HTML page with an embedded javascript code. The javascript would run in the user's browser and has instructions to retrieve the positional information from the mySQL database every second. It then integrates this information into Google Maps through Google Maps API which displays the position on a map. Since the positional information is retrieved every second and the maps updated at the same frequency, a real time GPS tracking effect is achieved.
How much does it cost?
The costs are all associated with the hardware components. There is no software costs involved, since everything is open source.
HARDWARE
The hardware consists of three main components.
- Microcontroller
- GSM/GPRS Module
- GPS Module
Microcontroller :-
A micro-controller is a small computer (SoC) on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of Ferroelectric RAM, NOR flash or OTP ROM is also often included on chip, as well as a typically small amount of RAM. Micro-controllers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications consisting of various discrete chips.
Micro-controllers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, micro-controllers make it economical to digitally control even more devices and processes. Mixed signal micro-controllers are common, integrating analog components needed to control non-digital electronic systems.
GSM/GPRS Module:-
GSM (Global System for Mobile Communications, originally Groupe Spécial Mobile), is a standard developed by the European Telecommunications Standards Institute (ETSI) to describe the protocols for second-generation (2G) digital cellular networks used bymobile phones, first deployed in Finland in July 1991. As of 2014 it has become the default global standard for mobile communications - with over 90% market share, operating in over 219 countries and territories.
2G networks developed as a replacement for first generation (1G) analog cellular networks, and the GSM standard originally described a digital, circuit-switched network optimized for full duplex voice telephony. This expanded over time to include data communications, first by circuit-switched transport, then by packet data transport via GPRS (General Packet Radio Services) and EDGE (Enhanced Data rates for GSM Evolution or EGPRS).Subsequently, the 3GPP developed third-generation (3G) UMTS standards followed by fourth-generation (4G) LTE Advanced standards, which do not form part of the ETSI GSM standard."GSM" is a trademark owned by the GSM Association. It may also refer to the (initially) most common voice codec used, Full Rate.
GPS Module
A GPS navigation device is a device that accurately calculates geographical location by receiving information from GPS satellites. Initially it was used by the United States military, but now most receivers are in automobiles and smartphones.
The Global Positioning System (GPS) is a satellite-based navigation system made up of a network of a minimum of 24, but currently 30, satellites placed into orbit by the U.S. Department of Defense. Military action was the original intent for GPS, but in the 1980s, the U.S. government decided to allow the GPS program to be used by civilians. The satellite data is free and works anywhere in the world.
GPS devices may have capabilities such as:
The Global Positioning System (GPS) is a satellite-based navigation system made up of a network of a minimum of 24, but currently 30, satellites placed into orbit by the U.S. Department of Defense. Military action was the original intent for GPS, but in the 1980s, the U.S. government decided to allow the GPS program to be used by civilians. The satellite data is free and works anywhere in the world.
GPS devices may have capabilities such as:
- maps, including street maps, displayed in human readable format via text or in a graphical format,
- turn-by-turn navigation directions to a human in charge of a vehicle or vessel via text or speech,
- directions fed directly to an autonomous vehicle such as a robotic probe,
- traffic congestion maps (depicting either historical or real time data) and suggested alternative directions,
- information on nearby amenities such as restaurants, fueling stations, and tourist attractions.
- GPS devices may be able to indicate:
- the roads or paths available,
- traffic congestion and alternative routes,
- roads or paths that might be taken to get to the destination,
- if some roads are busy (now or historically) the best route to take,
- The location of food, banks, hotels, fuel, airports or other places of interests,
- the shortest route between the two locations,
- the different options to drive on highway or back roads.