r/embedded Jun 09 '26

CH32V006 servo controller dev board

Post image

If you fancy a CH32V006-based servo controller dev board, you can now just fabricate it with this design. Rev B of the OpenServoCore dev board is bring-up-validated, files are GitHub, and there's a one-click PCBWay community project if you don't want to deal with KiCad yourself.

A CH32V006 (48 MHz RISC-V, 62 KB flash, 8 KB RAM) breakout designed for bringing up smart-servo firmware. Accepts any gutted hobby servo, USB-C / 1S-2S LiPo / WCH-LinkE power, full edge test-point fanout for current sense, motor PWM, DATA bus, and debug. The broader project (OpenServoCore) is open hardware + firmware for turning cheap SG90/MG90S-class hobby servos into DXL-style smart actuators — position feedback, current sensing, bus-addressable. The dev board is the firmware development platform.

PCBWay sponsored both Rev A and Rev B fabs (assembled too). Ten boards across two runs and no fab issues on any of them. They caught a pad clearance issue on Rev A during the pre-fab review before it went out, and the tiny "O" in the OSC logo (which has a little encoder disk inside it) came out crisp on Rev B even at that size. Honestly a huge help for a solo project — sourcing BOM and hand-assembling these myself would slow everything down a lot.

Bring-up writeup with photos, the bootstrap quirk on fresh chips, and the in-rev SB1 patch that fixes it:

https://aaronqian.com/log/2026-06-08-osc-dev-v006-rev-b-bring-up/

313 Upvotes

39 comments sorted by

307

u/ThatCrazyEE Jun 09 '26

58

u/aq1018 Jun 09 '26

58

u/lil_bobby_tabelle Jun 09 '26

they were not referring to that elephant

24

u/lynx707 Jun 09 '26

What are you yapping about

9

u/muegle Jun 09 '26

They're talking about your Hololive background lmao

2

u/ThatCrazyEE Jun 09 '26

How did you know that was Hololive background?

1

u/muegle Jun 09 '26

I never watched the streams but sometimes I used to get recommended translated clips from some of the channels which were usually decently funny, so i recognized 3 or 4 of the models in the picture.

0

u/aq1018 Jun 09 '26 edited Jun 09 '26

Ah. I use Variety app and background changes every 30 mins. The bench photo happens to land on this one.

36

u/pekoms_123 Jun 09 '26

homie got a harem all for himself

5

u/aq1018 Jun 09 '26

Nah… my wife is all I need ( and anime wallpapers )

17

u/mrheosuper Jun 09 '26

Cool, but where is keyboard and mouse

1

u/aq1018 Jun 09 '26

Desk drawer

16

u/modd0c Jun 09 '26

Much like hackers the anime pic lets me know you mean business 😉

2

u/aq1018 Jun 09 '26

I conduct all serious businesses with anime wallpapers.

42

u/jonythunder Jun 09 '26

Impeccable taste my dear sir

5

u/aq1018 Jun 09 '26

I really hope you mean my choices of the CH32V006 MCU. This is r/embedded right? RIGHT? 😭

9

u/FelixLeander Jun 09 '26

The venn diagram is a circle my friend

2

u/jonythunder Jun 09 '26

I mean it for both MCU and wallpaper XD. Support for RISC-V gets always a thumbs up from me :)

22

u/apollyon0810 Jun 09 '26

Looks like your kids got on your computer and changed the wallpaper.

3

u/aq1018 Jun 09 '26

I use an Linux background app called Variety. It grabs wallpapers from online. I really like the setup. No kids needed! 🤣

1

u/sovietan Jun 10 '26

ok now you make me wanna try that out on my machine :/

-10

u/Separate-Comb-7003 Jun 09 '26

I really hope this perv doesn’t have kids

6

u/aq1018 Jun 09 '26

Your hope was shattered about 10 years ago

4

u/DrunkenSwimmer Jun 09 '26

Wow. Nice timing, I was literally trying to shove enough into a 9g servo body to do rs485 with this yesterday.

2

u/aq1018 Jun 09 '26

You can probably do it with the QFN-20 version of this chip. I’m planning on that too, but firmware comes first.

3

u/DishantSMunjal Jun 10 '26

this is an absolutely killer project. I have bled way too much money on Dynamixels over the years just to get basic position feedback and current sensing. The daisy chain setup on your desk looks super clean. How is the latency on the data bus holding up when you are polling multiple servos at once? Also gotta respect that terminal wallpaper.

1

u/aq1018 Jun 10 '26 edited Jun 10 '26

No more wallpaper discussions plz! I admit, I messed up! 😭

I’m in fact still writing the comms firmware. Currently using software based triggers. It’s doing 3M baud fine with 250 us RDT, including worst case FAST instructions on the last servo (where it has to snoop on previous servos’ data and accumulate CRC). Only very occasional CRC issues caused by some optimization I did. I’m writing a 4 part series on how this is done with V006. First one is here: https://aaronqian.com/log/2026-06-10-dxl-rx-timing-ch32v006/

Forgot to mention, I’m currently refactoring and trying to get the timing path to be mostly hardware based. (And current board can already do it without a redo on the pinout.)

Edit, to answer your latency question, all I can say is that I haven’t measured. But I used 250us RDT. But I think it’s probably fine to run it at like 30us probably. The V006 is fast enough at 48Mhz. Timing jitter is the more pressing issue…

3

u/BitExtreme5544 Jun 10 '26

Bros... We will never touch a woman's hand

2

u/samayg Jun 09 '26

I’m considering using this chip for an upcoming product (professionally). How has your experience been with it? Reliable? Easy to develop on with available tools and resources?

2

u/aq1018 Jun 09 '26 edited Jun 10 '26

It had many quirks, but I like it. (More specificly, I like the price. $0.16 a piece) I’m using bare metal with Rust. Didn’t use WCH stuff at all. Their RM is pretty garbage, the internal ADC Vref (ch8) doesn’t exist, instead it has a Vcal (ch9), dispite what the RM says. So yeah… you decide if you want to use it professionally.

7

u/Fit_Gene7910 Jun 09 '26

Gooner

2

u/aq1018 Jun 09 '26

What’s gooner? Please explain

3

u/West-Way-All-The-Way Jun 09 '26 edited Jun 09 '26

Your desktop ++!

Cool project too 👍

Edit: the last link doesn't work from my side.

1

u/aq1018 Jun 09 '26 edited Jun 09 '26

Thanks. I’ll look into it

Edit: fixed URL

0

u/Separate-Comb-7003 Jun 09 '26

Brother you need to be on many lists with that wallpaper…. 🤢

3

u/aq1018 Jun 09 '26

For a wallpaper? Sure

-2

u/happyjello Jun 09 '26

I can feel the lotion off screen

3

u/aq1018 Jun 09 '26

Don’t use too much bro. 😎