Skip to content

GPS Interface

The MConn display includes an onboard GNSS (GPS) module that outputs standard NMEA data over a serial interface. You can monitor this data directly using a terminal application on the device.

Before testing GPS data, it is helpful to confirm that the GPS serial interface exists and is initialized by the system.

Run the following command:

Terminal window
ls /dev/ttymxc*

You should see the entry /dev/ttymxc1 as a response.

Check permissions and confirm the device is recognized by running the following command:

Terminal window
ls -l /dev/ttymxc1

You should see an output similar to:

Terminal window
crw-rw---- 1 root dialout ... /dev/ttymxc1

Follow these steps to verify that the GPS module is working correctly.

1. Open a serial terminal to the GPS interface:

Section titled “1. Open a serial terminal to the GPS interface:”
Terminal window
screen /dev/ttymxc1

This connects to the GPS serial interface and displays incoming data.

After opening the terminal, you should start seeing output similar to:

$GNGLL,...
$GPGGA,...
$GNRMC,...

Please check the following:

  • The output is continuously updating (new lines every second)
  • Latitude (N) and Longitude (W) values are present
  • Coordinates are reasonably close to your actual location

To exit the screen session, press: Ctrl+A, then K, then y