ARTiGO A820 Linux BSP v3.2.1 Quick Start Guide
20
5.6.2.
Enabling GPS
To configure the GPS functions of the module requires the use of the Minicom serial
communication program. Open the Minicom serial communication program with the
following command:
$ minicom -s
Connect to the /dev/ttyUSB1 serial device with the following settings:
+--------------------------------------------------------------+
| A
-
Serial Device
: /dev/ttyUSB1 |
| B
-
Lockfile Location
: /var/lock |
| C
-
Callin Program
: |
| D
-
Callout Program
: |
| E
-
Bps/Par/Bits
: 115200 8N1 |
| F
-
Hardware Flow Control
: No |
| G
-
Software Flow Control
: No |
+--------------------------------------------------------------+
Serial port setting of ARTiGO A820
When the setting is completed, type the following GPS AT commands into Minicom:
AT+UGPRF=1, AT+UGRMC=1, AT+UGGSV=1, AT+UGZDA=1, and AT+UGPS=1,0
Wait for the “OK” message before sending the next AT command.
AT+UGPRF=1
OK
AT+UGRMC=1
OK
AT+UGGSV=1
OK
AT+UGZDA=1
OK
AT+UGPS=1,0
OK
Use the Minicom to set serial device to /dev/ttyUSB7 in another terminal and it will
output the data received from the GPS module as illustrated in the screenshot below.
$GPRMC,142015,00,A,2501.93961,N,12133.66111,E,0.068,,030314,,,A*73
$GPGSV,4,1,13,01,34,184,29,03,49,023,47,06,26,042,41,07,44,317,26*75
$GPGSV,4,2,13,08,13,323,,11,60,192,,13,29,242,38,16,33,071,16*79
$GPGSV,4,3,13,19,65,356,44,23,18,208,12,27,35,034,27,30,37,145,29*7B
$GPGSV,4,4,13,32,01,154,*4B
$GPZDA,142015.00,03,03,2014,00,00*62
………
GPS NMEA message