PCB Design in KiCad
Turn a breadboard idea into a real manufactured board.
PCB Design in KiCad
From schematic to a board you can hold
Navigate with ← → or Space · F to present fullscreen · N for the script
Lesson notes
A complete walkthrough of designing a PCB in free, open-source KiCad: schematic capture, footprints, layout & routing, design rules, ground planes, DRC, and exporting Gerbers to order from a fab.
PCB Design in KiCad
From schematic to a board you can hold
- What a PCB actually is
- The KiCad toolset
- Schematic capture & ERC
- Footprints & netlist
- Placement, routing & design rules
- Ground planes & best practices
- DRC, 3D view & Gerber export
- Ordering from a fab
What Is a PCB?
A PCB is a stack of layers
Copper carries signals, FR-4 fiberglass insulates, soldermask protects copper, silkscreen prints labels. Vias connect layers.
Most hobby boards are 2-layer: copper on top and bottom of one FR-4 core.
This is what we are building toward
A finished PCB — green soldermask, copper traces, and components soldered to pads. By the end of this track you can design one yourself.
- Copper traces replace jumper wires
- Compact, durable, repeatable
- Order 5 from a fab for a few dollars
The vocabulary
- Trace — a copper "wire" etched onto the board
- Pad — where a component leg solders down
- Via — a plated hole connecting top & bottom copper
- Footprint — the physical pad pattern a part lands on
- Net — a named electrical connection (e.g. GND, +5V)
The KiCad Toolset
KiCad is free & open-source
No license cost, no node limits, industry-capable.
- Schematic Editor: Draw the logical circuit — symbols and wires.
- Symbol/Footprint libs: Thousands built in; create custom parts too.
- PCB Editor: Place footprints and route copper traces.
- 3D Viewer: See a realistic render of the finished board.
- Gerber export: Generate the manufacturing files for any fab.
Schematic Capture
Draw the circuit logically first
- New project: File → New Project. KiCad keeps schematic (.kicad_sch) and board (.kicad_pcb) together.
- Place symbols: Press A to add symbols — resistors, the MCU, connectors. Symbols are logical, not physical yet.
- Wire them up: Press W to draw wires. Use labels for nets like GND and +3V3 instead of long wires.
- Annotate & values: Give every part a reference (R1, U1) and value (10k, ESP32).
Good habit: power symbols and net labels keep big schematics readable. Avoid crossing wires everywhere.
Run ERC before you go further.
The Electrical Rules Check catches unconnected pins, conflicting outputs, and missing power. Fixing it now is free; fixing it after fabrication costs a re-order.
Footprints
Link each symbol to a physical part
- Assign footprints — a resistor symbol → 0805 SMD or through-hole footprint
- Match the real part — check the datasheet package — wrong footprint = unsolderable board
- Update PCB from schematic — pushes the netlist into the PCB editor as a "ratsnest"
The ratsnest is the thin lines showing what must connect — your routing to-do list.
Layout & Routing
Place, then route
- Define the board outline: Draw the edge cut on the Edge.Cuts layer — this is the physical shape & size.
- Place components: Group related parts; put connectors at edges; keep the MCU central. Short critical paths.
- Route traces: Press X to route. Follow the ratsnest, turn thin lines into real copper traces.
- Width matters: Signal traces ~0.25 mm; power traces wider to carry more current.
Trace width carries current
wider + thicker copper = more current, less heat
- Signals — 0.2–0.3 mm is plenty
- Power/GND — 0.5–1 mm+, or use a pour
Example: Rule of thumb (1 oz copper, 10 °C rise): ~0.25 mm ≈ 0.5 A, ~0.5 mm ≈ 1 A. Use a calculator for real designs.
Design Rules & Ground Planes
Constraints that keep it manufacturable
Design Rules (DRC)
- Clearance — min gap between copper
- Track width — min trace the fab can make
- Via & drill sizes
- Set these to your fab’s spec sheet
Ground plane (copper pour)
- Fill empty space with a GND fill
- Shorter return paths, less noise/EMI
- Easier routing, better heat spread
A solid ground pour is the single biggest "pro" upgrade a beginner board can get.
Verify
Check before you spend money
- Run DRC — zero clearance/width violations before export
- 3D view (Alt+3) — spot overlaps, wrong footprints, mechanical fit
- Re-check connectors & mounting holes — the things that are painful to fix later
Manufacturing
Export & order
- Plot Gerbers: File → Plot. Generate the copper, mask, silkscreen & edge-cut layers.
- Drill files: Generate Excellon drill files for the holes & vias.
- Zip & upload: Zip the Gerbers and upload to a fab — JLCPCB, PCBWay, or NextPCB.
- Order & assemble: Pick size/color/quantity, order, then solder (or use the fab’s assembly service).
KiCad 7+ also has a one-click Fabrication Toolkit/plugin for JLCPCB that bundles Gerbers + BOM + placement.
KiCad — Design Checklist
- Schematic first; pass ERC
- Assign correct footprints; update PCB
- Draw board outline, place, then route
- Power traces wide; add a ground pour
- Set design rules to your fab; pass DRC
- Plot Gerbers + drills → zip → order