EasyManua.ls Logo

HARDKERNEL ODROID-XU4 - Page 74

HARDKERNEL ODROID-XU4
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
69 ODROID-XU4 USER MANUAL
Chapter 4
USB GPS module
$ lsusb
Bus 003 Device 003: ID 1546:01a6 U-Blox AG
$ sudo ls -lsa /dev/ttyA*
0 crw-rw---- 1 root dialout 166, 0 Nov 18 05:26 /dev/ttyACM0
Once the relevant TTY port is obtained, you can check to see if
the GPS receiver is working properly with 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 (po-
sition, 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 available via
the TCP port 2947 of the host system.

Table of Contents