Skip to the content
2 layers50 × 35 mmM5stack board unitree brushless digital servo, the printed circuit board in 3D

M5stack board unitree brushless digital servo

kim-xps12/m5stack_board_unitree_brushless_digital_servo1

Unitree Servo UART Board for M5Stack: auto-direction 4 Mbps half-duplex TTL bus for Unitree J288 / S288 brushless digital servos (KiCad 9, JLCPCB PCBA)

Size
50 × 35 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
12
Pads
72
Tracks, vias
89, 23
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Oct 2026
Updated
2 Nov 2026

Overview

M5stack board unitree brushless digital servo is an open-source printed circuit board by kim-xps12, from the kim-xps12/m5stack_board_unitree_brushless_digital_servo repository on GitHub, published under the MIT licence. It is a 2-layer board of 50 × 35 mm with 29 parts on 12 nets, routed with 89 tracks and 23 vias.

It is built around the 74LVC1G125, 74LVC1G126Z and 74LVC1G14Z, with the XC6206P332MR, B3B-PH-K-S(LF)(SN) and RB751V-40 among its other parts. Its parts include 7 capacitors, 7 connectors, 4 resistors, 4 ICs and 1 diode. It belongs with the robots and motor control boards of this library.

Main components

8

README

README.md

Unitree Servo UART Board for M5Stack

About

M5Stack (AtomS3R など) から Unitree J288 / S288 ブラシレスデジタルサーボを操作するためのオリジナル基板です.KiCad 9 で設計しました. サーボのバスは 1 本の信号線で送受信する半二重の TTL バス (8N1,4 Mbps) です.この基板は 4 Mbps だけを扱います.サーボのボーレートは,使う前に Unitree の公式ツールで 4 Mbps に変更しておいてください.送信と受信の切り替えは,基板が TX 信号から自動で行います.マイコン側に方向制御用のピンは要りません.ロジックはすべて 3.3 V です. JLCPCB の部品実装 (PCBA) にそのまま発注できるように作っています.

This board connects Unitree J288 / S288 brushless digital servos to an M5Stack controller (e.g. AtomS3R). The servo bus is a single-wire, half-duplex TTL bus (8N1, 4 Mbps). The board supports 4 Mbps only: change the baud rate of the servos to 4 Mbps with the official Unitree tool before use. The board switches between transmit and receive by itself from the TX signal, so the controller needs no direction pin. All logic runs at 3.3 V. The design is ready for JLCPCB assembly (PCBA).

Appearance

3D モデルの表示です (実物の写真ではありません).

3D view

3D view, top

Schematics

Pin assign

コネクタ部品ピン
J2 (M5Stack と接続)Grove,HY2.0-4PRx = 基板からの受信データ (M5Stack の RX へ),Tx = M5Stack の TX から,V = 5 V,G = GND
J1 (サーボ電源)XT30UPB-M+ = BAT (F1 を通ってサーボへ),− = GND
F1 (ヒューズ)ミニ平型ヒューズのホルダー (XFCN XF-508P-B-B)J1 の + とサーボの BAT の間.ヒューズは付属しません
J3〜J7 (サーボ)JST PH 2.0 3 ピン1 = GND,2 = BAT,3 = Signal (サーボ本体のコネクタと同じ番号)
TP1テストパッド送信イネーブル信号 (TXEN) の確認用
  • J2 の並びは M5Stack の PORT.C (黄 = TX,白 = RX) と同じです.ストレートの Grove ケーブルでつなぎます.AtomS3R では G2 が TX,G1 が RX です.
  • J3〜J7 は 5 個とも並列です.サーボ本体のコネクタと同じピン番号なので,サーボに付属の PH 2.0 ケーブル (両端の同じ番号のピン同士がつながるもの) をそのまま挿せます.
  • F1 にはミニ平型ヒューズ (自動車用,32 V) を差します.ヒューズは基板に付いていないので,カー用品店などで用意してください.定格は,つなぐサーボの最大電流の合計の 1.33 倍以上を目安に選びます.J288 を 5 台つなぐなら 15 A,1〜2 台なら 5 A です.J1 の XT30 の定格に合わせ,15 A より大きいヒューズは使わないでください.
  • F1 は基板と電源配線の短絡から守るためのものです.1 つのポートだけに流れる過電流 (PH は 1 ピン 2 A) は防げません.
  • J2 の 5 V で基板のロジック (3.3 V レギュレータ) が動きます.基板から M5Stack へは給電しないので,M5Stack は USB などで別に給電してください.

Specifications

項目値
外形50 × 35 mm (角 R1),M3 取り付け穴 × 4 (40 × 25 mm 間隔)
サーボ電源J1 から入力.Unitree の推奨値は J288 が 25.2 V,S288 が 12.6 V (最低 6.4 V)
ヒューズミニ平型 (Littelfuse MINI 297 / Bussmann ATM 相当,32 V).J288 × 5 台で 15 A.付属しない
入力コンデンサ100 µF 50 V (C7,F1 の後ろ)
ポートの電流1 ピン 2 A (JST PH).全力運転の J288 (最大 1.92 A) は 1 ポートに 1 台まで
通信半二重 TTL,3.3 V,4 Mbps (8N1) のみ.サーボは使う前に公式ツールで 4 Mbps に設定する

Layout

BOM

記号部品値LCSC
U174LVC1G14 (SOT-23-5)シュミットトリガ・インバータC7835
U2XC6206P332MR (SOT-23)3.3 V レギュレータC5446
U374LVC1G126 (SOT-23-5)バスドライバC7834
U474LVC1G125 (SOT-23-5)受信バッファC23654
D1RB751V-40 (SOD-323)ショットキーダイオードC7502691
R1,R2,R3,R4060368k,47,10k,470C23231,C23182,C25804,C23179
C1,C4,C506030.1 µFC14663
C2,C306031 µFC15849
C60603,C0G100 pFC14858
C7電解コンデンサ 6.3 × 7.7 mm100 µF 50 VC3445238
J1XT30UPB-MC428721
F1XFCN XF-508P-B-B (ミニ平型ヒューズのホルダー,絶縁ブロック付き)ヒューズは付属しないC19727305
J2ZX-HY2.0-4PZZC7429580
J3〜J7JST B3B-PH-K-S(LF)(SN)C131339

Example code

サンプルコードは準備中です.AtomS3R では UART を TX = G2,RX = G1 に割り当て,4 Mbps (4,000,000 bps) で通信します.

JLCPCB で製造する

tools/jlcpcb_export.py を KiCad 同梱の Python で実行すると,JLCPCB の部品実装 (PCBA) に使うファイルが production/ (git 管理外) に出力されます.

bash
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 tools/jlcpcb_export.py
  • gerber_jlcpcb.zip: ガーバーとドリル
  • bom_jlcpcb.csv: BOM
  • cpl_jlcpcb.csv: 部品の配置 (JLCPCB のランドパターンに合わせて回転と原点を補正済み)

部品本体はすべて基板端から 2.5 mm 以上離してあるので,Economic PCBA でエッジレールなしで発注できます. JLCPCB の製造能力 (2 層,1 oz) の推奨値は DRC のルールファイル m5stack_board_unitree_brushless_digital_servo.kicad_dru に入れてあり,KiCad の DRC でそのまま確認できます. F1 は BOM ではホルダーとして出力します (コメント「XF-508P-B-B fuse holder (fuse not included)」).ヒューズ本体は JLCPCB では実装しません. KiCad のプラグインや,基板ファイルをそのまま JLCPCB にアップロードする方法は使わないでください.部品ごとの回転と原点の補正が入らず,C7 の極性や J3〜J7 の向きが逆になります. 発注時は,JLCPCB の配置プレビューで部品の向き (D1,IC の 1 番ピン,C7 の極性,コネクタ) を確認してください. J3〜J7 はプレビューで箱として表示されます.箱の左下に 1 番ピンの目印「[」が見え,箱の右にシルクの枠がはみ出していなければ,正しい向きです (逆向きだと箱が 1.1 mm 左にずれます).

To make the files for JLCPCB assembly (Gerber, BOM, CPL), run tools/jlcpcb_export.py with the Python bundled with KiCad (command above). The files are written to production/. Every component body is at least 2.5 mm from the board edge, so Economic PCBA works without edge rails. The DRC rule file holds JLCPCB's recommended values (2 layers, 1 oz). The BOM lists F1 as the fuse holder only; the fuse itself is not assembled. Do not use KiCad plugins or a direct upload of the board file: they miss the per-part rotation and origin corrections (C7 polarity, J3-J7 orientation). Check the placement preview when ordering. J3-J7 show as plain boxes there: they face the right way when the pin-1 mark "[" shows at the lower left of each box and no silkscreen outline sticks out on its right (a reversed connector shifts its box 1.1 mm to the left).

NOTE

J1 (XT30UPB),J2 (HY2.0-4P),F1 (ミニ平型ヒューズのホルダー XFCN XF-508P-B-B) のフットプリントは,プロジェクト内のライブラリ Library.pretty (fp-lib-table に登録済み) にあります. ほかの部品も,KiCad 標準ライブラリのフットプリントをシルクの線幅だけ 0.15 mm に太らせたコピーを Library.pretty に置いて使っています (JLCPCB では 0.15 mm 未満の線や文字が判読できないため).PH コネクタはパッド幅も 1.25 mm に広げています (JLCPCB 推奨のランド幅 0.25 mm). J1,J2,F1 の 3D モデル (STEP) はリポジトリに含めていません.3D ビューアや STEP 出力で表示するには,リポジトリのルートで次のコマンドを実行してください.LCSC の部品 C428721 (J1),C7429580 (J2),C19727305 (F1) の 3D モデルを EasyEDA から取得し,Library.3dshapes/ に保存します (easyeda2kicad 1.0.1 で確認).

bash
pip install easyeda2kicad
easyeda2kicad --3d --lcsc_id C428721 C7429580 C19727305 --output Library

The footprints of J1 (XT30UPB), J2 (HY2.0-4P) and F1 (MINI blade fuse holder XFCN XF-508P-B-B) are in the project library Library.pretty (registered in fp-lib-table). The other parts also use copies of the KiCad library footprints in Library.pretty, changed only in the silkscreen width (0.15 mm), because JLCPCB cannot print legible lines or characters thinner than 0.15 mm. The PH connector copy also has 1.25 mm wide pads (JLCPCB's recommended 0.25 mm annular ring). The 3D models (STEP) of J1, J2 and F1 are not included in this repository. To show them in the 3D viewer or in a STEP export, run the commands above in the repository root. They download the 3D models of LCSC parts C428721 (J1), C7429580 (J2) and C19727305 (F1) from EasyEDA into Library.3dshapes/ (checked with easyeda2kicad 1.0.1).

Disclaimer

MITライセンスでの公開です.本設計において生じた一切の損害等について作者は責任を負いません.予めご了承ください.

This is released under the MIT license. The author is not responsible for any damage caused by this design. Please note.

Parts

29
QtyValueFootprintReferences
5B3B-PH-K-S(LF)(SN)Library:JST_PH_B3B-PH-K_1x03_P2.00mm_VerticalJ3, J4, J5, J6, J7
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3MH1, MH2, MH3, MH4
30.1uLibrary:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C4, C5
21uLibrary:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2, C3
1100pLibrary:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC6
1100u 50VLibrary:CP_Elec_6.3x7.7C7
110kLibrary:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
147Library:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
1470Library:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
168kLibrary:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
174LVC1G125Library:SOT-23-5_HandSolderingU4
174LVC1G126Library:SOT-23-5_HandSolderingU3
174LVC1G14Library:SOT-23-5_HandSolderingU1
1MINI 15ALibrary:Fuseholder_Blade_Mini_XFCN_XF-508P-B-BF1
1RB751V-40Library:D_SOD-323_HandSolderingD1
1TXENLibrary:TestPoint_THTPad_D1.5mm_Drill0.7mmTP1
1XC6206P332MRLibrary:SOT-23U2
1XT30UPB-MLibrary:AMASS_XT30UPB-M_1x02_P5.0mm_VerticalJ1
1ZX-HY2.0-4PZZLibrary:HY2.0-4P_1x04_P2.00mm_VerticalJ2

Similar boards

  • 2 layers65 × 56 mmMowgli PCB, the printed circuit board in 3D

    Mowgli PCB

    tetiti20/Mowgli_PCB

    PI-HAT for mower Mowgli project

    24 parts2GPL-3.0
  • 4 layers64.6 × 55.2 mmWhisker, the printed circuit board in 3D

    Whisker

    HeyPCB/whisker

    Drop-in controller for Petoi's Nybble robot cat running the stock OpenCat firmware: ATmega328P, PCA9685, MPU-6050, USB-C, 3 A buck, protected battery input. 4-layer KiCad 10 board plus printed cradle.

    118 partsCERN-OHL-S-2.0
  • 4 layers29.5 × 16.8 mmPcf8563-breakout, the printed circuit board in 3D

    Pcf8563-breakout

    picafe/sensors-breakout

    Breakout board for variety of useful sensors in a tiny footprint!

    34 parts
  • 2 layers49.5 × 49.5 mmRobot, the printed circuit board in 3D

    Robot

    MultipedRobotics/hexapod-ax-12a

    :robot: Simple hexapod robot using AX-12A servos

    26 parts1MIT
  • 2 layers100 × 56 mmGROchet PCB, the printed circuit board in 3D

    GROchet PCB

    GROchet/GROchet_PCB

    100 parts
  • 2 layers65 × 56 mmPi servo hat, the printed circuit board in 3D

    Pi servo hat

    earthtojake/text-to-cad

    Design physical products with AI

    23 parts26kMIT
  • 2 layers49.5 × 45.7 mmSerial, the printed circuit board in 3D

    Serial

    MultipedRobotics/pyservos

    Python servo library for AX-12 and XL-320 smart servos

    30 parts7MIT
  • 2 layers40 × 40 mmFancyLight V2, the printed circuit board in 3D

    FancyLight V2

    Glebka/FancyLight

    FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button.

    52 parts1

Questions

How big is the M5stack board unitree brushless digital servo PCB?

It measures 50 × 35 mm and has 2 copper layers, 1.6 mm thick.

What parts does the M5stack board unitree brushless digital servo use?

29 parts, built around the 74LVC1G125, 74LVC1G126Z, 74LVC1G14Z and XC6206P332MR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the M5stack board unitree brushless digital servo KiCad files?

From the kim-xps12/m5stack_board_unitree_brushless_digital_servo repository on GitHub, at the commit this page was made from: the board is m5stack_board_unitree_brushless_digital_servo.kicad_pcb and its schematic m5stack_board_unitree_brushless_digital_servo.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the M5stack board unitree brushless digital servo design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).