Skip to end of metadata
Go to start of metadata

This article shows how to make Zubax GNSS output the navigation data via the physical UART port.

Parts needed

The only part that will be needed (aside from one Zubax GNSS) is a cable with a JST SH 6-pin connector on one end (also known as DCD-M (Dronecode Debug Mini) connector). It can be purchased from many sources online. The cable is pictured on the right.

Configuring Zubax GNSS

The NMEA output over UART is disabled by default, so we need to enable it. Connect USB, open the command-line interface (CLI) at 115200 baud, then execute the following:

Enabling NMEA UART output
cfg set nmea.uart_on 1
cfg save

If necessary, also enable the altimeter or configure other features, as shown in the datasheet.

The NMEA output should be kept disabled if it is not used.

Connecting to the UART port

Connect one end of the cable to Zubax GNSS 2’s DroneCode port using the following pinout specification.


+5 V power supply input. The board can be powered from other sources as well; read the datasheet for more info.

2OUTUART_TXNMEA output at 115200–8N1.
Leave floating.
Leave floating.
Leave floating.

Connect the other end of the cable to your hardware, and configure the UART interface as follows:

  • Baud rate: 115200
  • Byte size: 8
  • Parity: None
  • Stop bits: 1


Now power on the device, and your hardware should be able to read the NMEA stream coming out of the UART port. A sample NMEA output is provided below.

NMEA output example

Zubax GNSS with a UART cable connectedZubax GNSS with a UART cable connectedJST SH 6-circuit cable (DCD-M)