MAVLink ground station for ArduPilot and PX4, anywhere
FlySpark is a MAVLink ground station for ArduPilot and PX4 vehicles that runs in Chrome or Edge and in the FlySpark app on Android and iPhone. It speaks MAVLink 1 and 2, upgrades to MAVLink 2 when the vehicle supports it, and signs its messages when you set a MAVLink signing key.
On a computer, connect in Chrome or Edge over USB or Bluetooth; on iPhone, use Bluetooth or Wi-Fi in the app, because an iPhone cannot see a flight controller over USB, including USB-C and an Apple cable. On Android the app connects over USB, a SiK or RFD900 telemetry radio, Bluetooth or a UDP or TCP link. Once the heartbeat arrives you get a HUD and map with flight actions, the vehicle's status messages, the full parameter list, a mission, geofence and rally point planner, dataflash log download and a MAVFTP file browser.
This page explains what MAVLink is, every link type FlySpark supports and how to set each up, what the ground station can do, how MAVLink signing works, and the fixes for the connection problems pilots hit most.
Free. Hardware connections need Chrome or Edge on a computer; phones use the FlySpark app.
- Free
- Nothing to install
- Demo without hardware
In short
A MAVLink ground station talks to ArduPilot and PX4 vehicles over the MAVLink protocol to show telemetry, change modes, edit parameters and run missions. FlySpark is one in Chrome or Edge and in its Android and iPhone apps, over USB, telemetry radios, Bluetooth, UDP or TCP.
Key facts
- Speaks MAVLink 1 and 2, probing for MAVLink 2 and switching up when the vehicle answers.
- Uses ground station system ID 255.
- Default UDP listen port is 14550.
- Browser: Web Serial (USB-serial radios at 57600 baud) and Web Bluetooth. Android: USB OTG at 57600 to 921600 baud, Bluetooth LE, UDP, TCP. iPhone: Bluetooth LE, UDP, TCP.
- Uses the MAVLink mission protocol for missions, geofences and rally points.
- MAVLink 2 signing adds a 13-byte signature; FlySpark makes the key from a passphrase with SHA-256, as Mission Planner and QGroundControl do.
- Downloads dataflash logs over MAVFTP or LOG_DATA.
Betaflight
INAV
ArduPilot
PX4- BLHeli_S
Bluejay
AM32
ExpressLRS
EdgeTX
DroneCAN
MAVLink
Try it
Tilt the horizon
Pitch and roll move the ball. This is the ground-station picture.
MAVLink
Features
- 01
Every common link
USB, telemetry radios on USB-serial adapters, BLE UART adapters, and UDP or TCP in the app, for Wi-Fi telemetry, ESP bridges and SITL.
- 02
MAVLink 1 and 2
Starts with what the vehicle sends, probes for MAVLink 2 and switches up when it answers. Link quality shows the share of packets received.
- 03
Fly view
Altitude, ground and air speed, climb, heading, throttle, battery and GPS fix on a HUD, with the vehicle on a street or satellite map.
- 04
Flight actions
Arm and disarm, mode changes, takeoff, land, RTL, hold, start mission, set waypoint, change speed and altitude, fly here and set home.
- 05
Virtual sticks
Mode 2 gimbals send MANUAL_CONTROL at 10 Hz. On PX4, COM_RC_IN_MODE must allow joystick or GCS sticks. Roll, pitch and yaw spring back; throttle stays.
- 06
Parameters
Full download with missed values filled in, search, range-checked editing and .param files in Mission Planner, MAVProxy and QGroundControl formats.
- 07
Missions, fences and rally points
The MAVLink mission protocol for all three, with .plan and .waypoints files and KML, GPX or GeoJSON import.
- 08
Logs and MAVFTP
Download dataflash logs over MAVFTP or LOG_DATA, browse the vehicle's files, upload, delete and download param.pck.
- 09
MAVLink 2 signing
Set a passphrase key compatible with Mission Planner and QGroundControl, send it to the vehicle, and see verified and dropped frame counts.
What MAVLink is
MAVLink is a lightweight messaging protocol for drones and other unmanned vehicles. The autopilot sends a HEARTBEAT about once a second plus telemetry messages for attitude, position, battery and status, and the ground station sends commands, parameter reads and writes, and mission items. ArduPilot and PX4 both use it, as do many companion computers, gimbals and cameras.
MAVLink 1 frames start with 0xFE and allow 256 message types. MAVLink 2 frames start with 0xFD, allow many more messages and extensions to existing ones, and add optional signing. Some features, including geofence and rally point upload, need MAVLink 2. Every MAVLink device has a system ID and component ID; FlySpark uses system ID 255, the usual ground station ID, and talks to the first autopilot it hears.
MAVLink ground station links: USB, radio, Bluetooth, Wi-Fi
USB: the autopilot's own USB port gives the fastest link for setup and log download. The baud setting does not matter on native USB. In the browser FlySpark uses Web Serial; on Android, USB OTG.
Telemetry radios: SiK radios (3DR, Holybro and similar) and RFD900 connect to the ground station through a USB-serial chip such as FTDI, CP210x or CH340. The usual rate is 57600 baud. In the browser FlySpark opens these bridges at 57600; in the Android app pick 57600, 115200, 230400, 460800 or 921600. Both radios must share NETID and air settings, and the autopilot's port must run MAVLink at the radio's serial baud.
Bluetooth: Web Bluetooth in Chrome and Bluetooth LE in the app find Nordic UART and HM-10 style adapters. Wire the adapter to a telemetry port set to MAVLink with a matching baud; on ArduPilot that is SERIALn_PROTOCOL = 2.
Network (app only): UDP or TCP for Wi-Fi telemetry modules, ESP8266 or ESP32 MAVLink bridges and SITL. Many Wi-Fi bridges send to UDP port 14550, the standard ground station port. Browsers do not allow a secure web page to open raw UDP or TCP connections to devices on your network, which is why Wi-Fi links need the app.
Fly view and flight actions
The Fly tab shows the HUD values, armed state, current mode, link quality and a map with the vehicle, home and the mission path. Arming asks for confirmation; if the autopilot refuses, FlySpark shows its reason, and Force arm is available behind a second warning. Emergency stop needs a press-and-hold so it cannot be triggered by a stray tap.
Press and hold on the map to Fly here (the vehicle switches to GUIDED and flies to the point) or Set home here. The actions panel has Takeoff to a chosen height, Land, RTL, Hold, Start mission, Set waypoint, Change speed and Change altitude. A plane has no Land mode, so FlySpark offers Mission landing, which flies the landing sequence after DO_LAND_START. Calibrate gyro, calibrate baro and reboot are there for ground checks.
MAVLink signing
Signing stops anyone else on the radio channel from sending commands to your vehicle. Each signed MAVLink 2 frame carries a link ID, a timestamp and a signature made with a shared 32-byte key. FlySpark makes the key as the SHA-256 of a passphrase, the same as Mission Planner and QGroundControl, so the same passphrase works in all three. A raw 64-digit hex key is also accepted.
Send the key to the vehicle over USB, or over a link that is already signed. From then on the vehicle ignores unsigned commands on its telemetry links. FlySpark shows verified and dropped frames with the reason (wrong key, replayed, timestamp too old or unsigned), lets you choose whether to accept unsigned messages from the vehicle, and can turn signing off on the vehicle by sending an empty key. A vehicle that talks MAVLink 1 cannot sign; set its port to MAVLink 2.
Logs and files over MAVLink
Logs lists the logs on the vehicle with size and date. Select one or many and download. FlySpark uses MAVFTP when the vehicle offers it, which is several times faster, and falls back to LOG_DATA, asking again for lost packets. The vehicle must be disarmed, because it writes to the log while armed. Erase all deletes every log on the vehicle's card.
The Files browser uses MAVFTP to list folders on the vehicle, download or share files, upload, delete, create folders, download parameters as param.pck and close stuck file sessions.
Vehicles and limits
FlySpark has full setup pages for ArduPilot and PX4. Other MAVLink autopilots open with basic support: telemetry, messages, parameters and missions, without the setup pages. It works with one vehicle at a time and does not show video. It downloads logs but does not graph them.
At a glance
MAVLink ground station specifications
| Protocol | MAVLink 1 and MAVLink 2 (auto upgrade), MAVLink 2 signing |
|---|---|
| Ground station ID | System ID 255 |
| Autopilots | ArduPilot and PX4 with setup pages; other MAVLink autopilots with basic support |
| Browser links | Web Serial (USB, USB-serial radios at 57600) and Web Bluetooth in Chrome or Edge |
| Android links | USB OTG (57600 to 921600 baud), Bluetooth LE, UDP, TCP |
| iPhone links | Bluetooth LE, UDP, TCP |
| Bluetooth adapters | Nordic UART and HM-10 style BLE serial |
| Mission protocol | Mission, geofence and rally point read, write and clear |
| Files | .plan, .waypoints, .param, KML, GPX, GeoJSON |
| Logs | MAVFTP or LOG_DATA with re-request of lost packets |
Compare
FlySpark compared with desktop MAVLink ground stations
| Feature | FlySpark | Mission Planner | QGroundControl |
|---|---|---|---|
| Runs in a browser tab | Yes | No | No |
| Android app | Yes | No | Yes |
| USB and telemetry radio links | Yes | Yes | Yes |
| UDP and TCP links | App only | Yes | Yes |
| MAVLink signing with passphrase | Yes | Yes | Yes |
| Mission, fence and rally upload | Yes | Yes | Yes |
| Video feed | No | Yes | Yes |
| Log graphs | No | Yes | No |
MAVLink
How to connect a MAVLink ground station
Choose the link
USB for setup, a telemetry radio for flying, a BLE adapter, or Wi-Fi in the app.
Match the port
Set the autopilot port the link uses to MAVLink at the right baud.
Open the ground station
Open FlySpark's MAVLink ground station in Chrome, Edge or the app.
Pick the device
Choose the USB port, scan for Bluetooth, or enter the network link.
Wait for the heartbeat
FlySpark detects ArduPilot or PX4, negotiates MAVLink 2 and reads parameters.
Fly or plan
Use the Fly, Setup, Messages, Parameters and Mission tabs.
Guide 01
Connect a SiK telemetry radio
The air radio is wired to an autopilot telemetry port; the ground radio plugs into USB.
On the autopilot, set the telemetry port to MAVLink 2 at 57600 baud (ArduPilot: SERIALn_PROTOCOL = 2, SERIALn_BAUD = 57).
Power the vehicle and wait for the radios to link (solid green LEDs on most SiK radios).
Plug the ground radio into the computer or Android phone.
Open the MAVLink ground station and choose the radio's USB-serial port. In the app set the baud to 57600.
Wait for the heartbeat. Link quality shows how many packets arrive.
Read parameters once; FlySpark fills in any values the radio dropped.
Guide 02
Connect over Wi-Fi with UDP 14550
For an ESP bridge, Wi-Fi telemetry module or SITL. Needs the FlySpark app.
Join the bridge's Wi-Fi network with the phone.
Open the MAVLink ground station and choose Network (TCP/UDP).
Pick UDP and port 14550, or TCP with the bridge's address and port.
Connect and wait for the heartbeat.
Guide 03
Turn on MAVLink signing
Connect over USB for the first step, with the vehicle on MAVLink 2.
Open Setup, then MAVLink signing.
Enter a passphrase (or a 64-digit hex key) and use it.
Choose Send key to vehicle and confirm.
Turn on Sign messages to the vehicle.
Reconnect over telemetry and check that verified frames go up.
Use the same passphrase in Mission Planner or QGroundControl on other computers.
Troubleshooting
Common problems and fixes
Problem
Waiting for a MAVLink heartbeat
Fix
Wrong baud, wrong port protocol or crossed wiring. Check the autopilot port is set to MAVLink at the radio's baud, TX goes to RX, and both radios share NETID.
Problem
This flight controller speaks MAVLink, so it runs ArduPilot or PX4
Fix
You opened a Betaflight or INAV tool. Choose Open MAVLink to switch to the ground station.
Problem
Reconnecting… waiting for the vehicle to answer again
Fix
The link dropped. FlySpark reconnects on its own. On a radio, check range and antennas; on USB, check the cable.
Problem
MAVLink signing is enabled on the vehicle; commands from this app will be ignored
Fix
The vehicle has a key. Enter the same passphrase in MAVLink signing.
Problem
The vehicle signs with a different key
Fix
Its messages are dropped. Enter the passphrase the vehicle was set up with, or reset the key over USB.
Problem
The vehicle talks MAVLink 1, which has no signing
Fix
Set the port to MAVLink 2 (ArduPilot SERIALn_PROTOCOL = 2) and reconnect.
Problem
This vehicle does not report MAVFTP support; listings may fail
Fix
The firmware or link may not support MAVFTP. Logs still download through LOG_DATA.
Problem
Bluetooth adapter found but no heartbeat
Fix
The adapter's baud must match the autopilot port, and the port must run MAVLink. Make sure no other phone or PC is connected to the adapter.
Glossary
Glossary of terms
- Heartbeat
- The message every MAVLink system sends about once a second to show it is alive and what it is.
- System ID
- The number that identifies a vehicle or ground station on a MAVLink network.
- SiK radio
- A common 433 or 915 MHz telemetry radio firmware for MAVLink links.
- NETID
- The network ID that pairs two SiK radios; both must match.
- UDP 14550
- The standard port ground stations listen on for MAVLink over a network.
- MAVFTP
- A file transfer protocol over MAVLink for logs, parameters and scripts.
- Signing
- MAVLink 2 message authentication with a shared secret key.
- GUIDED
- The mode a ground station uses to send position targets to the vehicle.
- DO_LAND_START
- A mission item that marks the start of a plane's landing sequence.
FAQ
Frequently asked questions
What is a MAVLink ground station?
Software that talks MAVLink to a vehicle: it shows telemetry, sends commands, edits parameters and uploads missions. Mission Planner, QGroundControl and FlySpark are examples.
Can I use MAVLink in a web browser?
Yes, in Chrome or Edge. FlySpark connects over Web Serial for USB and USB-serial radios, and over Web Bluetooth for BLE adapters. Wi-Fi links need the app.
Which baud rate should I use for telemetry?
57600 is the usual SiK default. Use the same rate on the autopilot port and the radio. On native USB the baud rate is ignored.
Does FlySpark support MAVLink 2?
Yes. It reads MAVLink 1 and 2 and switches to MAVLink 2 when the vehicle answers in it. Signing, geofence and rally upload need MAVLink 2.
Can I connect over Bluetooth?
Yes, with a BLE serial adapter (Nordic UART or HM-10 style) on an autopilot port set to MAVLink. Classic Bluetooth SPP modules are not BLE and are not found.
How do I connect to UDP 14550?
In the FlySpark app on Android or iPhone, choose Network (TCP/UDP) and enter port 14550. Browsers cannot open UDP.
Is FlySpark's signing compatible with Mission Planner?
Yes. The key is the SHA-256 of the passphrase, the same as Mission Planner and QGroundControl.
Can I download logs over telemetry?
Yes, but it is slow. USB is much faster. FlySpark uses MAVFTP when available and re-requests lost packets on LOG_DATA.
Does it support multiple vehicles?
No. FlySpark connects to one autopilot per link.
Does it work with ArduSub or Rover?
Yes. Rover and Sub connect like Copter and Plane, with the ArduPilot setup pages that apply to them.
Can I connect to SITL?
Yes, from the Android or iPhone app over UDP or TCP. The browser demo also has simulated ArduCopter and PX4 vehicles.
References
Sources
The official documentation behind the background facts on this page.
- MAVLink Developer GuideMAVLink · mavlink.io
- MAVLink 2MAVLink · mavlink.io
- MAVLink VersionsMAVLink · mavlink.io
- Message SigningMAVLink · mavlink.io
- Mission ProtocolMAVLink · mavlink.io
- File Transfer Protocol (FTP)MAVLink · mavlink.io






