How-to · Intermediate · 3 min read
Drone GPS, Compass and RTK Modules
M8N, M10, F9P and How to Mount Them
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A GPS and compass module lets a drone hold position and return home. Most FPV and ArduPilot modules use a u-blox M8, M9 or M10 chip with a compass, wired to a flight controller by UART plus I2C. Mount it on a mast away from power wires and the video transmitter, wait for a good fix before arming, and calibrate the compass.
Key specs at a glance
- GNSS chip
- u-blox M8N, M9N or M10, tracking GPS plus other constellations
- Connection
- UART (TX and RX) for GNSS; I2C (SDA and SCL) for the compass
- Supply
- 5 V, 50 to 150 mA typical
- Protocol
- UBX or NMEA; default 9600 baud on many modules
- Fix quality
- Aim for 10 or more satellites and HDOP under 2 before arming
- RTK
- Dual-band receivers such as the F9P reach centimetre accuracy with corrections
What is in a GPS module
A drone GPS module has a GNSS receiver, a ceramic or patch antenna and usually a magnetometer (compass). The GNSS provides position and speed. The compass gives heading, which the flight controller needs to know which way the drone points. Both matter for return to home, position hold and waypoint missions in ArduPilot or Betaflight.
M8N, M9N, M10 and RTK
Newer chips lock faster and use more satellite systems at once.
| Module type | Accuracy | Good for | Notes |
|---|---|---|---|
| u-blox M8N (older) | Around 2 m | Budget builds and F450 drones | Still works; slower to lock than newer chips |
| u-blox M9N | Around 1.5 m | General drones and fixed wing | Several constellations at once |
| u-blox M10 | Around 1.5 m, lower power | FPV long range and compact builds | Common on small GPS modules |
| RTK dual-band (F9P, LG290P) | Centimetres with corrections | Mapping, surveying and precise landing | Needs a base station or NTRIP correction stream |
- u-blox M8N (older)
- Accuracy:
- Around 2 m
- Good for:
- Budget builds and F450 drones
- Notes:
- Still works; slower to lock than newer chips
- u-blox M9N
- Accuracy:
- Around 1.5 m
- Good for:
- General drones and fixed wing
- Notes:
- Several constellations at once
- u-blox M10
- Accuracy:
- Around 1.5 m, lower power
- Good for:
- FPV long range and compact builds
- Notes:
- Common on small GPS modules
- RTK dual-band (F9P, LG290P)
- Accuracy:
- Centimetres with corrections
- Good for:
- Mapping, surveying and precise landing
- Notes:
- Needs a base station or NTRIP correction stream
Wiring to a flight controller
Connect the GPS TX to a spare UART RX pad on the flight controller, and RX to the matching TX. Add 5 V and ground. For the compass, connect SDA and SCL to the controller's I2C pads. In Betaflight or ArduPilot, enable the UART as GPS (serial port settings), choose the baud rate and protocol, and confirm the satellite count in the configurator. See UART, I2C and GPS basics.
Mounting and calibration
with the antenna facing the sky and clear of carbon plates, which block signal and distort the compass.
the video transmitter, USB 3.0 devices and power cables can interfere with GNSS and the compass. Twist the power leads and keep the module several centimetres from them.
point the arrow on the module to the front of the drone and set the orientation in software if you mount it otherwise.
outdoors away from metal, rotating the drone through all axes as the software instructs.
more than 10 satellites and a low HDOP are a good sign before arming in GPS modes.
How RTK works
RTK needs two receivers. A base station at a known point measures its error and sends correction messages (RTCM). The drone's rover receiver applies them and can report its position to a few centimetres. Corrections reach the drone by a radio link or an internet service. A dual-band antenna placed in open sky is essential. Only buy RTK if you need that precision.
Try it: Lipo drone flight time calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Placing the GPS next to the video transmitter or power cables.
- Skipping compass calibration.
- Arming with few satellites in a GPS flight mode.
- Mounting the module with the arrow pointing the wrong way.
- Expecting RTK to work without correction data.
Frequently asked questions
Why does my GPS take a long time to lock?
The first fix of the day, or after moving far, can take a few minutes. Open sky and a newer chip help.
Do I need a compass with GPS?
Yes for position hold and return home, because GPS alone does not give heading at a standstill.
What is a good HDOP?
Under about 2. Lower is better.
Is M10 better than M8N?
It locks faster, uses less power and tracks more satellites, so it is usually the better buy.
Can I use any GPS with Betaflight?
Most u-blox modules work. Check the baud rate and protocol, and the GPS rescue settings.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 8 step-by-step builds in our project library use parts from 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.




