Free shipping on orders over ₪600 · Stock in Israel · Bit, bank transfer or card by phone

Adding GPS and a Compass to an FPV Quad: Wiring and Setup

Published 5 November 2026

A GPS module with a compass is what lets a Betaflight quad rescue itself or an INAV quad hold position and fly home. Most failed installations come from a handful of causes: swapped wires, a bad mounting spot or a skipped calibration. This guide walks through the module, the wiring, the placement and the tests to run before the first real flight.

What a GPS module with compass actually is

Most FPV GPS modules are built around a u-blox receiver chip of the M8 or M10 class. These receivers track several satellite systems at once (GPS, Galileo, BeiDou and GLONASS), which means more satellites in view and a faster, steadier fix. Position is typically updated up to 10 times per second.

The common module has six wires. Four of them are the GPS itself: 5V, GND, and TX and RX for a UART. The other two, SDA and SCL, belong to the I2C bus and connect the compass chip that sits on the same small board. Some modules also add a barometer, which matters only if your flight controller lacks one.

A plain GPS has no compass: it knows where the quad is, and which way it has been moving, but not which way the nose is pointing while hovering. A GPS with compass adds that heading. A plain GPS has only four wires, so count them before you buy.

Why the compass matters

A GPS receiver works out direction only from movement. At speed that is accurate, but when the quad hovers or crawls it cannot tell where the nose points. The compass fills that gap.

For return-to-home the quad must turn towards you and then fly straight. With GPS alone it often flies a short stretch first, learns its heading from that movement and then corrects. With a compass it knows the heading from the start.

How much this matters depends on the firmware. As a rule of thumb, Betaflight GPS Rescue can work without a compass because it learns direction from movement, and a compass is an optional extra there. INAV is more demanding: position hold and return-to-home on a multirotor are normally set up with a working compass, and a bad one is a common cause of drifting. Check the documentation for your firmware version. RTK is a different class of equipment, covered in our GNSS and RTK guide.

Wiring: UART, I2C and power

Wire the GPS UART crossed over: the module's TX goes to the flight controller's RX pad, and the module's RX goes to the controller's TX pad. Wiring TX to TX is the single most common mistake, and the symptom is a module that powers up, blinks its LED and never shows up in the configurator.

Any free UART with both TX and RX pads will do. Enable the GPS function on that port in the Ports tab of your configurator, and set the GPS protocol to u-blox. Let the firmware auto-detect the baud rate if it offers that.

The compass wires, SDA and SCL, go to the matching SDA and SCL pads on the flight controller. These pads form a shared I2C bus, so other sensors can sit on the same two wires. Do not swap them.

Most modules are meant for 5V, which is why the controller's 5V pad is the usual choice. Some run from 3.3V. Check the markings or documentation for the exact module, because feeding the wrong voltage can make it misbehave or damage it. Power the GPS from a clean supply pad on the controller rather than from a shared pad with the video transmitter, which can inject noise.

Where to mount it

The antenna wants a clear view of the sky and the compass wants to be far from anything magnetic or electrically noisy.

Raising the module on a mast or standoff solves both problems.

  • Put it on a mast or standoff, well above the battery wires, the ESC and the video transmitter. The magnetic field around high-current wires falls off quickly with distance, so even a few centimetres of height helps.
  • Point the arrow printed on the board towards the front of the quad. If you must mount it differently, correct for that in the firmware.
  • Keep the module level, antenna side up, with nothing covering it. Carbon fibre plates and metal shields block or weaken the signal.
  • Do not mount it on a metal frame or next to speakers, magnets or motor bells, which distort the compass reading.
  • Keep the module and its cable away from the video transmitter and its antenna, which can degrade GPS reception when close.

Compass orientation and calibration

The compass chip has its own axes, and the firmware has to be told how they line up with the quad. This is a setting, usually called mag alignment or compass orientation. The right value depends on the module and on how you mounted it. With the arrow forward and the module flat, the default is often correct, but test it rather than assume it.

Then calibrate. Go outdoors, well away from cars, metal fences, reinforced concrete and anything with magnets. Take the props off, power the quad from its normal battery so the real electrical environment is present, and start the calibration in the configurator. Rotate the whole quad slowly through every orientation: nose up, nose down and on each side. Large, smooth rotations work better than small shakes.

Redo the calibration if you change the battery position, move the GPS, or add new equipment near it.

First fix, satellite count and hot starts

The first fix after a long time without power, a cold start, can take from tens of seconds to a few minutes, and it needs open sky. Later starts are faster, especially if the module has a backup battery or capacitor that keeps its satellite data while the quad is unpowered. That is a hot start. Without such backup the module starts cold every time.

Wait for a good lock before arming. A common rule of thumb is eight or more satellites, and many firmwares block arming or rescue modes below a threshold of this kind. A steady lock with a stable position matters more than a briefly high count.

Check the lock in the OSD or the configurator, not by the LED on the module.

Common failures and what they usually mean

  • No GPS data at all: TX and RX swapped, the wrong UART selected, or the port function not enabled.
  • GPS data, but no satellites: the module is indoors, under a carbon plate or too close to the video transmitter.
  • No I2C device found: SDA and SCL swapped or loose, the module has no compass, or the firmware's compass hardware is set to the wrong type.
  • The heading drifts or jumps when you add throttle: current in the power wires is disturbing the compass. Lift the module higher, shorten and twist the power leads, and keep it away from the ESC.
  • The heading is off by 90 or 180 degrees: the orientation setting does not match how the module is mounted.

Testing before the first flight

Do these steps in order.

Keep the radio in your hand and be ready to switch to manual at any time. Check the current local rules for where you can fly.

  • Take the quad outdoors, or at least next to an open window, and wait for a lock. Check the satellite count and the position in the configurator or OSD.
  • With props off, turn the quad by hand and watch the heading. When the nose points north it should read north, and the value should follow smoothly as you turn it. A fixed offset, or a reading that turns the wrong way, means the orientation setting is wrong.
  • Check that the heading stays steady when you spin the motors up with props off. A big change points to interference.
  • Make a short low flight in manual mode first, then try position hold or GPS Rescue at low altitude in an open area, ready to take control instantly.
  • Only after that, try a return-to-home or rescue from a modest distance, and increase the range step by step.

Shop the parts

More guides

Related products

FFPV.BASE

An Israeli shop for FPV drone parts and ready-to-fly quads. Build, fly, upgrade — all in one place.

Israeli FPV storeLicensed dealer no. 060875804Licensed by the Israeli Ministry of Communications to trade in wireless equipment
Categories
Customer service
Contact
© 2026 FPV.BASE — All rights reserved