OpenServoCore status update, November 2026
Last Thanksgiving night the house got quiet, so I opened KiCad and drew a little IR sensor board for reading the motor. A year later it’s Thanksgiving again, and it feels like a good time to write down where OpenServoCore is at. This one is short, I promise. The last few posts were long enough.
If you’re new here, OpenServoCore is my effort to turn cheap MG90S-class servos into networked smart actuators with sensor feedback, cascade control, and its own single-wire bus protocol.
The Motor Sensor
First the bad news for anyone waiting on that sensor board. There’s still no sensor on the motor. I’m still researching it.
The idea has moved on a bit since last year. The motor sensor will be an add-on flex PCB, with a pair of IR sensors reading a pattern on a disc that sits on, plausibly, the pinion gear…? That’s probably the only place it can actually fit on an MG90, but we will see… The sensors are the easy part. Getting the encoder disc into a servo case that was never designed for one, at the right gap, and keeping it there, is a big headache. So when it does show up, don’t expect 0.04 degree accuracy lol.
Boards
The dev board is on rev 2C now, with upgraded current sensing. It’s fabricated and being shipped to me as I write this.
Rev 2D is in design, and the goal of that one is cost. Getting these boards fabricated and assembled at JLCPCB adds up fast, so rev 2D goes after the two biggest items:
- 4 layers instead of 6.
- No more precision parts. Regular parts from JLC’s basic library instead, and as many basic parts as I can use. Don’t worry, the overall precision stays the same. Every non-basic part costs an extra setup fee at assembly, so this adds up quicker than you’d think.
If rev 2D comes back fine, it will probably be the final version of the dev board.
The SG90 / MG90 swap board is still in design too. It’s the board that goes inside a stock servo in place of the original electronics, and it gets the same cost savings as rev 2D. I’m keeping the connector for the motor sensor flex board on it, so I can test the sensor later. One warning though. The IR sensors run off the board’s little regulator, and on a 2S battery that regulator has a lot more voltage to burn off as heat. So don’t expect the motor sensor to work with 2S batteries. 5V or 1S might be okay.
Firmware
The firmware is developed and working well. A lot of it is hackery to squeeze more precision out of cheap parts. The work from the earlier posts is all in:
- The ADC missing codes are compensated, and the pot reading goes through a position table that straightens it out. Both of these are there to make the position more precise.
- Speed comes from a blend estimator that mixes the speed from the pot with the speed from back-EMF.
Servo Identification and Tuning
Over the past two months I did a lot of experiments characterizing the board, the motor and the gear train of an MG90 servo. All of it is in the notebooks repo. Those notebooks then became the methods for identifying a servo, and the basis for the firmware’s control loops, including a bunch of different compensation techniques. If you want the details, they’re in control-theory.md. The posts on brush contact resistance and winding temperature came out of this work too.
Also, a big shout out to Claude here. I’m a hobbyist, not a control theory pro, and a lot of this part was built together with AI. The control loops, the experiments, and the more complicated compensation techniques especially. A hobbyist with a bench, a pile of $2 servos and a good AI partner can now go places that used to need a team of specialists, and honestly that’s pretty awesome. Sometimes I was genuinely shell shocked at what frontier models like Fable 5 can do.
Web Interface
osc-web is the new piece. It’s a web UI to run a servo identification, watch servo telemetry live, and tune and play with it while it runs. Under the hood it uses WebUSB to talk to the osc-adapter, which drives the servo bus, so you can tune and drive several servos from the same page. Basically it’s the UI version of the osc-bus and osc-ident command line tools. WebUSB only exists in Chromium-based browsers, so you’ll need Chrome or one of its cousins for now.
What’s Left
There are still lots of small things to finish:
- The web UI needs more refinement. Usability isn’t great yet.
- The docs are VERY outdated, and they really need a rewrite.
- Small issues in identification and the firmware need to be ironed out.
But it’s getting close.
I’m sure you have a lot of questions. Post them in the discussions, I check there and I’ll answer them. And come back here once in a while to see how things are going, there will be more updates.
For the fearless, everything is on GitHub, so go explore. With the docs this outdated, an AI agent can help tremendously. Point it at the repos and ask it whatever you want to know.
Happy Thanksgiving!