Cross-platform tool for detecting and programming Axon servos
Project description
AXON Servo Cross-Platform Programmer
The Axon servo is an amazing servo used by many FTC teams. One of the downsides of the servo is that to program it, you need a Windows laptop. For those who do not have access to one or prefer using macOS or Linux, this can be a significant limitation. This project was created to solve that exact problem. By reverse-engineering the communication between the official Windows-based Axon programmer and the USB HID device, we developed a lightweight, cross-platform Python tool with a modern GUI.
This program is in its VERY early stages. If you have experience reverse engineering protocols for USB devices, contributions are welcome!
This project is a Python-based tool that communicates with a custom USB HID servo adapter (based on the SA33/USBBootloader) to program and test Axon servos.
It replicates the behavior of a proprietary .exe tool by sending low-level HID reports to the device and interpreting its responses.
🔧 Features
- ✅ Detects when a servo is plugged into the USB adapter
- 🔄 Continuously polls the adapter for status
- ⚙️ Uses
hidapi(via thehidPython package) - 🖥️ Works on Windows, Linux, and macOS
- ✨ Modern GUI built with PyQt6 and PyQt6-Fluent-Widgets.
🖼️ GUI
A modern GUI has been developed using PyQt6 and PyQt6-Fluent-Widgets, with features such as:
- Real-time status display (servo connected, current position, etc.)
- Interactive controls for configuration and testing
- Visual feedback and logging
- Cross-platform builds for Windows, macOS, and Linux
🚧 Future Plans
The current version of this project only scratches the surface of what the official Axon Programming Software can do. The long-term goal is to fully recreate and extend all of its functionality — in a free, open-source, and cross-platform package.
Planned features include:
- 🔌 Automatic adapter and servo detection on all supported OSes
- 🔄 Read/write servo configuration parameters (PID values, direction, etc.)
- ⬆️ Upload new firmware directly to the servo (Continous or Positional)
- 💾 Save and load profiles for repeatable tuning
- 🧪 Test mode to control servo position or speed from the GUI
- 🔍 Log and decode all USB traffic for debugging and advanced development
To support these features, we will continue reverse-engineering the USB HID protocol used by the original Windows .exe and documenting the command structure.
This tool is being built by FTC teams, for FTC teams, with the goal of making Axon servo configuration accessible to everyone, not just those with Windows laptops.
If you'd like to contribute to the protocol decoding, GUI development, or feature implementation, feel free to open an issue or pull request.
📦 Requirements
- Python 3.6+
hidapittkthemesPyQt6PyQt6-Fluent-Widgets
Install dependencies:
pip install hidapi ttkthemes PyQt6 PyQt6-Fluent-Widgets
On Linux/macOS, you may also need:
sudo apt install libhidapi-libusb0 # Debian/Ubuntu
brew install hidapi # macOS
🛠️ Setup (Linux/macOS Users)
To avoid running as root, add a udev rule:
- Create file
/etc/udev/rules.d/99-servo.rules:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="13aa", MODE="0666"
- Reload rules:
sudo udevadm control --reload
sudo udevadm trigger
🚀 Usage
Install the package using pip:
pip install axon-programmer
Then run the GUI:
axon-programmer
You will see a GUI window to interact with the servo.
🧪 How It Works
-
The adapter uses a known HID interface (
VID=0x0471,PID=0x13aa) -
A specific OUT report must be sent to trigger a status response:
04 8A 00 00 04 00 00 00 ... (total 64 bytes) -
The adapter replies with a 64-byte IN report:
- If servo is plugged in:
04 01 00 01 01 03 ... - If servo is not plugged:
04 01 FA 00 01 00 ...
- If servo is plugged in:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axon_programmer-0.0.5.tar.gz.
File metadata
- Download URL: axon_programmer-0.0.5.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b8c6ec652f070d4e4cb17132c5266f1a37f04f77783f1af79f28f13c6eb739e
|
|
| MD5 |
e666cee2a8d92da25baf70d4fc135afb
|
|
| BLAKE2b-256 |
c1182aae664f9fe9c4bc82121fc9a9bc1ce7a053fa1fef8208ea982ef46673d3
|
Provenance
The following attestation bundles were made for axon_programmer-0.0.5.tar.gz:
Publisher:
publish.yml on DevMello/AxonProgrammer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axon_programmer-0.0.5.tar.gz -
Subject digest:
2b8c6ec652f070d4e4cb17132c5266f1a37f04f77783f1af79f28f13c6eb739e - Sigstore transparency entry: 333589373
- Sigstore integration time:
-
Permalink:
DevMello/AxonProgrammer@a0562954a71f5a8bc39fa1b92f353e71fe1c835f -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/DevMello
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0562954a71f5a8bc39fa1b92f353e71fe1c835f -
Trigger Event:
release
-
Statement type:
File details
Details for the file axon_programmer-0.0.5-py3-none-any.whl.
File metadata
- Download URL: axon_programmer-0.0.5-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ab109b6217449a6fff787541863b52df6c27442d0ea42ddf5c13c8ecd00ec6
|
|
| MD5 |
e98071c29938b502c4ae88e3ab9b0b05
|
|
| BLAKE2b-256 |
28e8f06316683f8c0757a30227f87464d4c8b9f551d6deaf2276d1ad504135fc
|
Provenance
The following attestation bundles were made for axon_programmer-0.0.5-py3-none-any.whl:
Publisher:
publish.yml on DevMello/AxonProgrammer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axon_programmer-0.0.5-py3-none-any.whl -
Subject digest:
86ab109b6217449a6fff787541863b52df6c27442d0ea42ddf5c13c8ecd00ec6 - Sigstore transparency entry: 333589431
- Sigstore integration time:
-
Permalink:
DevMello/AxonProgrammer@a0562954a71f5a8bc39fa1b92f353e71fe1c835f -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/DevMello
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0562954a71f5a8bc39fa1b92f353e71fe1c835f -
Trigger Event:
release
-
Statement type: