RepositoryJavaScriptUSHoa Kỳ
roboninecom

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.

96sao
4fork
0issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: sts3215

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: so-arm102

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: servo-control

#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.

Overview: recorded SO-101 and SO-102 before-and-after tests

Watch on YouTube | MP4

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

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

Repeated returns measured with an indicator

Watch on YouTube | MP4

Repeatability versus absolute positioning accuracy

Conceptual explanation of repeatability and absolute positioning accuracy

Watch on YouTube | MP4

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.

Stock firmware: oscillation during PID tuning

Watch on YouTube | MP4

What changes in control

The host sends targets and settings; each servo plans and controls its own movement.

  1. The host sends targets and settings and computes gravity compensation when configured.
  2. Each servo plans its own S-curve motion.
  3. 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.

Conceptual illustration of s-curve motion

Watch on YouTube | MP4

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.

Conceptual illustration of pid control

Watch on YouTube | MP4

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.

Conceptual illustration of velocity feedforward

Watch on YouTube | MP4

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.

Conceptual illustration of gravity compensation

Watch on YouTube | MP4

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-101 recorded before-and-after comparison

Watch on YouTube | MP4

SO-102: before, then after

SO-102 recorded before-and-after comparison

Watch on YouTube | MP4

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

Complete recorded SO-101 movement

Watch on YouTube | MP4

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

Watch on YouTube | MP4

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.

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-ARM101SO-ARM102
SO-ARM101 robot kitSO-ARM102 robot kit
Buy the SO-ARM101 kit from RobonineBuy 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:

  1. Install the required tools and select the servo port.
  2. Back up motor settings and flash the published custom firmware.
  3. Calibrate joint offsets and travel limits as required for the setup.
  4. Check communication with torque off.
  5. Record poses, preview replay and perform the first motion test.
  6. Enable gravity compensation with a model matching the arm and its calibration.
  7. 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-101 reference pose with six labeled joints

SO-102 reference pose

SO-102 reference pose with six labeled joints

Detailed documentation

The detailed documentation covers configuration, protocols, registers, building and verification. Technical diagrams and relevant video demonstrations appear alongside the corresponding sections.

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.

RepositoryPython
roboninecom/SO-ARM100-101-102-Parallel-Gripper

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.

218
Nov 18, 2026
RepositoryPython
iltlo/feetech_arm_control

ROS 2 MoveIt 2 control for a 6-DoF STS3215 servo robotic arm.

98
Nov 21, 2026
RepositoryRust
ruvnet/RuView

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

105.9k
Dec 2, 2026
RepositoryJavaScript
m3y54m/Embedded-Engineering-Roadmap

Comprehensive roadmap for aspiring Embedded Systems Engineers, featuring a curated list of learning resources

14.0k
Nov 19, 2026
RepositoryC
arendst/Tasmota

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

25.1k
Dec 1, 2026
RepositoryC
DarkFlippers/unleashed-firmware

Flipper Zero Unleashed Firmware

22.9k
Nov 26, 2026
RepositoryC++
MarlinFirmware/Marlin

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.

17.7k
Nov 30, 2026
RepositoryC
flipperdevices/flipperzero-firmware

Flipper Zero firmware source code

17.1k
Nov 27, 2026
RepositoryC++
justcallmekoko/ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32

13.3k
Nov 21, 2026