top of page
cheat_pages1-2-4-1_800dpi.png

WIP - SO-101 LX: Porting the LeRobot Arm to LX-16A Servos

Writer: Maysarah Sukkar
Maysarah Sukkar
Oct 11
2 min read

Porting the LeRobot arm to LX-16A servos

The SO-101 is one of the most popular open-source robot arms in learning-based robotics. It’s cheap, printable, and built to work with Hugging Face’s LeRobot framework. It’s also designed around one specific servo, the Feetech STS3215. I had a box of Hiwonder LX-16As on my bench and a simple question: could I build the arm around them instead, with no mechanical redesign?



A mechanical drop-in, a software rewrite

The hardware was the easy part. The LX-16A shares the STS3215’s footprint exactly, so it seats straight into the stock printed parts without a single CAD change. The servos themselves are a different story. They have a 240° range instead of 360°, coarser potentiometer feedback (0.24° per tick against a 12-bit magnetic encoder), and an entirely different bus protocol that LeRobot doesn’t support.


To bridge that gap, I wrote a custom LeRobot plugin, lerobot_robot_so101_lx16a, built on the PyLX-16A library. I also built a calibration tool that walks you through sweeping each joint by hand to find its limits and midpoint, then saves the result in LeRobot’s standard format. Once both were in place, the arm talks to LeRobot like any stock build.


Simulation and system identification

I built a MuJoCo model of the arm, starting from TheRobotStudio’s SO-ARM100 meshes, and gave it LX-16A-specific torque and speed limits. Instead of trusting the datasheet, I recorded step responses on the real arm and wrote a system identification pipeline. It fits damping, friction, armature, gain and delay for each joint. A separate sim-to-real tool scores the fitted model against the datasheet model on held-out trajectories, so I can measure how closely the simulation tracks reality instead of guessing.


Motion and teleoperation

The arm moves on synchronized trapezoidal and jerk-limited S-curve profiles. Every joint starts and finishes together, and each move is checked in simulation for torque headroom before it runs on hardware. For hands-on control, I built a DualSense gamepad teleop system with four modes (Cartesian, cylindrical, tool frame and joint space) that you switch between on the bumpers.



What I learned

Getting smooth motion out of hobby bus servos took more iteration than I expected. Holding still caused jitter, which a deadband fixed. Compound moves stuttered at the end until I matched the servo’s internal interpolation time to a fixed command cadence. The biggest remaining gap is on the gravity-loaded shoulder and elbow, where sim and reality still differ by about 3–5° RMS even after fitting.


What’s next

Closing that gap is the next step. The plan is to run the LX-16As in motor mode, bypassing their internal position loop, and tune a custom controller using Rhoban’s BAM actuator models.


Built with LX-16A bus servos, 3D-printed parts, Python, LeRobot and MuJoCo.Code: github.com/Miso-Su/so101-lx16a

Comments


bottom of page