Skip to the content
4 layers196.5 × 100 mmDonkeyDrift MUS4, the printed circuit board in 3D

DonkeyDrift MUS4

DonkeyDrift/Hardware

Hardware for DonkeyDrifter

Size
196.5 × 100 mm
Copper layers
4
Thickness
0.8 mm
Parts
263
Nets
212
Pads
1,249
Tracks, vias
2,116, 867
Pours
37
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Jun 2026
Updated
5 Jul 2026

Overview

DonkeyDrift MUS4 is an open-source printed circuit board by DonkeyDrift, from the DonkeyDrift/Hardware repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 196.5 × 100 mm with 263 parts on 212 nets, routed with 2,116 tracks and 867 vias.

It is built around the ESP32-WROOM-32E-N4, CC6900SO-5A and CH224K, with the CH342F, MP8756GD-Z and ASAA826-E8SB0-7H among its other parts. Its parts include 95 capacitors, 60 resistors, 23 diodes, 11 transistors and 8 ICs. It belongs with the ESP32 boards of this library.

Main components

12

README

README.md

MUS4 硬件设计 - v1.0.0

一台能跑神经网络的小车,一个能上手的自动驾驶课堂。

MUS4 面向 AI 极客、RC 车手与教育工作者,基于 DonkeyCar / 漂移驴车开源生态打造,融合 LattePanda MU 上位机算力与 ESP32 下位机控制,以纯视觉感知、云端模型训练与一键部署,让每个人都能快速搭建属于自己的端到端自动驾驶小车。


项目概述

这是 MUS4 自动驾驶小车的硬件设计仓库,包含 KiCad 格式的原理图和 PCB 布局文件。

硬件特性

  • LattePanda MU 主控接口:支持上位机算力模块
  • ESP32 下位机驱动电路:实时底层运动控制
  • 摄像头、电机、舵机、传感器接口:丰富的外设扩展
  • 电源管理与电池监测电路:安全可靠的供电系统
  • 通信接口:USB / 串口 / I2C / PWM
  • 支持直接导出 Gerber 生产文件:方便 PCB 打样

设计文件

文件名描述
DonkeyDrift-MUS4.kicad_proKiCad 项目文件
DonkeyDrift-MUS4.kicad_sch原理图文件
DonkeyDrift-MUS4.kicad_pcbPCB 布局文件
Controller.kicad_sch控制器子原理图
ESP32.kicad_schESP32 子原理图
HDMI.kicad_schHDMI 接口子原理图
Interface.kicad_sch接口子原理图
LattePanda Module.kicad_schLattePanda 模块子原理图
M.2 E&M Key.kicad_schM.2 接口子原理图
PSU.kicad_sch电源子原理图
USB2.0&USB3.0.kicad_schUSB 接口子原理图

目录结构

text
Hardware/
├── BOM/              # 物料清单文件夹
├── Drill/            # 钻孔文件文件夹
├── Gerber/           # Gerber 生产文件文件夹
├── Layout/           # PCB 布局图片文件夹
├── kicad_api_libs/   # KiCad 库文件
└── [主设计文件]      # KiCad 项目、原理图、PCB 文件

为什么选择 MUS4

  • 纯视觉端到端架构:无需激光雷达、高精地图等昂贵传感器,仅凭摄像头即可完成感知与决策
  • 双核协同,分工明确:LattePanda MU(Ubuntu + Python)负责图像感知与模型推理,ESP32(Arduino C++)负责实时底层运动控制
  • 一站式硬件平台:自研 PCB 板打通上下位机通信,无需从零焊接飞线
  • 全栈开源,社区共建:硬件设计、软件代码、训练模型全面开源

快速开始

1. 查看设计文件

使用 KiCad 10.0 或更高版本打开项目文件:

bash
# 克隆仓库
git clone <your-repo-url>
cd Hardware

# 用 KiCad 打开项目
kiCad DonkeyDrift-MUS4.kicad_pro

2. 导出 Gerber 文件

  1. 在 KiCad PCB Editor 中打开 DonkeyDrift-MUS4.kicad_pcb
  2. 点击 File → Plot
  3. 选择输出格式为 Gerber
  4. 配置各层输出设置
  5. 点击 Plot 生成 Gerber 文件
  6. 生成钻孔文件:File → Fabrication Outputs → Drill Files

3. 查看 BOM

物料清单位于 BOM/ 文件夹中。

4. 生产文件

  • Gerber 文件已导出到 Gerber/ 文件夹
  • 钻孔文件已导出到 Drill/ 文件夹

项目架构

MUS4 硬件系统采用上下位机架构:

text
┌─────────────────────────────────────────┐
│         LattePanda MU (上位机)          │
│  - Ubuntu Linux                         │
│  - Python / OpenCV / TensorFlow         │
│  - 图像采集与模型推理                   │
└──────────────┬──────────────────────────┘
               │ USB/串口通信
┌──────────────▼──────────────────────────┐
│         ESP32 (下位机)                  │
│  - Arduino C++                          │
│  - 实时运动控制                         │
│  - 电机/舵机驱动                        │
│  - 传感器读取                           │
└──────────────┬──────────────────────────┘
               │
┌──────────────▼──────────────────────────┐
│         外设接口                         │
│  - 摄像头                               │
│  - 电机 / 舵机                          │
│  - 电池管理                             │
│  - 其他传感器                           │
└─────────────────────────────────────────┘

相关资源


一台小车,七种能力

MUS4 不仅是一台自动驾驶小车,更是一套全栈式的学习平台:

  • Linux 操作系统:系统管理、环境配置、服务部署
  • Python 编程:图像处理、数据采集、模型推理
  • 神经网络与机器学习:端到端自动驾驶模型训练
  • 计算机视觉:OpenCV 图像处理、车道线识别
  • 单片机与嵌入式开发:ESP32 编程、Arduino C++
  • 多协议处理:USB、串口、I2C、PWM 等硬件协议
  • RC 赛车技术:车架结构、电机调校、转向微调

开源协议

本项目采用 Apache License 2.0 开源协议。


社区与贡献

漂移驴车社区邀请所有热爱技术、勇于创新的你加入!


因为热爱,所以极致。

漂移驴车社区,与您一同驶向智能车的未来!

Parts

263
QtyValueFootprintReferences
3150V/100nfDonkeyCar:C-0402C2, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27, C28, C29, C33 +15
1925V/47ufDonkeyCar:C-1210C80, C81, C82, C83, C85, C86, C87, C88, C89, C90, C91, C92, C93, C94, C95, C96 +3
1250V/220nfDonkeyCar:C-0402C34, C35, C36, C37, C38, C39, C49, C50, C55, C56, C62, C64
1110V/1ufDonkeyCar:C-0402C3, C5, C6, C9, C44, C51, C52, C53, C57, C58, C78
1116V/22ufDonkeyCar:C-0805C30, C31, C32, C41, C68, C69, C70, C71, C73, C74, C75
9470RDonkeyCar:R-0402R7, R8, R9, R10, R13, R14, R16, R17, R56
9AO3400ADonkeyCar:SOT-23-3Q1, Q2, Q3, Q4, Q10, Q11, Q15, Q17, Q18
82.2KDonkeyCar:R-0402R3, R5, R12, R15, R18, R19, R21, R23
8FiducialDonkeyCar:铜柱FID1, FID2, FID3, FID4, FID5, FID6, FID7, FID8
610KDonkeyCar:R-0402R_BS, R34, R35, R78, R79, R81
5Conn_01x04_SocketDonkeyCar:GH1.25-立-4PEX_UART, IIC_3V3, IIC_5V, J1, J4
5NCDonkeyCar:R-0402R28, R47, R49, R64, R66
40RDonkeyCar:R-0402R27, R29, R32, R33
4100KDonkeyCar:R-0402R54, R59, R76, R77
43.3KDonkeyCar:R-0402R38, R39, R82, R83
4Conn_01x03_SocketDonkeyCar:J-2.54-1X3CH1_ST, CH2_TH, PWM_1, PWM_2
4ESD-5V0B03DonkeyCar:SOD-323D41, D42, D43, D44
4ESD5V0B03DonkeyCar:SOD-323D1, D3, D13, D14
4SL54Bc167b71becf44403bc24886c573a5209D51, D52, D53, D54
4SP0503BAHTDonkeyCar:SOT-143D12, ESD3, ESD4, ESD5
4SW_PushDonkeyCar:SWITCH-3*4*2.5BOOT, CPU_ON, CPU_RESET, RESET
3100RDonkeyCar:R-0402R46, R48, R69
31MDonkeyCar:R-0402R4, R42, R53
31N5819WSDonkeyCar:SOD-123D4, D8, D26
325V/1ufDonkeyCar:C-0603C15, C65, C66
2,
210V/10ufDonkeyCar:C-0603C4, C10
221.5KDonkeyCar:R-0402R6, R68
225V/22ufDonkeyCar:C-1206C76, C77
22N7002DonkeyCar:SOT-23-3Q13, Q20
23.3RDonkeyCar:R-0402R43, R52
23.3uH/5.2ADonkeyCar:L-0630L1, L2
24.7KDonkeyCar:R-0402R20, R72
25.1KDonkeyCar:R-0402R40, R41
250V/100pfDonkeyCar:C-0402C13, C42
26V/1ADonkeyCar:FUSE-0805F4, F5
26V/500mADonkeyCar:FUSE-0603F2, F3
2LED_RDonkeyCar:LED-0603-RACT, VDC
2LED_YDonkeyCar:LED-0603-Y3V3, 5V
2MP8756GDDonkeyCar:QFN-12-MP8756DCDC1, DCDC2
2SMFJ5.0CADonkeyCar:SOD-123D2, D5
2TPAZ1023-04FDonkeyCar:ESD-USON-10_0P5_2P5X1X0P55MMESD1, ESD2
2TS5A3159ADBVRDonkeyCar:SOT-23-6U19, U21
2ULC0524PDonkeyCar:ESD-USON-10_0P5_2P5X1X0P55MMU4, U6
2USB_C_Receptacle_USB2.0_16PDonkeyCar:USB-C-16PPD-MAX 15V, UART
10.01RDonkeyCar:R-2728R2728
110K 1%DonkeyCar:R-0402R26
118KDonkeyCar:R-0402R22
11KDonkeyCar:R-0402R11
11K 1%DonkeyCar:R-0402R25
11N4148WSDonkeyCar:SOD-323D6
11N5819WSDonkeyCar:SOD-323D34
125V/1ufDonkeyCar:C-0402C1
141.2KDonkeyCar:R-0402R57
143KDonkeyCar:R-0402R61
15.6KDonkeyCar:R-0402R58
150V/2.2nfDonkeyCar:C-0402C43
156K 1%DonkeyCar:R-0402R45
1680RDonkeyCar:R-0402R55
1750DonkeyCar:R-0402R1
19.53KDonkeyCar:R-0402R62
1APCI0079-P002ADonkeyCar:PCIE_M.2_CONNECTORS_P=0.5MM_H=4.2MM_KEYMSSD_2230
1APCI0085-P005ADonkeyCar:PCIE_M.2_CONNECTORS_P=0.5MM_H=4.2MM_KEYEWIFI_MODLE
1ASAA826-E8SB0-7HDonkeyCar:LattePanda_Module_H8.0mm_HorizontalA1
1BuzzerDonkeyCar:BEEP-MLT-8530BZ1
1CC6900SODonkeyCar:SOP-8U12
1CH224KSOP100P600X180-11N:SOP100P600X180-11NU8
1CH342FDonkeyCar:QFN-24-4X4-PADU9
1Conn_01x02_PinDonkeyCar:XT30PW-M3S BATTERY
1Conn_01x05_SocketDonkeyCar:GH1.25-立-5P5V 5V OUT G G
1ESP32-WROOM-32E-N4DonkeyCar:ESP32-WROOM-32EU7
1Fan_4pinDonkeyCar:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalCPU_FAN
1HDMI_ADonkeyCar:HDMI_AHDMI
1INA219AxDDonkeyCar:SOT-23-80x40
1LDO-XC6206P332MRDonkeyCar:SOT-23-3LDO3
1LED-WS2812BDonkeyCar:LED-5050-4PWS2812B
1LED_GDonkeyCar:LED-0603-GPWR
1LOGO-2DonkeyCar:LOGO-2LOGO
1LOGO-3DonkeyCar:LOGO-3LOGO3
1MPU-6050DonkeyCar:QFN-24-4X4-PAD0x68

The 257 most common of 263 parts.

Similar boards

  • 4 layers160 × 80 mmImtDeck Carrier, the printed circuit board in 3D

    ImtDeck Carrier

    imtua/ImtDeck

    ImtDeck, a cyberdeck designed by Imtiaz Ahmed. In ImtDeck, basic tasks and a light AI can be run easily. In this project, it technically contains 2 projects, ImtDeck-Carrier and ImtKeeb-Ortho62.

    170 parts1GPL-3.0
  • 4 layers166.1 × 125.6 mmLattePanda Mu carrier board, the printed circuit board in 3D

    LattePanda Mu carrier board

    hugoNN1001/LattePanda-Mu-Custom-Carrier-Board

    Personal project, work in progress - Learning digital high-speed PCB design by designing a custom carrier board for the LattePanda Mu - based on the reference design: https://github.com/LattePandaTeam/LattePanda-Mu

    240 parts
  • 4 layers170.2 × 170.2 mmNvme Carrier all M2, the printed circuit board in 3D

    Nvme Carrier all M2

    El-Luhb/nvme-Carrier-for-LattePanda-Mu

    nvme Carrier PCB for the LattePanda Mu compute module

    400 parts12MIT
  • 4 layers170.1 × 100 mmLattePandaMu carrier custom, the printed circuit board in 3D

    LattePandaMu carrier custom

    futureshocked/kicad_latte_panda_mu

    A custom carrier-board reference design for the LattePanda Mu compute module, used as a worked example in the Tech Explorations KiCad course:

    220 parts4
  • 4 layers170.1 × 100.5 mmLattePandaMU carrier custom 20260226, the printed circuit board in 3D

    LattePandaMU carrier custom 20260226

    tuankoko567/LattePanda-MU-carrier-Board

    Designing high-speed carrier board using KiCad, applying differential pair routing and length matching, studying impedance control and PCB stack-up planning, learning signal integrity and EMI-aware layout techniques.

    213 parts2

Questions

How big is the DonkeyDrift MUS4 PCB?

It measures 196.5 × 100 mm and has 4 copper layers, 0.8 mm thick.

What parts does the DonkeyDrift MUS4 use?

263 parts, built around the ESP32-WROOM-32E-N4, CC6900SO-5A, CH224K and CH342F. 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 DonkeyDrift MUS4 KiCad files?

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

Can I use the DonkeyDrift MUS4 design in my own project?

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