

Roly power io
Roly — 50cm 双轮自平衡 AI 陪伴机器人 · 开源全栈(PCB/CAD/固件/ROS2/平衡控制/感知/表情),从零端到端
- Size
- 130 × 100 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 60
- Nets
- 33
- Pads
- 183
- Tracks, vias
- 641, 59
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 22 Jun 2026
- Updated
- 22 Jun 2026
Overview
Roly power io is an open-source printed circuit board by szf2020, from the szf2020/Roly repository on GitHub. It is a 2-layer board of 130 × 100 mm with 60 parts on 33 nets, routed with 641 tracks and 59 vias.
It is built around the SN65HVD230D, MMBT3904 and SMAJ33A, with the WS2812B among its other parts. Its parts include 17 resistors, 16 connectors, 13 capacitors, 6 diodes and 2 ICs. It belongs with the STM32 boards of this library.
Main components
4SN65HVD230D
SOIC-8-40℃~+85℃ 1 17mA 1Mbps 370uA 3V~3.6V CAN Transceiver Low-power mode、Wake-up function、ESD protection、Thermal shutdown protection、Bus fault protection、Hot-swap protection SOIC-8 CAN Transceivers ROHSTexas InstrumentsCAN TransceiversMMBT3904
SOT-23-55℃~+150℃ 1 NPN 100 100nA 200mA 200mW 300MHz 300mV 40V 6V NPN SOT-23 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)SMAJ33A
SMA-65℃~+150℃ 1uA 33V 40.6V 400W@10/1000us 53.3V 7.5A@10/1000us TVS SMA ESD and Surge Protection (TVS/ESD) ROHSShandong Jingdao MicroelectronicsESD And Surge Protection (TVS/ESD)WS2812B
5mm X 5mm Surface Mount RGB LED with Intelligent ControlWorldsemiUncategorised
README
hardware/roly-power-io/README.mdS2 配电/互联板 — 无头生成流水线
全程代码生成 + 命令行(无 GUI 点选),可复现。原理图 → 布局 → 布线 → Gerber。
流程
roly_power_io.py (skidl: Python 描述原理图 → netlist + ERC)
│ kinet2pcb
▼
*.kicad_pcb (netlist → 空板带封装)
│ place_board.py (pcbnew API: 130×100 板框 + 按值布局元件)
▼
布局后 .kicad_pcb
│ dsn_power_class.py (导出 DSN + 注入 power netclass 1.5mm)
▼
*.dsn (Specctra)
│ Freerouting 1.9.0 (自动布线)
▼
*.ses (布线结果)
│ route_import.py (导入 SES + GND/VBAT 双面覆铜)
▼
布线后 .kicad_pcb
│ kicad-cli pcb drc / export gerbers,drill,pos
▼
gerber/ + roly-power-io-gerber.zip (嘉立创可上传;DFM 待跑)复现命令
# 依赖:KiCad 10 + pip install skidl kinet2pcb · Freerouting 1.9.0(Java 17)
KISYSMOD=... python3 roly_power_io.py # 原理图 + ERC(0 错)
python3 -m kinet2pcb --nets roly_power_io.net -o roly_power_io.kicad_pcb
python3 place_board.py # 布局
python3 dsn_power_class.py # 导出 DSN(功率类 1.5mm)
java -jar freerouting-1.9.0.jar -de roly.dsn -do roly.ses -mp 100
python3 route_import.py # 导入布线 + 覆铜
kicad-cli pcb drc roly_power_io.kicad_pcb # 0 unconnected
kicad-cli pcb export gerbers -o gerber/ roly_power_io.kicad_pcb关键设计点
- 45A VBAT/GND 不走线,走整面覆铜(IPC-2221:45A@2oz 需 28.8mm 线宽 → 不现实)。见 功率/热分析。
- 无有源反接保护(LTC4359 在审计中发现会上电死锁)→ keyed XT60 + 外部保险/急停。见 审计。
- 接线/引脚定义见 接线速查;电流/续航见
power_budget.py。
状态
ERC 0 错 · DRC 0 unconnected(库/丝印 warnings 豁免)· Gerber 已导出。JLCPCB DFM 待实物下单时跑通存档(审计退出条件 ⑥)——在此之前不称"可下单"。
Parts
60| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 4.7k | Resistor_SMD:R_0603_1608Metric | R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14 |
| 4 | 100n | Capacitor_SMD:C_0603_1608Metric | C9, C10, C12, C13 |
| 4 | 1uF/50V | Capacitor_SMD:C_0805_2012Metric | C3, C4, C5, C6 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric | C7, C8, C11 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R2, R17 |
| 2 | 470uF/35V | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1, C2 |
| 2 | CAN ESD 24V | Diode_SMD:D_SOD-323 | D2, D3 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 120 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 1N4148 | Diode_SMD:D_SOD-323 | D6 |
| 1 | 1N4148(降 VDD~4.4V 配 3.3V DIN) | Diode_SMD:D_SOD-323 | D4 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | Buzzer 5V | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | H1 | MountingHole:MountingHole_3.2mm_M3 | H1 |
| 1 | H2 | MountingHole:MountingHole_3.2mm_M3 | H2 |
| 1 | H3 | MountingHole:MountingHole_3.2mm_M3 | H3 |
| 1 | H4 | MountingHole:MountingHole_3.2mm_M3 | H4 |
| 1 | J_BAT XT60(经开关/急停/保险) | Connector_AMASS:AMASS_XT60-F_1x02_P7.20mm_Vertical | J1 |
| 1 | J_BUCK12 22V->12V/15A | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-04P_1x04_P5.00mm | J4 |
| 1 | J_BUCK33 22V->3V3/1A | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | J_BUCK5 22V->5V/6A | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-04P_1x04_P5.00mm | J5 |
| 1 | J_CAN ->C620 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J9 |
| 1 | J_IMU ICM-42688 | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J15 |
| 1 | J_M1 C620-1 | Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_Vertical | J2 |
| 1 | J_M2 C620-2 | Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_Vertical | J3 |
| 1 | J_MCU ->STM32G474 | Connector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_Vertical | J16 |
| 1 | J_SBC 5V->Rock5B+ | Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_Vertical | J8 |
| 1 | J_SERVO 12V->舵机适配器 | Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_Vertical | J7 |
| 1 | J_TOF1 VL53L1X | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J10 |
| 1 | J_TOF2 VL53L1X | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J11 |
| 1 | J_TOF3 VL53L1X | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J12 |
| 1 | J_TOF4 VL53L1X | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J13 |
| 1 | J_TOF5 VL53L1X | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J14 |
| 1 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | SMAJ33A | Diode_SMD:D_SMA | D1 |
| 1 | SN65HVD230 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | TCA9548APWR | Package_SO:TSSOP-24_4.4x7.8mm_P0.65mm | U2 |
| 1 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D5 |
Questions
How big is the Roly power io PCB?
It measures 130 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Roly power io use?
60 parts, built around the SN65HVD230D, MMBT3904, SMAJ33A and WS2812B. 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 Roly power io KiCad files?
From the szf2020/Roly repository on GitHub, at the commit this page was made from: the board is hardware/roly-power-io/roly_power_io.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Roly power io design in my own project?
Its repository states no licence, so its author keeps all rights: ask szf2020 before reusing the design.
Similar boards
- 2 layers155 × 78 mm

- 4 layers140 × 70 mm

Rcm
Twistiee/rcm
A CAN-controlled relay driver for a car. 21 universal channels, each of which is simultaneously a low-side output and an input — so the same board builds as a relay controller or as a switch panel, decided in firmware…
159 parts - 4 layers50 × 50 mm

Therm
ControlSystemIntegrators/Therm_temp_4_20_xmtr
Fully analog 2-wire 4-20 mA NTC thermistor temperature transmitter, built from multi-sourced parts — plus an instrumentation-theory tutorial. Default build: 20-40 C for chocolate temperature control.
45 partsMIT - 4 layers50 × 50 mm

LFX FC R2
nguyencanhanh/luckfox-rv1103-drone
AI quadcopter on one RV1103 (Luckfox Pico Mini B): Linux + RISC-V MCU flight loop, SITL with 3D pilot view, KiCad flight-controller board
142 partsMIT - 4 layers180 × 120 mm

MG ZS V2
damienmaguire/MG-EV-Inverter
Reverse engineering of the drive motor and inverter used in MG Electric Vehicles
177 parts17GPL-3.0 - 2 layers74 × 32 mm

- 4 layers100 × 90.1 mm

MoBo V2-1
robotique-udes/Exo_Electric
This repo contains all the information about the PCB and electrical schematics of Biogenius.
99 parts1GPL-2.0 - 2 layers95 × 82 mm

Orc
aramder/orc
Open replacement controller board for surplus Motorola PMUN1046A relay boxes: ESP32-C3, CANopen control, 10 x 15 A channels. Independent project, not affiliated with Motorola Solutions.
85 parts