DroneCAN GUI tool in your browser and on Android
FlySpark's DroneCAN GUI tool connects to a CAN bus through an SLCAN USB-CAN adapter such as CANable or Zubax Babel, in Chrome or Edge on a computer or in the FlySpark app on Android. It lists every DroneCAN node on the bus with its health, mode and uptime, opens each node's parameters for editing and saving, updates node firmware such as AP_Periph, gives node IDs to nodes that ask for one, and shows the raw traffic in a bus monitor.
It covers the jobs pilots and builders reach for the DroneCAN GUI Tool for most: checking that a CAN GPS, compass, airspeed sensor, ESC or power module is alive, changing a setting on it, and loading new firmware. There is nothing to install in the browser.
This page explains DroneCAN and SLCAN, the wiring and termination rules, how to connect, step-by-step guides for parameters and firmware updates, the messages you may see, and how FlySpark compares with the desktop DroneCAN GUI Tool.
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 DroneCAN GUI lists the nodes on a drone's CAN bus, such as GPS, compass, ESCs and power modules, and edits their parameters and firmware. FlySpark's DroneCAN tool does this through an SLCAN USB-CAN adapter like CANable or Zubax Babel, in Chrome or Edge and in the Android app.
Key facts
- DroneCAN v1 is identical to the older UAVCAN protocol, so existing UAVCAN devices already work with it.
- Needs an SLCAN (Lawicel) USB-CAN adapter, such as CANable or Zubax Babel.
- Opens the bus at 1 Mbit/s; the Android app can also choose 10 kbit/s to 800 kbit/s.
- DroneCAN's recommended bit rates are 1000, 500, 250 and 125 kbit/s; at 1000 kbit/s the bus can be up to 40 m long.
- Node IDs run from 1 to 127; FlySpark's own node ID is 127 by default.
- Updates node firmware such as AP_Periph from a .bin file and runs a dynamic node ID allocation server.
- Works in Chrome or Edge on a computer and in the Android app; not on iPhone.
Betaflight
INAV
ArduPilot
PX4- BLHeli_S
Bluejay
AM32
ExpressLRS
EdgeTX
DroneCAN
MAVLink
Try it
Scan the bus
Scan reveals three example nodes. A real bus depends on what is plugged in.
- GPS node
- ESC node
- Compass node
DroneCAN
Features
- 01
Live node list
Every node's ID, name, health (OK, Warning, Error, Critical), mode (Operational, Initialising, Maintenance, Software update) and uptime, with nodes that go quiet marked Offline.
- 02
Node details
Node ID, software version and hardware version for each node.
- 03
Parameter editor
Read every parameter on a node, search them, edit with the default and range shown, then Save to flash so changes survive a restart.
- 04
Reset and restart
Reset a node's parameters to defaults or restart it from the node menu.
- 05
Firmware update
Pick a .bin file such as AP_Periph.bin and FlySpark serves it to the node, showing progress and confirming the restart.
- 06
Node ID allocation
A dynamic node ID allocation server gives IDs to nodes that ask for one.
- 07
Bus monitor
Frames per second, pause and clear, with each frame labelled by message or service name, source node and, for services, request or response and destination.
- 08
Simulated bus
Try it without hardware: an autopilot, a GPS, an ESC and a node waiting for an ID.
What DroneCAN is
DroneCAN is a protocol for drone peripherals on a CAN bus, continued from UAVCAN v0. GPS units, compasses, airspeed sensors, rangefinders, ESCs, power monitors, servos and LED controllers can share two wires plus power instead of each taking a serial port. ArduPilot supports it widely, and ArduPilot's AP_Periph firmware turns many small boards into DroneCAN nodes.
Each device on the bus is a node with an ID from 1 to 127. Every node broadcasts a NodeStatus message about once a second with its health, mode and uptime. Settings are stored as named parameters on the node, read and written with standard services, and firmware is updated by the node reading a file from another node that acts as a file server.
SLCAN adapters and the DroneCAN GUI tool
A computer or phone has no CAN port, so the tool reaches the bus through a USB-CAN adapter that speaks SLCAN, a simple text protocol over a serial port. CANable and Zubax Babel are common choices; FlySpark recognises their USB IDs and also accepts generic serial bridges and STM32 virtual COM ports that run SLCAN firmware.
FlySpark joins the bus as its own node, ID 127 by default, and listens. It does not use an autopilot's MAVLink CAN forwarding; it needs the adapter on the bus. You can leave the autopilot connected and powered, which is often the easiest way to power the bus.
Wiring, bitrate and termination
DroneCAN almost always runs at 1 Mbit/s, which is also ArduPilot's default. The browser connection uses 1 Mbit/s; the Android app lets you pick 10 kbit/s to 1 Mbit/s if your bus differs. A wrong bitrate means no frames at all.
A CAN bus needs a 120 Ω terminator at each of its two ends and nowhere else. Many adapters and nodes have a termination switch or jumper; turn it on only on the devices at the ends. CAN_H and CAN_L must not be swapped. Every node also needs power, and the adapter does not always supply it.
On an ArduPilot autopilot, the CAN port must be enabled for DroneCAN: CAN_P1_DRIVER = 1 and CAN_D1_PROTOCOL = 1 for the first port, then reboot. ArduPilot then finds the nodes; FlySpark sees them on the same bus.
Node IDs and dynamic allocation
Nodes either have a fixed ID set in a parameter or ask for one when they start. A node asking for an ID shows up as anonymous until something allocates one. An ArduPilot autopilot on the bus runs its own allocation server. When it is not there, for example on a bench with only the adapter and a GPS, turn on Allocate node IDs in FlySpark and it gives the node a free ID.
Two nodes with the same ID cause errors and flickering in the node list. If you see that, give one of them a different fixed ID in its parameters and save to flash.
Updating DroneCAN node firmware
DroneCAN firmware updates work the other way round from a USB flash: FlySpark tells the node which file to fetch, and the node's bootloader reads the file from FlySpark in small pieces. That is why the progress shows kilobytes read by the node, and why there can be a pause at the start while the bootloader erases its flash.
For AP_Periph nodes, download the AP_Periph.bin for your exact node board from the ArduPilot firmware server's AP_Periph folder. Keep the bus powered until FlySpark reports that the node restarted with the new firmware. If an update is stopped part way, the node may stay in its bootloader until it is updated again, which FlySpark can do.
Where the DroneCAN tool runs
In Chrome or Edge on a computer, FlySpark reaches the adapter through Web Serial. In the FlySpark app on Android it uses USB OTG. iPhone apps have no access to USB serial adapters, so the DroneCAN tool is not offered on iPhone.
At a glance
DroneCAN tool specifications
| Protocol | DroneCAN (UAVCAN v0) |
|---|---|
| Adapter | SLCAN over USB serial: CANable, Zubax Babel, generic serial bridges, STM32 virtual COM ports |
| Bitrate | 1 Mbit/s in the browser; 10 kbit/s to 1 Mbit/s in the Android app |
| Our node ID | 127 by default, 1 to 127 |
| Node list | ID, name, health, mode, uptime, offline detection |
| Parameters | Read, search, edit with default and range, save to flash, reset to defaults |
| Firmware update | .bin served to the node with file read requests |
| Allocation | Dynamic node ID allocation server |
| Platforms | Chrome or Edge on a computer; FlySpark app on Android |
| Not available | iPhone |
Compare
FlySpark compared with the DroneCAN GUI Tool
| Feature | FlySpark | DroneCAN GUI Tool |
|---|---|---|
| Install needed | Noruns in Chrome or Edge | Yesdesktop application |
| Android app | Yes | No |
| Node list with health and mode | Yes | Yes |
| Parameter editing and save | Yes | Yes |
| Node firmware update | Yes | Yes |
| Dynamic node ID allocation | Yes | Yes |
| Bus monitor | Yes | Yes |
| Plotter and interactive console | No | Yes |
| Simulated bus for practice | Yes | No |
DroneCAN
How to use the DroneCAN GUI tool in FlySpark
Wire the adapter
Connect an SLCAN adapter to the CAN bus and check termination at both ends.
Power the bus
Power the nodes, for example through the autopilot.
Connect
Open the DroneCAN tool in Chrome, Edge or the Android app and choose the adapter.
Check nodes
Confirm every node appears with OK health and Operational mode.
Edit parameters
Open a node, change a parameter and press Save to flash.
Update firmware
Choose Update firmware and pick the node's .bin file.
Guide 01
Connect to a DroneCAN bus
Check termination and power before plugging in.
Wire the SLCAN adapter to the bus: CAN_H to CAN_H, CAN_L to CAN_L, ground to ground.
Power the bus, for example by powering the autopilot.
Plug the adapter into USB and open the DroneCAN tool in Chrome, Edge or the Android app.
Choose the adapter in the port list. In the app, check the bitrate (1 Mbit/s) and our node ID (127).
Wait for nodes to appear. Each shows its health, mode and uptime.
Guide 02
Change and save a node parameter
Parameters set without saving are lost when the node restarts.
Tap the node in the list to open it.
Wait for the parameters to load, then search for the one you need.
Tap it and enter the new value; the dialog shows the default and the allowed range.
Press Save to flash.
Restart the node from its menu if the setting needs a restart, and reload parameters to check.
Guide 03
Update AP_Periph firmware
Download the right AP_Periph.bin for your node board first.
Open the node and choose Update firmware from its menu.
Pick the .bin file.
Confirm the update. Keep the bus powered and stay on the page.
Wait while the node erases and reads the file; progress shows kilobytes read.
When FlySpark reports the node restarted with the new firmware, check the software version on the node page.
Troubleshooting
Common problems and fixes
Problem
Listening for NodeStatus… Check the bitrate, wiring and bus termination.
Fix
No frames arrive. Check the bitrate is 1 Mbit/s, CAN_H and CAN_L are not swapped, the bus has a terminator at each end, and the nodes have power.
Problem
No USB serial device
Fix
Plug the adapter in and tap refresh. Use a data cable. If the adapter is not listed, choose Show all devices.
Problem
A node shows Offline
Fix
It stopped sending NodeStatus. Check its power and connector, or it may be restarting.
Problem
A node is stuck waiting for an ID
Fix
Nothing on the bus allocates IDs. Turn on Allocate node IDs, or set a fixed ID on the node.
Problem
The file was sent but the node did not report a restart.
Fix
Check the node before flying: look at its software version and health. If it is in its bootloader, run the update again.
Problem
Node is in Software update mode
Fix
The node is in its bootloader, often after an interrupted update. Update it with the correct .bin.
Problem
Changes are lost after a restart
Fix
Press Save to flash after editing. Parameters set without saving live only until the node restarts.
Problem
Autopilot does not see CAN devices
Fix
On ArduPilot set CAN_P1_DRIVER = 1 and CAN_D1_PROTOCOL = 1, then reboot. If FlySpark sees the nodes, the bus is fine.
Glossary
Glossary of terms
- Node
- One device on the DroneCAN bus with its own ID.
- Node ID
- The address of a node, 1 to 127.
- NodeStatus
- The message every node sends about once a second with health, mode and uptime.
- SLCAN
- A serial-line text protocol that lets a USB adapter carry CAN frames.
- Termination
- A 120 Ω resistor at each end of the bus that stops signal reflections.
- AP_Periph
- ArduPilot's firmware for peripheral boards that turns them into DroneCAN nodes.
- Dynamic node ID allocation
- A way for nodes without a fixed ID to ask an allocator for one at start-up.
- UAVCAN v0
- The earlier name of the protocol that continued as DroneCAN.
FAQ
Frequently asked questions
Can I use a DroneCAN GUI tool in the browser?
Yes. FlySpark runs in Chrome or Edge on a computer and reaches an SLCAN adapter through Web Serial. Nothing to install.
Which USB-CAN adapters work?
SLCAN adapters such as CANable and Zubax Babel, and other USB serial adapters running SLCAN firmware.
Can I connect through the flight controller instead of an adapter?
FlySpark needs an SLCAN adapter on the bus. It does not use an autopilot's MAVLink CAN forwarding.
What bitrate does DroneCAN use?
Almost always 1 Mbit/s, ArduPilot's default. FlySpark uses that in the browser and lets you choose another rate in the Android app.
Why do I see no nodes?
Usually bitrate, wiring or termination: 1 Mbit/s, CAN_H and CAN_L not swapped, 120 Ω at both ends of the bus, and power on the nodes.
How do I update AP_Periph firmware?
Download the AP_Periph.bin for your node board, open the node in FlySpark, choose Update firmware and pick the file. Keep the bus powered until the node restarts.
Do parameter changes save automatically?
No. Press Save to flash after editing, or the node goes back to its saved values when it restarts.
What node ID does FlySpark use?
127 by default. In the Android app you can change it if another tool on the bus uses 127.
Should I turn on node ID allocation?
Only when nothing else on the bus allocates IDs. An ArduPilot autopilot on the bus already does.
Does it work on iPhone?
No. iPhone apps cannot use USB serial adapters. Use Chrome or Edge on a computer, or the Android app.
Is DroneCAN the same as UAVCAN?
DroneCAN continues UAVCAN v0, the version ArduPilot and most drone peripherals use.
Can I try it without hardware?
Yes. The simulated bus has an autopilot, a GPS, an ESC and a node waiting for an ID.
References
Sources
The official documentation behind the background facts on this page.
- DroneCANDroneCAN · dronecan.github.io
- DroneCAN GUI ToolDroneCAN · dronecan.github.io
- CAN bus transport layerDroneCAN · dronecan.github.io
- Application level functionsDroneCAN · dronecan.github.io
- Hardware design recommendationsDroneCAN · dronecan.github.io
- DroneCAN Setup (Advanced)ArduPilot · ardupilot.org
- AP_PeriphArduPilot · ardupilot.org





