77
ODROID C1 USER MANUAL
into the official Hardkernel Lubuntu image. One should be able to at-
tach the device to an available USB port on the C1 and start using it
right away:
$ lsusb
…
Bus 001 Device 005: ID 1546:01a6 U-Blox AG
…
$ sudo ls -lsa /dev/ttyA*
0 crw-rw---- 1 root dialout 166, 0 Dec 31 1979 /dev/ttyACM0
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
RMC Recommended Minimum sentence C
123519 Fix taken at 12:35:19 UTC
A Status A=active or V=Void.
4807.038,N Latitude 48 deg 07.038’ N
01131.000,E Longitude 11 deg 31.000’ E
022.4 Speed over the ground in knots
084.4 Track angle in degrees True
230394 Date - 23rd of March 1994
003.1,W Magnetic Variation
*6A The checksum data, always begins
with *
To test the higher level functionality of the GPS dongle, we can
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.
Install gpsd and relevant utilities using the following command:
Chapter 4