Hardkernnel ODROID-C2 User Manual page 84

Table of Contents

Advertisement

USB GPS module
$ lsusb
...
Bus 001 Device 004: ID 1546:01a6 U-Blox AG
...
$ sudo ls -lsa /dev/ttyA*
0 crw-rw---- 1 root dialout 166, 0 Dec 31
Now that the relevant TTY port is obtained, you can check to see if the
GPS receiver is doing its job, using the following command:
$ sudo cat /dev/ttyACM0 | grep GPRMC
$GPRMC,161053.00,A,3719.54074,N,12201.49867,W,0.079,,110415,,
,A*65
$GPRMC,161054.00,A,3719.54074,N,12201.49867,W,0.085,,110415,,
,A*65
$GPRMC,161055.00,A,3719.54074,N,12201.49867,W,0.024,,110415,,
,A*66
...
The RMC - NMEA has its own version of essential GPS pvt (position,
velocity, time) data, which represents the following information:
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A
use the services of gpsd, a service daemon, that monitors one or more
GPS modules and makes the pcv (position,course,velocity) data avail-
able via the TCP port 2947 of the host system.
79
ODROID C2 USER MANUAL
RMC
123519
A
4807.038,N
01131.000,E
022.4
084.4
230394
003.1,W
*6A
To test the higher level functionality of the GPS dongle, we can
Chapter 4
1979 /dev/ttyACM0
Recommended Minimum sentence C
Fix taken at 12:35:19 UTC
Status A=active or V=Void.
Latitude 48 deg 07.038' N
Longitude 11 deg 31.000' E
Speed over the ground in knots
Track angle in degrees True
Date - 23rd of March 1994
Magnetic Variation
The checksum data, always begins with *

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents