L103-drv8313-as5600
bjthemost-hub·l103-drv8313-as5600·hardware/L103_CANUSB_DRV8313.kicad_pcb
About the L103-drv8313-as5600 PCB
L103-drv8313-as5600 is an open source WCH CH32/CH55x PCB design by bjthemost-hub, published on GitHub under the MIT license. It is a 2-layer board measuring 49.2 × 49.2 mm, with 68 components from 43 distinct parts.
Its main chip is the CH32L103K8U6, from the WCH CH32/CH55x family. Other key parts include the LMR16006XDDCR, SN65HVD230, AS5600, DRV8313PWP and INA240A2PW. By type, the board carries 25 capacitors, 19 resistors, 7 ICs, 6 diodes, 3 test points and 3 inductors.
It belongs with the robotics & motion designs in this gallery.
From the project
Joint motor driver: CH32L103 + DRV8313 + AS5600. KiCad hardware, FOC firmware, PC tools, 2-stage planetary gearbox (J, 25:1). MIT.
CH32L103 主控 + DRV8313 三相驱动 + AS5600 磁编码器的关节电机驱动板,跑 FOC 的固件、 调参用的上位机,以及配套的两级行星减速机(J 版,25:1)。
上位机是独立仓库:l103-servo-gui(同一套 GUI 也支持 DRV8316C 板)。
设计值(出处:firmware/User/board.h 顶部的网表核对注释,2026-09-18 核过一遍):
hardware/gerber/ 里是可直接下单的 Gerber。原理图导出件见 hardware/L103CANUSBDRV8313.pdf 和 hardware/docs/ 里的 PNG/SVG。
- 控制:PWM 20 kHz;开环由 3 kHz 中断推进电角度(focmotor.c DRIVEISRFREQHZ), 闭环在主循环里跑(要读编码器,不适合塞进中断)。 - 反馈:AS5600 走 I2C1,12 位原始角,固件里做多圈累加与速度估计。 - 参数:极对数 / 堵转阈值 / 母线电压等存在 Flash 配置页,上电读回;读不到就用编译默认值。 默认电机 HT4310、14 极对(board.h MOTORPOLEPAIRS)。 - 通信:CAN 1 Mbps(节点 1–63)或串口 115200,两套命令等价。完整命令表见…

Main components on the L103-drv8313-as5600
L103-drv8313-as5600 bill of materials (BOM)
68 components, 43 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LMR16006XDDCR TI(德州仪器) | SOT-23-6 | U2 |
| 1 | CH32L103K8U6 | QFN-32-1EP_4x4mm_P0.4mm_EP2.65x2.65mm | U3 |
| 1 | SN65HVD230 | SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | AS5600 | SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | DRV8313PWP | HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP2.85x5.4mm_ThermalVias | U6 |
| 2 | INA240A2PW | TSSOP-8_4.4x3mm_P0.65mm | U8, U10 |
| 1 | Si2319CDS | SOT-23 | Q1 |
| 1 | 1.27 | PinHeader_1x04_P1.27mm_Vertical | J1 |
| 1 | XT30PW(2+2)-M.G.B XT30PW(2+2)-M AMASS(艾迈斯) | CONN-TH_4P-XT30PW-M | J2 |
| 1 | SMD1812P300SLR/24/3A | L_1812_4532Metric | F1 |
| 1 | 10K | Potentiometer_Alps_RK09K_Single_Vertical | RV1 |
| 1 | MOT_U | TestPoint_Loop_D2.50mm_Drill1.0mm | TP28 |
| 1 | V | TestPoint_Loop_D2.50mm_Drill1.0mm | TP29 |
| 1 | W | TestPoint_Loop_D2.50mm_Drill1.0mm | TP30 |
| 1 | LED绿 | LED_0603_GREEN | D1 |
| 1 | LED红 | LED_0603_RED | D2 |
| 1 | SS16 | D_SMA | D3 |
| 1 | LED_RED | LED_0603_1608Metric | D4 |
| 1 | BZT52C10-TP | BZT52C16S | D5 |
| 1 | SMBJ28A | D_SMB | D6 |
Show 23 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 600R | L_0805_2012Metric | FB2 |
| 1 | 600R | L_0603_1608Metric | FB3 |
| 1 | ANR4030T470M APV(爱普微) | L_APV_ANR4030 | L2 |
| 4 | 100n | C_0603_1608Metric | C2, C13, C15, C28 |
| 3 | 10uF | C_0603_1608Metric | C3, C11, C12 |
| 1 | 22uF35v | C_0805_2012Metric | C4 |
| 1 | 47uF/35V | C_1206_3216Metric | C5 |
| 1 | 47uF/100V | C_2220_5750Metric | C6 |
| 1 | 0.47uF | C_0603_1608Metric | C10 |
| 1 | 22uF/35v | C_0805_2012Metric | C14 |
| 9 | 100nF | C_0603_1608Metric | C16, C17, C18, C19, C21, C22, C23, C25 +1 |
| 1 | 1Uf | C_0603_1608Metric | C20 |
| 1 | 10uF/63V | C_0805_2012Metric | C24 |
| 2 | 22uF/10V | C_0805_2012Metric | C26, C27 |
| 3 | 4.7k | R_0603_1608Metric | R1, R3, R4 |
| 5 | 10k | R_0603_1608Metric | R2, R5, R6, R7, R25 |
| 2 | 100K | R_0603_1608Metric | R9, R15 |
| 1 | 30K1 | R_0603_1608Metric | R10 |
| 1 | 22K | R_0603_1608Metric | R11 |
| 1 | 120R | R_0805_2012Metric | R12 |
| 2 | 22 | R_0603_1608Metric | R14, R16 |
| 2 | 860 | R_0603_1608Metric | R17, R21 |
| 2 | 10mR | R_0805_2012Metric | R19, R20 |
L103-drv8313-as5600 design files
The KiCad project lives in the bjthemost-hub/l103-drv8313-as5600 repository on GitHub; these links point at the commit this page was built from.
L103-drv8313-as5600: common questions
What microcontroller does the L103-drv8313-as5600 use?
The L103-drv8313-as5600 is built around the CH32L103K8U6, from the WCH CH32/CH55x family.
How big is the L103-drv8313-as5600 PCB?
The L103-drv8313-as5600 measures 49.2 × 49.2 mm, has 2 copper layers and is 1.60004 mm thick.
How many components are on the L103-drv8313-as5600?
68 components, from 43 distinct parts. The full bill of materials is listed on this page.
Where can I download the L103-drv8313-as5600 design files?
From the bjthemost-hub/l103-drv8313-as5600 repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the L103-drv8313-as5600 design in my own project?
Yes, under the terms of its MIT license, which bjthemost-hub chose for the repository.
Can I test firmware for the L103-drv8313-as5600 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug WCH CH32/CH55x firmware against it before you order a PCB.
Similar boards
WCH CH32/CH55x
Ps2usb
rasteri
40 × 55 mm25 parts2LNo license428WCH CH32/CH55x
CH32X-48
rgoulter
224.6 × 74.2 mm112 parts2LNo license230WCH CH32/CH55x
CH552-48
rgoulter
224.6 × 74.2 mm107 parts2LNo license230WCH CH32/CH55x
CH32X-75
rgoulter
285 × 94.2 mm318 parts2LNo license230WCH CH32/CH55x
CH32X-60-ANSI-Improved
rgoulter
285 × 94.2 mm149 parts2LNo license230WCH CH32/CH55x
Webusb programmer rev6
laneboysrc
38 × 20 mm18 parts2LMIT87