Você está na página 1de 11

Use this link for converting gps co-ordinates

http://andrew.hedges.name/experiments/convert_lat_long/

GPS-634R” is a highly integrated smart GPS module with a ceramic GPS patch
antenna. The module is with 51 channel acquisition engine and 14 channel track
engine, which is capable of receiving signals from up to 65 GPS satellites and
transferring them into the precise position and timing information that can be read
over either UART port or RS232 serial port.Small size and high end GPS
functionality are at lower power consumption, both of the LVTTL-level and
RS232 signal interface are provided on the interface connector.

POWER SUPPLY:3.6V~6V(Input Voltage), 23mA(Input Current).

GPS STATUS INDICATOR:

 Non Fixed Mode: Led is always on


 Fixed Mode: Led toggles for every second.

SERIAL PORT SETTINGS:


Supporting 4800/9600 baud rate(default value 9600), 8 data bits, no parity, 1 stop
bit , no flow control.
Below are the characters obtained from GPS receiver per second. The GPGGA
protocol indicates the respective time, latitude and longitude value.

$GPGGA,111035.941,1255.4726,N,07729.0316,E,1,10,0.9,807.1,M,-
85.3,M,,0000*79

$GPGSA,A,3,10,02,26,27,09,17,04,28,05,08,,,1.8,0.9,1.5*38

$GPGSV,3,1,12,02,67,253,41,04,64,016,24,27,41,288,40,10,36,152,46*7B

$GPGSV,3,2,12,28,35,106,24,09,34,299,34,17,23,040,30,05,15,189,25*7B

$GPGSV,3,3,12,08,11,159,25,26,10,211,42,15,04,237,,12,04,321,*78

$GPRMC,111035.941,A,1255.4726,N,07729.0316,E,001.2,032.4,280810,,,A*6B

$GPVTG,032.4,T,,M,001.2,N,002.2,K,A*0B

The colored region gives the time value that is picked and stored.

------------------------------------------------------------------------------------

$GPGGA,111035.941,1255.4726,N,07729.0316,E,1,10,0.9,807.1,M,-
85.3,M,,0000*79

$GPGSA,A,3,10,02,26,27,09,17,04,28,05,08,,,1.8,0.9,1.5*38

$GPGSV,3,1,12,02,67,253,41,04,64,016,24,27,41,288,40,10,36,152,46*7B

$GPGSV,3,2,12,28,35,106,24,09,34,299,34,17,23,040,30,05,15,189,25*7B

$GPGSV,3,3,12,08,11,159,25,26,10,211,42,15,04,237,,12,04,321,*78

$GPRMC,111035.941,A,1255.4726,N,07729.0316,E,001.2,032.4,280810,,,A*6B

$GPVTG,032.4,T,,M,001.2,N,002.2,K,A*0B
The colored region gives the latitude position of the module, that is picked and
stored.

-----------------------------------------------------------------------------------------------

$GPGGA,111035.941,1255.4726,N,07729.0316,E,1,10,0.9,807.1,M,-
85.3,M,,0000*79

$GPGSA,A,3,10,02,26,27,09,17,04,28,05,08,,,1.8,0.9,1.5*38

$GPGSV,3,1,12,02,67,253,41,04,64,016,24,27,41,288,40,10,36,152,46*7B

$GPGSV,3,2,12,28,35,106,24,09,34,299,34,17,23,040,30,05,15,189,25*7B

$GPGSV,3,3,12,08,11,159,25,26,10,211,42,15,04,237,,12,04,321,*78

$GPRMC,111035.941,A,1255.4726,N,07729.0316,E,001.2,032.4,280810,,,A*6B

$GPVTG,032.4,T,,M,001.2,N,002.2,K,A*0B

The colored region gives the longitude position of the module, that is picked and
stored.
Flow Chart :

Process repeated

Gps_Rx:

Receive data (300 characters) serially and store


inan array format

Compare received data with GPGGA

If matched respective time, latitude and longitude


values are stored in corresponding array format

The received time(ASCII) value is converted to


HH:MM:SS (i.e. Hour, Minute and Second ) format
and displayed on ALCD.

If the stored latitude and longitude has 9 characters


than its displayed on ALCD else once again 300
characters are received from GPS

If received data doesn’t match with GPGGA than


WRONG DATA SORRY is displayed on ALCD

Global Positioning System was developed by the United States' Department of Defense. It uses
between 24 and 32 Medium Earth Orbit satellites that transmit precise microwave signals. This
enables GPS receivers to determine their current location, time and velocity. The GPS satellites
are maintained by the United States Air Force.

GPS is often used by civilians as a navigation system. On the ground, any GPS receiver
contains a computer that "triangulates" its own position by getting bearings from at least three
satellites. The result is provided in the form of a geographic position - longitude and latitude - to,
for most receivers, within an accuracy of 10 to 100 meters. Software applications can then use
those coordinates to provide driving or walking instructions.

Fig 2.2 The GPS Satellite System

Getting a lock on by the GPS receivers on the ground usually takes some time especially
where the receiver is in a moving vehicle or in dense urban areas. The initial time needed for a
GPS lock is usually dependent on how the GPS receiver starts. There are three types of start -
hot, warm and cold.

The hot start is when the GPS device remembers its last calculated position and the
satellites in view, the almanac used (information about all the satellites in the constellation), the
UTC Time and makes an attempt to lock onto the same satellites and calculate a new position
based upon the previous information. This is the quickest GPS lock but it only works if you are
generally in the same location as you were when the GPS was last turned off.
The warm start is when the GPS device remembers its last calculated position, almanac
used, and UTC Time, but not which satellites were in view. It then performs a reset and attempts
to obtain the satellite signals and calculates a new position.

The receiver has a general idea of which satellites to look for because it knows its last
position and the almanac data helps identify which satellites are visible in the sky. This takes
longer than a hot start but not as long as a cold start.

And finally – the cold start is when the GPS device dumps all the information, attempts to
locate satellites and then calculates a GPS lock. This takes the longest because there is no known
information.

The GPS receiver has to attempt to lock onto a satellite signal from any available satellites,
basically like polling, which takes a lot longer than knowing which satellites to look for. This
GPS lock takes the longest.

In an attempt to improve lock times, cell phone manufacturers and operators have
introduced the Assisted GPS technology, which downloads the current ephemeris for a few days
ahead via the wireless networks and helps triangulate the general user’s position with the cell
towers thus allowing the GPS receiver to get a faster lock at the expense of several (kilo)bytes.

Você também pode gostar