Module:M008A module

From LEXWiKi

Revision as of 13:48, 7 May 2014 by Brad (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
OSModule Support

Ubuntu 12.04

yes

Ubuntu 13.10

yes

Fedora Core 19

yes

edit table


How to use M008A under Ubuntu 12.04?

Ans:

1. Check the system whether the reading device

#lsusb

2. Read the GPS data from device

#cat /dev/ttyACM0

3. Check the GPS data

$GPGGA,183015.000,2503.7123,N,12138.7446,E,2,16,0.68,123.2,M,15.3,M,0000,0000*66 

Image:GPGGA_GPS2.JPG

$GPGLL,2503.7123,N,12138.7446,E,183015.000,A,D*59 

Image:GPGLL_GPS1.JPG

Image:GPGLL_GPS2.JPG

4. Transform Coordinates to google map

Image:Coordinates_GPS.JPG

Example:2503.7123,N
1.In addition to 100 to get 25.037123
2.After the decimal point operation => 0.037123*100/60 = 0.0618716
3.Plus the value of the before the decimal point => 25 + 0.0618716 = 25.0618716
4.Now We got the 25.0618716 N for Google map 


Patch File:

N/A

Defect:

N/A

Asker:

Brad 2014/5/7

Provider:

Brad 2014/5/7

Personal tools