🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Drone Communication: RC Links, Telemetry, and MAVLink

đŸŸĸ Free Lesson

Drone Communication: RC Links, Telemetry, and MAVLink

A drone carries at least two radios and often three: a control link that must never drop, a telemetry link for status and mission data, and increasingly a cellular modem for video and beyond-visual-line-of-sight operations. Each runs on a different band with a different latency profile and a different failure philosophy, and confusing them is how operators end up trusting a link that has no business being safety-critical.

This lesson maps the communication architecture end to end — transmitter to receiver, radio to ground station, autopilot to cloud — then dives into the protocol details of RC links and MAVLink, and finishes with link budget math so you can predict range before you fly. You will be able to choose a control protocol for a given mission, parse telemetry into usable state, and compute whether a proposed link closes at target distance.

The three links and their roles

Every aircraft separates control from data from payload. The RC link carries stick positions from pilot to receiver at high rate and low latency; it is safety-critical and designed to fail into a defined behavior such as return-to-home. Telemetry flows both ways at lower rate: flight mode, battery state, GPS fix, and uplink commands like waypoint uploads. The payload link — video, AI inference results, cloud telemetry — tolerates latency and loss that would be unacceptable for control.

LinkBandLatencyRangeRole
RC control2.4 GHz (or 900 MHz)1–10 ms1–10 km typicalStick commands, safety critical
Telemetry433 / 915 MHz50–200 ms1–40 kmStatus, parameters, missions
Video5.8 GHz digital or analog20–100 ms1–5 kmPilot view, FPV
Cellular4G / 5G30–150 msNetwork coverageBVLOS, cloud, live stream

The golden rule stands regardless of technology: never rely solely on cellular for control. Coverage gaps, tower handoffs, and network congestion all introduce delays measured in seconds, and no autopilot should be hostage to a carrier's scheduler during an emergency.

RC protocol evolution

Early systems sent analog pulse-width-modulation frames, one channel per wire, at 50 Hz with 10-bit resolution. PPM multiplexed those channels onto one wire. Everything modern is digital: SBUS runs 16 channels over a single UART at 100 kHz with 11-bit resolution, iBUS is a similar serial format favored by some receivers, and CRSF — the basis of ExpressLRS — is a full-duplex, packetized protocol with telemetry piggybacked on the same wire and end-to-end latencies near 1 ms.

python
RC_PROTOCOLS = {
    "PWM":  {"channels": 8,  "resolution": 1024,  "latency_ms": 20, "digital": False},
    "PPM":  {"channels": 8,  "resolution": 1024,  "latency_ms": 20, "digital": False},
    "SBUS": {"channels": 16, "resolution": 2048,  "latency_ms": 4,  "digital": True},
    "IBUS": {"channels": 14, "resolution": 4096,  "latency_ms": 5,  "digital": True},
    "CRSF": {"channels": 16, "resolution": 4096,  "latency_ms": 1,  "digital": True},
    "ELRS": {"channels": 16, "resolution": 4096,  "latency_ms": 1,  "digital": True},
}


def recommend(use_case):
    table = {
        "racing":     ("ELRS at 2.4 GHz", "1 ms latency and 250 Hz packet rate"),
        "freestyle":  ("ELRS", "Long range with excellent stick response"),
        "long_range": ("ELRS at 900 MHz", "Up to 40 km with lower link margin loss"),
        "beginner":   ("SBUS", "Universal receiver support and predictable behavior"),
        "cinema":     ("SBUS or CRSF", "Smooth, well-filtered control input"),
    }
    return table.get(use_case, ("ELRS", "Best all-around default"))


for case in ("racing", "long_range", "beginner"):
    proto, why = recommend(case)
    print(f"{case:12s} -> {proto}: {why}")

Range on these links comes from the frequency plan as much as transmit power: 900 MHz propagates further and penetrates vegetation better than 2.4 GHz, while 2.4 GHz supports higher packet rates and antenna diversity on smaller aerials. ExpressLRS made the trade-off dynamic by letting pilots trade packet rate against range in the link configuration.

MAVLink: the language of autopilots

MAVLink is the interchange format nearly every autopilot and ground station speaks — ArduPilot, PX4, Mission Planner, QGroundControl, and a dozen companion-computer libraries all serialize state into its frames. A message carries a system identifier, component identifier, message id, payload, and checksum; version 2 adds signing for authentication and reliable truncation handling.

python
MAVLINK_IDS = {
    "HEARTBEAT": 0, "SYS_STATUS": 1, "GPS_RAW_INT": 24,
    "ATTITUDE": 30, "MISSION_ITEM": 39, "COMMAND_LONG": 76,
    "COMMAND_ACK": 77, "STATUSTEXT": 253,
}


class MAVLinkMessage:
    """Minimal model of a MAVLink v1 frame."""

    def __init__(self, name, sys_id, comp_id, payload):
        self.name = name
        self.msg_id = MAVLINK_IDS[name]
        self.sys_id, self.comp_id, self.payload = sys_id, comp_id, payload

    @property
    def checksum(self):
        raw = f"{self.msg_id}{self.sys_id}{self.comp_id}{self.payload}"
        return sum(map(ord, raw)) % 65536

    def to_bytes(self):
        import json
        body = json.dumps(self.payload, separators=(",", ":")).encode()
        header = bytes([0xFE, len(body), self.sys_id, self.comp_id,
                        self.msg_id & 0xFF, self.msg_id >> 8 & 0xFF,
                        self.msg_id >> 16 & 0xFF])
        return header + body + self.checksum.to_bytes(2, "little")

    def __repr__(self):
        return f"<MAVLink {self.name} sys={self.sys_id} comp={self.comp_id}>"


hb = MAVLinkMessage("HEARTBEAT", 1, 1, {"type": 2, "autopilot": 12, "base_mode": 64})
gps = MAVLinkMessage("GPS_RAW_INT", 1, 1,
                     {"lat": 377749000, "lon": -1224194000, "satellites": 12})
print(hb, hb.checksum, len(hb.to_bytes()), "bytes")
print(f"GPS {gps.payload['lat'] / 1e7:.6f}, {gps.payload['lon'] / 1e7:.6f}")

Heartbeats are the liveness signal: a ground station that stops receiving them from the autopilot must declare the link lost and trigger the failsafe policy. Position and attitude messages stream at fixed rates (GPS often at 5–10 Hz, attitude at 50–100 Hz), and mission uploads move waypoint lists as batches of MISSION_ITEM frames acknowledged one by one — which is why uploads stall when a single frame is corrupted.

Turning raw frames into application state is straightforward parsing. The following decoder converts the three most useful messages into dictionaries a companion computer can log or hand to a planning stack.

python
import math

def parse_heartbeat(payload):
    return {
        "type": "HEARTBEAT",
        "armed": bool(payload.get("base_mode", 0) & 128),
        "mode": payload.get("custom_mode", 0),
        "voltage_v": payload.get("voltage_battery", 0) / 1000.0,
    }


def parse_gps(payload):
    fix = {0: "NO_FIX", 1: "2D", 2: "3D", 3: "DGPS", 4: "RTK"}.get(
        payload.get("fix_type", 0), "UNKNOWN")
    return {
        "type": "GPS",
        "lat": payload.get("lat", 0) / 1e7,
        "lon": payload.get("lon", 0) / 1e7,
        "alt_m": payload.get("alt", 0) / 1000.0,
        "fix": fix,
        "satellites": payload.get("satellites_visible", 0),
    }


def parse_attitude(payload):
    return {
        "type": "ATTITUDE",
        "roll_deg": math.degrees(payload.get("roll", 0.0)),
        "pitch_deg": math.degrees(payload.get("pitch", 0.0)),
        "yaw_deg": math.degrees(payload.get("yaw", 0.0)),
    }


print(parse_heartbeat({"base_mode": 192, "custom_mode": 4, "voltage_battery": 14800}))
print(parse_gps({"lat": 377749000, "lon": -1224194000,
                 "alt": 50000, "fix_type": 3, "satellites_visible": 14}))

Link budget: predicting range on paper

Free-space path loss grows with the square of both distance and frequency. Adding transmitter power and antenna gains, then subtracting path loss and a fade margin, yields received power; compare that against receiver sensitivity to know whether the link closes.

python
import math

def link_budget(freq_mhz, tx_dbm, tx_gain, rx_gain, distance_km,
                sensitivity_dbm=-100, margin_db=10):
    """Return received power and margin for a line-of-sight link."""
    fspl = 20 * math.log10(max(distance_km, 0.001)) + 20 * math.log10(freq_mhz) + 32.45
    rx_dbm = tx_dbm + tx_gain + rx_gain - fspl
    margin = rx_dbm - sensitivity_dbm - margin_db
    return {"fspl_db": fspl, "rx_dbm": rx_dbm, "margin_db": margin,
            "viable": margin > 0}


for name, freq, power, dist in [
    ("ELRS 2.4 GHz", 2400, 20, 2.0),
    ("Telemetry 915 MHz", 915, 20, 5.0),
    ("Telemetry 915 MHz", 915, 20, 15.0),
]:
    r = link_budget(freq, power, 2, 2, dist)
    status = "viable" if r["viable"] else "OUT OF RANGE"
    print(f"{name} @ {dist} km: loss {r['fspl_db']:.1f} dB, "
          f"rx {r['rx_dbm']:.1f} dBm, margin {r['margin_db']:.1f} dB ({status})")

Real links lose more than free space predicts: body blocking, antenna orientation, multipath, and receiver noise figure all bite. The 10 dB margin above is roughly what experienced operators demand before calling a link trustworthy, and it is why antenna placement — clear line of sight, no carbon frame between transmitter and receiver — often buys more range than a power increase.

Antenna selection and placement

Antenna choice is a geometry problem before it is a hardware problem. An omnidirectional dipole radiates in a doughnut perpendicular to its axis, so a vertical antenna on a ground radio wastes energy upward and downward while a horizontal antenna pointed at the horizon concentrates it where the aircraft flies. Patches and helical antennas trade coverage width for gain in one direction — ideal for a fixed ground station aimed at a corridor, useless for an aircraft circling behind you.

Placement rules are simple and violated constantly. Keep antennas outside the carbon shell, at least a propeller radius away from video transmitters, and oriented the same way on both ends because mixing polarizations costs roughly 20 dB. On the aircraft, mount the receiver antennas where motors and ESCs cannot shadow them, route them away from the battery lead's magnetic field, and strain-relieve them so a hard landing does not rip a connector loose. A fifteen-minute range walk test on the ground — transmitter in hand, aircraft static at the far edge of the field — reveals most of these mistakes before they matter in flight.

Failsafe behavior when the link drops

Every control link eventually loses packets; what matters is what the autopilot does when heartbeats stop. The failsafe ladder escalates in stages: hold position briefly while packets recover, continue the current mission if the telemetry link still carries commands, then return to home, and finally land when battery or geofence limits are reached. Each stage needs an explicit timeout in milliseconds, because defaults tuned for a racing field often wait far too long for a beyond-visual-line-of-sight mission.

Configuration happens before arming, not after the first scare. Verify by walking out of range or powering down the transmitter at low altitude: confirm the receiver reports the failsafe flag, watch the flight mode change on the ground station, and verify that the return altitude clears every obstacle between the aircraft and the launch point. Telemetry loss and control loss are distinct events with distinct policies — losing the display is an inconvenience, losing stick input is an emergency, and the aircraft should behave as if it already knows the difference.

Common Mistakes

Relying on cellular as the only control link

Fix: Keep a dedicated RC link for control; treat 4G or 5G as payload bandwidth with its own failsafe.

Mounting the telemetry antenna against carbon fiber

Fix: Carbon shields RF almost completely; route antennas outside the frame with clear line of sight.

Judging range from a bench test in free space

Fix: Apply a fade margin for vegetation, body blocking, and orientation; 10 dB is a sane default.

Ignoring failsafe configuration until the first signal loss

Fix: Define failsafe behavior — hold, land, or return-to-home — and test it deliberately at low altitude.

Best Practices

  • Set packet rate and telemetry rates explicitly; defaults rarely match your mission profile.
  • Log link quality metrics alongside flight data so range problems correlate with position and heading.
  • Separate control, telemetry, and payload onto distinct radios with independent power so one failure cannot cascade.
  • Verify heartbeats on the ground station before arming; a silent autopilot is a link problem, not an autopilot problem.
  • Survey the operating area for RF noise sources — other operators, Wi-Fi dense zones — before a critical flight.

Key Takeaways

  • Control, telemetry, and payload links have different latency, range, and failure tolerances; safety-critical control must use a dedicated RC link.
  • Digital RC protocols like SBUS and CRSF/ELRS replaced analog PWM; ELRS at 1 ms latency and 900 MHz range options set the current performance bar.
  • MAVLink frames carry system and component ids, message id, payload, and checksum; heartbeats drive link-loss detection and mission items upload with per-frame acknowledgement.
  • Link budget is transmitter power plus gains minus free-space path loss; close the loop with at least 10 dB of fade margin for real conditions.
  • Antenna placement, orientation, and frame materials influence range as much as transmit power — validate with logged link quality in the actual operating environment.
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-13

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert Drone AI Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement