GPS Co-ordinates on LCD: Global Positioning System. This project is about displaying GPS co-ordinates on LCD using pic microcontroller. I have already posted a project on GPS based clock using pic microcontroller. GPS is network of satellites used to send and receive accurate details about the position of anybody in the form of longitude and latitude. This process of sending and receiving positional data is done by some means of GPS modules or receiver. In our case Holux M-89 GPS module.GPS coordinates are most contains latitude and longitude. This system divides the earth into latitude lines, which indicate how far north or south of the equator a location is, and longitude lines, which indicate how far east or west of the prime meridian a location is. GPS module interfacing is done with pic microcontroller.
For example the coordinates of New York Time square are 40.7589° N, 73.9851° W. The first number is used to represent latitude and second one is used to represent longitude.In this tutorial you will learn how a GPS module receives coordinates in the form of latitude and longitude from a satellite. First of all a GPS receiver locate any three or more of satellites, calculate the distance to each, and use this information to generate its own location. This operation is based on a simple mathematical principle called Trilateration.
The satellite which we used in our project is $GPGGA has a specified purpose which is Global Positioning System Fix Data.
Some information about $GPGGA
|Sentence Identifier||$GPGGA||Global Positioning System Fix Data|
|Latitude||4124.8963, N||41d 24.8963′ N or 41d 24′ 54″ N|
|Longitude||08151.6838, W||81d 51.6838′ W or 81d 51′ 41″ W|
|Number of Satellites||05||5 Satellites are in view|
|Horizontal Dilution of Precision (HDOP)||1.5||Relative accuracy of horizontal position|
|Altitude||280.2, M||280.2 meters above mean sea level|
|Height of geoid above WGS84 ellipsoid||-34.0, M||-34.0 meters|
- PIC 16F877a: If you are an electronic hobbyist then you are familiar with microcontrollers. This MCU is easy-to-program. It is 8-bit microcontroller architecture into an 40 pins package. The PIC16F887 contains 256 bytes of EEPROM data memory, 2 Comparators, 14 channels of 10-bit Analog-to-Digital converter and much more in single chip.
- Holux M-89 GPS module: This module is small in size, consume less power and highly efficient and user friendly. It is easy to use in ant project.
- LCD Module: It is used to display the alpha-numeric characters. In our project it is used to display longitude and latitude.
- Miscellaneous: Breadboard, Pickit and some jumper wires.
Use of GPS
Now a day’s GPS is use is very common. Normally it is used in follow fields:
- Location – such as location of a car or a aircraft.
- Navigation – from one location to another.
- Tracking – monitoring anything it may be person used by militaries.
- Mapping – provides maps of the world.
- Timing – give precise timing anywhere in the world.
- Security– such as monitoring a car and sending its data to server and feedback to the owner.
How it works to navigate a car
- GPS receivers receive signals from satellites and detect the vehicle’s location.
- Direction sensor is used to detect the vehicle’s direction.
- Send data to server
- Server creates Map database.
- Map database is display using the car navigation system’s control circuitry.