Skip to the content
4 layers60.2 × 60.5 mmESP32 FlightController, the printed circuit board in 3D

Free local Ollama agent for generating and validating KiCad project files

Size
60.2 × 60.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
73
Nets
88
Pads
309
Tracks, vias
661, 133
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
23 Jul 2026
Updated
24 Jul 2026

Overview

ESP32 FlightController is an open-source printed circuit board by durveshpathak1989, from the durveshpathak1989/kicad-local-agent repository on GitHub, published under the MIT licence. It is a 4-layer board of 60.2 × 60.5 mm with 73 parts on 88 nets, routed with 661 tracks and 133 vias.

It is built around the ESP32-WROOM-32E, CP2102N-A02-GQFN24 and TPS5430DDA, with the AP2112K-3.3, MPU-9250 and TPS2113APW among its other parts. Its parts include 26 resistors, 17 capacitors, 9 connectors, 7 ICs and 3 diodes. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

9

README

README.md

KiCad Local Agent

A completely local KiCad assistant using Ollama and kicad-cli. It requires no OpenAI API key, ChatGPT subscription, hosted database, or paid server. Prompts and project files remain on your Mac.

One-time setup (macOS)

  1. Install Homebrew from https://brew.sh.

  2. Clone and enter the repository:

    sh
    git clone https://github.com/durveshpathak1989/kicad-local-agent.git
    cd kicad-local-agent
  3. Run the installer:

    sh
    chmod +x setup-local.command start-local.command
    ./setup-local.command

The script checks or installs Ollama, Node.js, Python, and KiCad through Homebrew; installs UI dependencies; offers to download the free qwen2.5-coder:7b model; and builds the application.

Start and use

sh
./start-local.command

Open http://localhost:3000. Confirm Ollama, KiCad CLI, and the reference design are available. Choose Populated ESP32 prototype for a deterministic non-empty reference artifact, Empty native structure for a fresh container, or Revise ESP32 reference for bounded changes to the bundled board. Select a model, enter an explicit request, wait for validation, and download the ZIP. Press Control-C in Terminal to stop the interface.

New-project mode always creates native KiCad files and a closed board outline. It intentionally leaves the circuit unpopulated until component pinouts, footprints, ratings, and connections are verified. It is an editable engineering starter, not an automatically completed PCB.

For circuit synthesis, provide manufacturer/datasheet HTTPS URLs and, when available, a clear schematic PNG or JPEG. The local pipeline performs a bounded web search, records source evidence, and uses the optional moondream:1.8b Ollama vision model to transcribe visible components and connections. It records unreadable or unsupported details as questions instead of inventing them.

Manual dependency setup

sh
brew install ollama node python
brew install --cask kicad
ollama serve
ollama pull qwen2.5-coder:7b
cd ui
npm ci
npm run build

Then return to the repository root and run ./start-local.command.

Included artifacts

  • React browser interface and dependency-free Python backend
  • Bounded Ollama file-agent tools and isolated per-run workspaces
  • KiCad 10 ERC, DRC, and schematic-parity validation
  • ESP32 flight-controller reference project
  • kicad-reference-knowledge.zip and optional Custom GPT instructions
  • Setup/start scripts, CI workflow, architecture and security documentation
  • Tested generator curriculum and acceptance gates in TRAINING.md

Safety and validation

Clean ERC/DRC means only that KiCad found no enabled CAD-rule violations. It does not validate circuit behavior, sourcing, power integrity, EMI/EMC, thermal/mechanical performance, firmware, manufacturing yield, or flight safety. The bundled board is a production-intent prototype, not a qualified flight product. Fresh KiCad results take precedence over saved reports.

All services bind to localhost. Never expose ports 3000, 8765, or 11434 to the internet. Read SECURITY.md and docs/ARCHITECTURE.md.

License

MIT. Generated electronics require independent engineering, regulatory, manufacturing, and safety review.

Parts

73
QtyValueFootprintReferences
410kResistor_SMD:R_0603_1608MetricR8, R9, R18, R19
4220Resistor_SMD:R_0805_2012MetricR10, R11, R12, R13
4M4 / 30.5mm STACKMountingHole_4mmH1, H2, H3, H4
3100nCapacitor_SMD:C_0603_1608MetricC15, C16, C19
3100n X7RCapacitor_SMD:C_0402_1005MetricC11, C12, C13
310k 1%Resistor_SMD:R_0603_1608MetricR6, R21, R25
210uCapacitor_SMD:C_0805_2012MetricC5, C6
22.2kResistor_SMD:R_0603_1608MetricR22, R23
220k 1%Resistor_SMD:R_0603_1608MetricR24, R26
24.7kResistor_SMD:R_0805_2012MetricR4, R5
25.1kResistor_SMD:R_0603_1608MetricR15, R16
2MMBT3904Package_TO_SOT_SMD:SOT-23Q1, Q2
10.75A USB PTCFuse:Fuse_1206_3216MetricF1
1100kResistor_SMD:R_0603_1608MetricR14
1100nCapacitor_SMD:C_0805_2012MetricC2
110nCapacitor_SMD:C_0603_1608MetricC3
110n X7RCapacitor_SMD:C_0402_1005MetricC10
110u X7RCapacitor_SMD:C_0805_2012MetricC17
110uF/25V X7RCapacitor_SMD:C_1210_3225MetricC1
115uH SRP7028A-150MInductor_SMD:L_Bourns_SRP7028A_7.3x6.6mmL1
11MResistor_SMD:R_0603_1608MetricR20
11kResistor_SMD:R_0805_2012MetricR3
11nF/2kVCapacitor_SMD:C_1206_3216MetricC18
11uCapacitor_SMD:C_0603_1608MetricC7
1220uF/10V LOW-ESRCapacitor_SMD:CP_Elec_6.3x5.8C4
1235k 1%Resistor_SMD:R_0805_2012MetricR1
13.24k 1%Resistor_SMD:R_0603_1608MetricR7
135k 1%Resistor_SMD:R_0805_2012MetricR2
13S_BAT_SENSEConnector_JST:JST_GH_BM02B-GHS-TBT_1x02-1MP_P1.25mm_VerticalJ2
14.7u X7RCapacitor_SMD:C_0603_1608MetricC14
1499R (1A LIMIT)Resistor_SMD:R_0603_1608MetricR17
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1B340ADiode_SMD:D_SMAD1
1BLS60A_ESC_7PINConnector_JST:JST_SH_BM07B-SRSS-TB_1x07-1MP_P1.00mm_VerticalJ14
1BLUE_STATUSLED_SMD:LED_0603_1608MetricD4
1BOOTButton_Switch_SMD:SW_SPST_CK_KXT3SW3
1CONTROLLER_POWERButton_Switch_SMD:SW_SPST_CK_RS282G05A3SW2
1CP2102N-A02-GQFN24Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mmU6
1ESP32-WROOM-32EFlightController_Custom:ESP32-WROOM-32_CustomU1
1FLYSKY_IBUSConnector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ6
1GPS_NEO6MConnector_JST:JST_GH_BM04B-GHS-TBT_1x04-1MP_P1.25mm_VerticalJ5
1GREEN_POWERLED_SMD:LED_0603_1608MetricD3
1I2C_SENSOR_BUSConnector_JST:JST_SH_BM04B-SRSS-TB_1x04-1MP_P1.00mm_VerticalJ4
1JTAG_DEBUGConnector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_VerticalJ8
1MPU-9250Sensor_Motion:InvenSense_QFN-24_3x3mm_P0.4mmU2
1RESETButton_Switch_SMD:SW_SPST_CK_KXT3SW1
1TPS2113APWPackage_SO:TSSOP-8_3x3mm_P0.65mmU7
1TPS5430DDAFlightController_Custom:TI_SO-PowerPAD-8_NoUnderDrillsU3
1UART_PROGRAMConnector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_VerticalJ7
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5
1USB_C_PROGRAMConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ9
1XT60_FC_FEED_PIGTAILConnector_Wire:SolderWire-1.5sqmm_1x02_P6mm_D1.7mm_OD3mmJ1

Similar boards

  • 4 layers80 × 54 mmPoket, the printed circuit board in 3D

    Poket

    kaorii-ako/Poket

    ESP32-S3 Bluetooth MP3 player - custom PCB + 3D-printed case, built from scratch

    104 parts
  • 2 layers140 × 100 mmPlts monitoring controller, the printed circuit board in 3D

    Plts monitoring controller

    desvandi/PLTSMonitoring_Firmware-Backend

    Integrated to PLTSMonitoring_PWA

    152 parts
  • 2 layers210 × 297 mmFra clock, the printed circuit board in 3D

    Fra clock

    albertoboffi-PERSONAL/fra-clock

    A one-off gift PCB designed in KiCad 10: an ESP32 clock with a ring of 180 WS2812B‑2020 LEDs, a photo printed in exposed copper on the front, two Makerverse 8 Ω / 5 W speakers driven by two MAX98357A I²S amplifiers…

    428 parts
  • 2 layers70 × 55 mmKwl esp32, the printed circuit board in 3D

    Kwl esp32

    hpralfi/comfoair-esp32

    ESP32-Platine, um Zehnder ComfoAir, StorkAir WHR und Wernig G90 über RS232 in Home Assistant einzubinden (ESPHome, ohne Cloud)

    40 partsCERN-OHL-S-2.0
  • 2 layers76.8 × 100 mmProject CV, the printed circuit board in 3D

    Project CV

    KazimGL/ESP32-PowerIoT-DevBoard

    ESP32 battery-powered IoT dev board with Li-ion charging, protection, and sensor support — designed in KiCad

    62 parts
  • 2 layers85 × 56 mmOrange juice board, the printed circuit board in 3D

    Orange juice board

    jeji/orange_juice

    A orange pi zero shield board for 3D printer with klipper features

    56 parts13GPL-3.0
  • 2 layers99 × 56 mmOrange juice board, the printed circuit board in 3D

    Orange juice board

    jeji/orange_juice_2

    For Orange Pi zero 2 with klipper and more advance feature

    56 parts5
  • 4 layers90 × 36 mmA3-before crystal refinement, the printed circuit board in 3D

    A3-before crystal refinement

    bdini13/esp32-cc1101-multiband

    Work-in-progress ESP32-WROOM-32E + CC1101 multiband PCB: software-selected 315/433/868/915 MHz paths. AI-assisted engineering draft; not manufacturing-ready.

    121 parts1

Questions

How big is the ESP32 FlightController PCB?

It measures 60.2 × 60.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the ESP32 FlightController use?

73 parts, built around the ESP32-WROOM-32E, CP2102N-A02-GQFN24, TPS5430DDA and AP2112K-3.3. 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 ESP32 FlightController KiCad files?

From the durveshpathak1989/kicad-local-agent repository on GitHub, at the commit this page was made from: the board is reference/ESP32_FlightController/ESP32_FlightController.kicad_pcb and its schematic reference/ESP32_FlightController/ESP32_FlightController.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32 FlightController design in my own project?

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