Pixhawk GPS pinout

Writing this down for future me. I’m assembling a drone using some old parts and could not find the pinout to this GPS / compass combo:

Top view showing the antenna

For reference, with the antenna pointing up and looking at the connector, then the pins from left to right are:

  1. GND
  2. TX
  3. RX
  4. VCC
  5. SDA
  6. SCL

The connector seems to be a JST-SH 1.0 mm socket. VCC goes to a regulator. Surprisingly, if you connect 5 V to SCL then the GPS still runs correctly which confused me for a while.

The markings on the board are NEO-M8N-0-01 and HG-C04_V1.1. The antenna is a Cirocomm. I suspect it came with a Pixhawk or Pixracer kit.

Avatar
Michael Hope
Software Engineer