Hoa Kỳroboninecom/STS32XX-Firmware
Custom firmware for Feetech STS32XX servos (GD32F130) in SO-ARM100, SO-ARM101 and SO-ARM102 robot arms, with smooth motion, tunable PID and gravity compensation.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
STS32XX Firmware
English · Русский · Español · Français · Deutsch · Português (Brasil) · 简体中文 · 日本語 · हिन्दी · العربية
Firmware for GD32F130-based STS3215 servos. Standard STS commands are available in legacy mode; extension mode adds locally planned smooth motion, configurable position control, velocity feedforward and host-calculated gravity compensation.
Start with the Quick start guide, or read the detailed documentation for configuration and protocol details.
Approximate values describe the recorded demonstrations, not guaranteed accuracy across the workspace.
Select a video image or the YouTube link below it to watch the silent clip. All documentation videos are available by link (Unlisted); MP4 copies are also provided.
- Why we built it
- What changes in control
- Results on SO-101 / SO-102
- Robots and links
- Quick start
- Detailed documentation
Why we built it
A robot arm can return consistently to the same point and still miss the commanded target. Repeatability describes that consistency; absolute positioning accuracy describes how close the arm gets to the target.
Repeated returns measured with an indicator
Repeatability versus absolute positioning accuracy
We tried to reduce positioning error by tuning PID on the stock firmware. In some test scenarios, the settings that reduced the error also caused oscillation. We developed custom firmware to give us more control over motion planning and position control.
What changes in control
The host sends targets and settings; each servo plans and controls its own movement.
- The host sends targets and settings and computes gravity compensation when configured.
- Each servo plans its own S-curve motion.
- Local PID and feedforward control adjust motor output using measured position and estimated speed.
Watch the recorded overview on YouTube | MP4
S-curve motion
Makes acceleration and braking more gradual. The curve illustrates acceleration over time.
Configuration and limitations.
PID control
Adjusts how the servo corrects position error. The gray curve illustrates oscillation; the white curve illustrates a more damped response. The dashed line is the target.
Configuration and limitations.
Velocity feedforward
Adds motor output based on planned speed, calculated inside the servo. Both curves progress from left to right over time.
Configuration and limitations.
Gravity compensation
The host calculates the contribution and the servo applies it. The downward arrow represents weight; the upward arrow represents support.
Configuration and limitations.
These explanatory graphics and animations are conceptual, not measured hardware plots. See the detailed documentation for settings, protocol details and limitations. Extension clients must support protocol v9.0; extension settings are temporary and must be sent again after a reset or power cycle.
Results on SO-101 / SO-102
The clips below show recorded before-and-after tests on SO-101 and SO-102. Each comparison shows the original behavior first, followed by the custom-firmware setup.
SO-101: before, then after
SO-102: before, then after
The approximate values shown describe these demonstrations, not guaranteed accuracy across the arm's workspace. Repeatability, absolute positioning accuracy and mechanical deflection are different measurements.
Complete coordinated movement
This clip preserves the complete recorded movement. Each servo plans locally; sending targets together does not by itself guarantee simultaneous arrival.
Mechanical limitations
Gearbox backlash and frame flex still affect the arm's endpoint position. Controller tuning does not remove these mechanical limitations. Validate settings on the actual mechanism and load; see current limits.
Robots and links
Interested in building a similar setup? Explore the SO-ARM101 and SO-ARM102 kits from Robonine. Kit contents are documented on the product pages.
| SO-ARM101 | SO-ARM102 |
|---|---|
![]() | ![]() |
| Buy the SO-ARM101 kit from Robonine | Buy the SO-ARM102 kit from Robonine |
Explore SO-ARM102 hardware, CAD and BOM.
Quick start
Follow the existing Quick start guide for the prerequisites, commands, checks and flashing precautions. Its setup sequence is:
- Install the required tools and select the servo port.
- Back up motor settings and flash the published custom firmware.
- Calibrate joint offsets and travel limits as required for the setup.
- Check communication with torque off.
- Record poses, preview replay and perform the first motion test.
- Enable gravity compensation with a model matching the arm and its calibration.
- Tune and view motion.
Flashing can damage the servo or erase calibration. Follow the guide's power, torque and recovery precautions before proceeding.
For a new SO-101 or SO-102 calibration, use the existing reference-pose images and follow the calibration guide. Keep an existing verified calibration when reusing its recordings and gravity model.
SO-101 reference pose
SO-102 reference pose
Detailed documentation
The detailed documentation covers configuration, protocols, registers, building and verification. Technical diagrams and relevant video demonstrations appear alongside the corresponding sections.
- Legacy mode
- How extension mode works
- S-curve motion
- Calibration reference poses
- PID controller
- Velocity feedforward
- Gravity compensation
- Starting and stopping extension mode
- Extension protocol
- Extension registers
- Build and verification
- Repository layout
- Current limits
See tools for individual command guides and firmware for the build toolchain.
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Open-source 3D-printed parallel gripper for SO-ARM100, SO-100, SO-ARM101, SO-101, SO-ARM-102 robot arms. Feetech STS3215, 84 mm stroke, camera mounts, STL files, BOM and assembly guide.
ROS 2 MoveIt 2 control for a 6-DoF STS3215 servo robotic arm.
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Comprehensive roadmap for aspiring Embedded Systems Engineers, featuring a curated list of learning resources
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Marlin is a firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers. Marlin supports all common platforms. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32















