Skip to the content
4 layers44 × 43.5 mmEsc4in1, the printed circuit board in 3D

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

2

README

README.md

KiCadFlow

Build KiCad schematics and PCBs through MCP. Small, composable tools handle file formats and geometry; the caller controls placement, wiring, and routing.

CI status CodeQL status OpenSSF Scorecard status Python 3.10 or newer AGPL 3.0 license

Quick start

Requires Windows, Python 3.10+, and KiCad 10.

powershell
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.server

For 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 PCB
LED digits
Schematic, PCB, and routing.
Batman-shaped LED PCB
Batman
Shaped LED board.
Mooncat purple PCB art with a crescent and stars
Mooncat art board
PCB artwork on both sides.
Four-in-one ESC PCB
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:

powershell
$env:KICAD_FLOW_BATCH_LIMIT = "1000"
python examples/scripts/led_digits.py

Dashboard

Open localhost:8472 for live preview and tool activity. Schematic and PCB tabs keep inspection snapshots until you refresh them.

Live PCB preview with a compact toolbar and MCP activity log

Development

MCP startup instructions are compact; detailed workflows are loaded on demand through resources or get_workflow. See context delivery.

powershell
python -m ruff check .
python -m mypy
$env:KICAD_FLOW_BATCH_LIMIT = "1000"
python examples/scripts/fc.py
python examples/scripts/led_digits.py

Examples 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
QtyValueFootprintReferences
2410RResistor_SMD:R_0402_1005MetricR1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +8
24CSD18540Q5BPackage_TO_SOT_SMD:TDSON-8-1Q1, Q2, Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, Q18, Q19, Q20, Q21, Q22, Q23 +8
12100nCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12
447u 50VCapacitor_SMD:C_1210_3225MetricC101, C102, C103, C104
4M4MountingHole:MountingHole_4.3mm_M4H1, H2, H3, H4
4STSPIN32F0APackage_DFN_QFN:VQFN-48-1EP_7x7mm_P0.5mm_EP2.6x2.6mmU1, U2, U3, U4
1FCConnector_JST:JST_SH_BM08B-SRSS-TB_1x08-1MP_P1.00mm_VerticalJ3
1GNDConnector_Wire:SolderWirePad_1x01_SMD_4x8mmJ2
1M1_UConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ11
1M1_VConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ12
1M1_WConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ13
1M2_UConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ14
1M2_VConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ15
1M2_WConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ16
1M3_UConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ17
1M3_VConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ18
1M3_WConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ19
1M4_UConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ20
1M4_VConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ21
1M4_WConnector_Wire:SolderWirePad_1x01_SMD_2x4mmJ22
1VBAT+Connector_Wire:SolderWirePad_1x01_SMD_4x8mmJ1

Similar boards

  • 4 layers90 × 80 mmPowerboard v1, the printed circuit board in 3D

    Powerboard v1

    TIGERs-Mannheim/electronics

    TIGERs Mannheim Open-Source Electronics

    372 parts9
  • 4 layers32.3 × 47.3 mmESC module, the printed circuit board in 3D

    ESC module

    Prosjekt-gruppe/Ingenior-prosjekt-4

    Ingeniørprosjekt IV

    70 parts5MIT
  • 4 layers27 × 27 mmO32controller, the printed circuit board in 3D

    O32controller

    qwertpas/O32controller

    Miniature closed-loop controller for brushless DC motors

    88 parts37MIT
  • 4 layersMoco rc1, the printed circuit board in 3D

    Moco rc1

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    89 parts24CERN-OHL-P-2.0
  • 4 layers31 × 40 mmEasyBLDCV4 STSPIN32F0A, the printed circuit board in 3D

    EasyBLDCV4 STSPIN32F0A

    buckles3636/EasyBLDC

    Please ensure your designs meet common standards and include necessary documentation and comments.

    58 parts2MIT
  • 2 layers42 × 23 mmBlmd, the printed circuit board in 3D

    Blmd

    Teruru-52/Mercury-pcb

    72 parts1
  • 4 layers58 × 50 mmBldc motor cntroller, the printed circuit board in 3D

    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 mmOpen race v2, the printed circuit board in 3D

    Open race v2

    teehee567/Aevia

    gnss module collecting track data

    337 parts5

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).