

Esc4in1
Build KiCad schematics and PCBs through MCP. Small, composable tools handle file formats and geometry; the caller controls placement, wiring, and routing.
- Size
- 44 × 43.5 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 87
- Nets
- 79
- Pads
- 656
- Tracks, vias
- 238, 76
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 19 Aug 2026
- Updated
- 4 Nov 2026
Overview
Esc4in1 is an open-source printed circuit board by Swamy-BV, from the Swamy-BV/kicad-flow repository on GitHub, published under the AGPL-3.0 licence. It is a 4-layer board of 44 × 43.5 mm with 87 parts on 79 nets, routed with 238 tracks and 76 vias.
It is built around the STSPIN32F0A and CSD18540Q5B. Its parts include 24 resistors, 24 transistors, 16 capacitors, 15 connectors and 4 ICs.
Main components
2STSPIN32F0A
VFQFPN-48(7x7)-40℃~+125℃@(TJ) 16 32KB 4KB 6.7V~45V ARM Cortex-M0 FLASH VFQFPN-48(7x7) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)CSD18540Q5B
VSON-8(5x6)-55℃~+175℃ 1 N-channel 1.9V 2.6mΩ 205A 20pF 3.8W 4.23nF 41nC@10V 60V 808pF N-Channel VSON-8(5x6) MOSFETs ROHSTexas InstrumentsMOSFETs
README
README.mdKiCadFlow
Build KiCad schematics and PCBs through MCP. Small, composable tools handle file formats and geometry; the caller controls placement, wiring, and routing.
Quick start
Requires Windows, Python 3.10+, and KiCad 10.
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
.\.venv\Scripts\python.exe -m kicad_flow.server doctor
.\.venv\Scripts\python.exe -m kicad_flow.serverFor an MCP client, use the virtual environment's Python executable with
arguments -m kicad_flow.server. Add --http for
http://127.0.0.1:8471/mcp, or --tool-search for on-demand tool discovery.
Capabilities
- Schematics: components, wiring, labels, hierarchy, footprint assignment, ERC.
- PCB: schematic synchronization, placement, copper, outlines, stackups, DRC.
- Review: connectivity, geometry, proposed-change checks, 2D and 3D renders.
- Manufacturing: JLCPCB profiles, Gerbers, drills, BOM/CPL, checked packages.
- Routing: optional FreeRouting export, execution, and import.
Coordinates are in millimetres. Check connectivity, ERC, DRC, and renders before fabrication. See JLCPCB setup for the optional local parts catalogue.
Examples
![]() LED digits Schematic, PCB, and routing. |
![]() Batman Shaped LED board. |
![]() Mooncat art board PCB artwork on both sides. |
![]() 4-in-1 ESC Placement exercise; not ready for fabrication. |
The flight controller demonstrates a hierarchical STM32 schematic.
For the default five-item limit, see
staged board transfer and run
python examples/scripts/staged_board_transfer.py.
Run the larger examples with an explicit batch limit:
$env:KICAD_FLOW_BATCH_LIMIT = "1000"
python examples/scripts/led_digits.pyDashboard
Open localhost:8472 for live preview and tool activity. Schematic and PCB tabs keep inspection snapshots until you refresh them.

Development
MCP startup instructions are compact; detailed workflows are loaded on demand
through resources or get_workflow. See context delivery.
python -m ruff check .
python -m mypy
$env:KICAD_FLOW_BATCH_LIMIT = "1000"
python examples/scripts/fc.py
python examples/scripts/led_digits.pyExamples are the integration checks. Contributor guidance is in AGENTS.md.
For a Windows bundle, run packaging/windows/build.ps1; distribute the entire
dist/kicad-flow directory. KiCad remains required.
Parts
87| Qty | Value | Footprint | References |
|---|---|---|---|
| 24 | 10R | Resistor_SMD:R_0402_1005Metric | R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +8 |
| 24 | CSD18540Q5B | Package_TO_SOT_SMD:TDSON-8-1 | Q1, Q2, Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, Q18, Q19, Q20, Q21, Q22, Q23 +8 |
| 12 | 100n | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12 |
| 4 | 47u 50V | Capacitor_SMD:C_1210_3225Metric | C101, C102, C103, C104 |
| 4 | M4 | MountingHole:MountingHole_4.3mm_M4 | H1, H2, H3, H4 |
| 4 | STSPIN32F0A | Package_DFN_QFN:VQFN-48-1EP_7x7mm_P0.5mm_EP2.6x2.6mm | U1, U2, U3, U4 |
| 1 | FC | Connector_JST:JST_SH_BM08B-SRSS-TB_1x08-1MP_P1.00mm_Vertical | J3 |
| 1 | GND | Connector_Wire:SolderWirePad_1x01_SMD_4x8mm | J2 |
| 1 | M1_U | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J11 |
| 1 | M1_V | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J12 |
| 1 | M1_W | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J13 |
| 1 | M2_U | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J14 |
| 1 | M2_V | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J15 |
| 1 | M2_W | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J16 |
| 1 | M3_U | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J17 |
| 1 | M3_V | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J18 |
| 1 | M3_W | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J19 |
| 1 | M4_U | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J20 |
| 1 | M4_V | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J21 |
| 1 | M4_W | Connector_Wire:SolderWirePad_1x01_SMD_2x4mm | J22 |
| 1 | VBAT+ | Connector_Wire:SolderWirePad_1x01_SMD_4x8mm | J1 |
Similar boards
- 4 layers90 × 80 mm

- 4 layers32.3 × 47.3 mm

- 4 layers27 × 27 mm

O32controller
qwertpas/O32controller
Miniature closed-loop controller for brushless DC motors
88 parts37MIT - 4 layers

- 4 layers31 × 40 mm

EasyBLDCV4 STSPIN32F0A
buckles3636/EasyBLDC
Please ensure your designs meet common standards and include necessary documentation and comments.
58 parts2MIT - 2 layers42 × 23 mm

- 4 layers58 × 50 mm

Bldc motor cntroller
azmat-bilal/bldc_motor_controller_pcb
A Brushless DC Motor controller board. The design is inspired and is compatible with Odrive project (https://github.com/madcowswe/ODriveHardware) except that this one has a single channel.
146 parts112MIT - 8 layers90.5 × 49.5 mm

Questions
How big is the Esc4in1 PCB?
It measures 44 × 43.5 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Esc4in1 use?
87 parts, built around the STSPIN32F0A and CSD18540Q5B. 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 Esc4in1 KiCad files?
From the Swamy-BV/kicad-flow repository on GitHub, at the commit this page was made from: the board is examples/esc4in1/esc4in1.kicad_pcb and its schematic examples/esc4in1/esc4in1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Esc4in1 design in my own project?
Its repository publishes it under the AGPL-3.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).



