Component guide · Intermediate · 4 min read
Pixhawk GPS Modules

Holybro M10, M9N, Micro M10, DroneCAN M8N and M9N, RM3100, CUAV NEO 3 Pro and NEO 4, RadioLink SE100
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These GPS and compass units plug into Pixhawk-style autopilots for position hold, missions and return to launch. Holybro's M10 and M9N use the standard 10-pin GH connector with a safety switch and buzzer; DroneCAN versions and the CUAV NEO 3 Pro use CAN for long cables and less interference. The RM3100 is a high-grade compass. Older NEO-7M and Naza modules suit legacy controllers.
Key specs at a glance
- Chip
- u-blox M10, M9N, M8N or NEO-7M
- Compass
- IST8310, QMC5883, RM3100 or similar
- Interface
- UART + I2C (GH 10-pin) or DroneCAN
- Extras
- Safety switch, buzzer, status LED (some)
- Supply
- 5 V from the flight controller
- Mount
- On a mast, arrow forward
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Holybro M10 GPS Module w/ Compass for Pixhawk FC₹6,229
Option 2Holybro M10 GPS Standard w/ GHR 1.25mm 10pin₹7,461
Option 3Holybro M9N GPS Module w/ Standard Connector₹8,669
Option 4Holybro Micro M10 GPS Module with IST8310 Compass₹5,679
Option 5Holybro Micro M10 GPS w/ Case for PX4 ArduPilot INAV₹4,419
Option 6Holybro Micro M9N GPS with IST8310 Compass₹7,289
What the Pixhawk GPS and compass modules is
Pixhawk GPS and compass modules, such as the Holybro M9N, M10 and Here series, combine a GNSS receiver and magnetometer on a mast for position, return to home and heading.
The compass in the GPS unit is usually the main compass, because it is far from motor currents. Mount it on a mast and calibrate after every change.
DroneCAN modules need CAN enabled in the autopilot but avoid long UART runs and offer node IDs for more devices.
Pixhawk GPS and compass modules pinout
The pins on the Pixhawk GPS and compass modules and what each one does.
| Pin | Function |
|---|---|
| 5V / GND | Supply |
| TX / RX | GPS UART |
| SDA / SCL | Compass I2C |
| SW / LED / BUZZ | Safety switch, LED and buzzer |
| CAN H / L | DroneCAN versions |
- 5V / GND
- Supply
- TX / RX
- GPS UART
- SDA / SCL
- Compass I2C
- SW / LED / BUZZ
- Safety switch, LED and buzzer
- CAN H / L
- DroneCAN versions
Wiring the Pixhawk GPS and compass modules
Connect the Pixhawk GPS and compass modules like this.
| Pixhawk GPS and compass modules pin | Flight controller (Pixhawk) | Flight controller (Betaflight / INAV) |
|---|---|---|
| 5V | Flight controller GPS port 5 V | Flight controller GPS port 5 V |
| GND | GND | GND |
| TX | FC UART RX | FC UART RX |
| RX | FC UART TX | FC UART TX |
| SDA / SCL | FC I2C (compass) | FC I2C (compass) |
- 5V
- Flight controller (Pixhawk):
- Flight controller GPS port 5 V
- Flight controller (Betaflight / INAV):
- Flight controller GPS port 5 V
- GND
- Flight controller (Pixhawk):
- GND
- Flight controller (Betaflight / INAV):
- GND
- TX
- Flight controller (Pixhawk):
- FC UART RX
- Flight controller (Betaflight / INAV):
- FC UART RX
- RX
- Flight controller (Pixhawk):
- FC UART TX
- Flight controller (Betaflight / INAV):
- FC UART TX
- SDA / SCL
- Flight controller (Pixhawk):
- FC I2C (compass)
- Flight controller (Betaflight / INAV):
- FC I2C (compass)
Example code
A minimal sketch to check the part works.
ArduPilot (4.4 or later), GPS on SERIAL3 (GPS1 port):
SERIAL3_PROTOCOL = 5 GPS
GPS1_TYPE = 1 Auto (u-blox) [DroneCAN modules: GPS1_TYPE = 9, CAN_P1_DRIVER = 1]
COMPASS_ENABLE = 1 and run compass calibration in the ground station
PX4: GPS_1_CONFIG = GPS 1, then calibrate the compass.
Betaflight / INAV: enable GPS on the UART in Ports, protocol UBLOX, baud auto.Setup and tuning
plug into GPS1 on the autopilot; check JST-GH 6 or 10 pin type.
mount on a mast above the drone, arrow forward, away from power wires.
run compass calibration outdoors away from metal.
many modules include the safety switch, LED and buzzer.
wait for 3D fix and HDOP below about 1.5 before arming in GPS modes.
What you need
Shop this list20 of 20 found in our store · ₹1,89,053
Holybro M10 GPS Module w/ Compass for Pixhawk FC: the part this guide coversHolybro M10 GPS Module w/ Compass for Pixhawk FC₹6,229
Holybro M10 GPS Standard w/ GHR 1.25mm 10pin: another version this guide coversHolybro M10 GPS Standard w/ GHR 1.25mm 10pin₹7,461
Holybro M9N GPS Module w/ Standard Connector: another version this guide coversHolybro M9N GPS Module w/ Standard Connector₹8,669
Holybro Micro M10 GPS Module with IST8310 Compass: another version this guide coversHolybro Micro M10 GPS Module with IST8310 Compass₹5,679
Holybro Micro M10 GPS w/ Case for PX4 ArduPilot INAV: another version this guide coversHolybro Micro M10 GPS w/ Case for PX4 ArduPilot INAV₹4,419
Holybro Micro M9N GPS with IST8310 Compass: another version this guide coversHolybro Micro M9N GPS with IST8310 Compass₹7,289
Holybro DroneCAN M8N GPS Module: another version this guide coversHolybro DroneCAN M8N GPS Module₹9,135
Holybro DroneCAN M9N GPS Module: another version this guide coversHolybro DroneCAN M9N GPS Module₹12,079
Holybro DroneCAN RM3100 Professional Compass Module: another version this guide coversHolybro DroneCAN RM3100 Professional Compass Module₹8,989
CUAV NEO 3 Pro GPS GNSS u-blox M9N CAN Bus: another version this guide coversCUAV NEO 3 Pro GPS GNSS u-blox M9N CAN Bus₹19,779
CUAV NEO 4 NANO Mini GNSS Module u-blox M10 GPS: another version this guide coversCUAV NEO 4 NANO Mini GNSS Module u-blox M10 GPS₹9,511
M10 GPS Module with Compass for Pixhawk: another version this guide coversM10 GPS Module with Compass for Pixhawk₹2,589
RadioLink SE100 M8N GPS Module w/ QMC5883L Compass: another version this guide coversRadioLink SE100 M8N GPS Module w/ QMC5883L Compass₹3,619
u-blox NEO 7M GPS Module w/ Compass for APM & Pixhawk: another version this guide coversu-blox NEO 7M GPS Module w/ Compass for APM & Pixhawk₹2,169
NEO-7M GY-NEO 7M V2 GPS Module for MWC APM2.5: another version this guide coversNEO-7M GY-NEO 7M V2 GPS Module for MWC APM2.5₹669
Crius MultiWii I2C-GPS NAV Navigation Board: another version this guide coversCrius MultiWii I2C-GPS NAV Navigation Board₹342
DJI Naza GPS Module: another version this guide coversDJI Naza GPS Module₹5,999
Yaanendriya YPS E L1 GNSS + Compass Module: another version this guide coversYaanendriya YPS E L1 GNSS + Compass Module₹12,735
PDRL NamoAG Precision GPS/GNSS Navigation Module for Agriculture: another version this guide coversPDRL NamoAG Precision GPS/GNSS Navigation Module for Agriculture₹25,253
Holybro Pixhawk 6C flight controller: the autopilot these modules plug intoHolybro Pixhawk 6C Flight Controller + PM02 Power Module₹36,439Closest match, check the specs
Alternatives and when to choose them
- Here3+ and Here4: CubePilot RTK units.
- Holybro H-RTK: centimetre RTK.
- FPV M10 modules: small UART modules.
Common mistakes to avoid
- Mounting the GPS near power cables.
- Wrong arrow direction.
- Calibrating indoors.
- Arming without a good fix.
Frequently asked questions
Why does my drone toilet-bowl in loiter?
The compass is misaligned or affected by power wires; recalibrate and raise the mast.
Which GPS port should I use?
Use the GPS1 port on the autopilot with the matching JST-GH cable.
Do I need the compass in the GPS module?
Yes, an external compass away from interference is better.
Why does it take long to get a fix?
Poor sky view or interference from video transmitters and USB 3 devices nearby.
Can I use M10 modules on old Pixhawks?
Yes, with the right connector cable and a recent ArduPilot version.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



