Skip to content
You Start with one site
Amounts in Start with one site
Engineering · Embedded Systems & Electronics

PCB Design with KiCad

Design circuit boards in KiCad that a factory makes right the first time. Ten boards, from a four-LED lamp to a four-layer USB-C board.

Found this useful?
The UV lamp of lesson 0 in 3D: a green board with four clear LEDs in a square, four resistors in a row, a slide switch on the top edge and a mounting hole in each corner.

A circuit works on the bench, on a breadboard full of wires. To build it ten times, or a hundred, it must become a board: copper and holes in the right places, made by a factory from files you send.

A wrong footprint, a missing hole or a track too close to another, and the boards arrive useless after a week. In this course you learn to draw the board, check it before you pay, and test it when it arrives.

How each board goes
  1. 1Draw the schematicWhat connects to what. ERC checks it.
  2. 2Place the partsEach part where its job and the outline allow.
  3. 3Route and checkTracks of the right width. DRC checks the copper.
  4. 4Make and testGerbers to the factory, then solder and measure.
You will be able to
  1. Draw a schematic and a board that pass ERC and DRC
  2. Send a factory the files it needs, and check them before you pay
  3. Solder the board and prove it works with a multimeter

New to this? Never used KiCad? Start with lesson 0: a small lamp, the whole way once.

You need KiCad 10 on Windows, Mac or Linux. For the builds: a soldering iron, a multimeter and the parts in each lesson.

The engineering behind it

A working circuit becomes a product only when it is a board a factory can make the same way every time.

More about this course

Every size on a board has a reason

A track is not 0.5 mm because it looks right. Each size comes from what the copper must carry or what the factory can make.

  • Track widthcarries the current without heating or losing voltageCurrent
  • Clearancekeeps nets apart, inside what the factory can etchManufacturing
  • Hole sizefits the part leg with room for solderAssembly
  • Capacitor placenext to the pin it feeds, or it cannot helpSignal and power
  • Board outlinefits the case, the holes and the connectors at the edgeMechanical

A schematic is not a board

Schematic
What connects
  • Symbols and wires
  • Placed to be read
  • ERC checks the connections

The test: is every connection right?

Board layout
Where the copper goes
  • Footprints, tracks and holes
  • Placed to work and to be made
  • DRC checks the copper and the schematic

The test: will it work, and can it be made?

Checks before you pay

  1. ERCEvery pin joined or marked unused
  2. FootprintsEach one matches the part you buy
  3. DRCCopper inside the rules, board equal to schematic
  4. 3D viewParts fit, the right way round
  5. Gerber viewerOutline, layers and every hole there
  6. Parts listEvery part can be bought
  7. Then order

The checks find mistakes of connection and geometry. They cannot read a wrong value or know which way a real LED goes; those checks are yours, and each lesson shows where.

Why KiCad

Yours to keepFree and open source. No account, nothing expires, and you may sell the boards you design.
Files on your computerPlain text files that work offline and keep well in version control.
Windows, Mac and LinuxThe same steps on every system.
Files any factory takesGerbers, drill files, parts lists and position files.
Large librariesThousands of symbols, footprints and 3D models, checked by the KiCad team.
Python insideScript parts, checks and outputs (lesson 9).

Honest limits. Some companies design in Altium or OrCAD. Schematics, footprints, rules and Gerbers work the same way there, so what you learn here carries over.

Before you start

  • No KiCad experience needed
  • KiCad 10 installed (KiCad 9 users: the menus are almost all the same)
  • Ohm's law and what a diode does
  • A soldering iron and a multimeter, to build the boards
The full course notes

Design and manufacture real, useful printed circuit boards from scratch using KiCad 9. Each lesson produces one complete board for embedded systems, starting from a simple through-hole ATmega328P breakout and progressing to multi-layer STM32 and ESP32 boards with USB-C, WiFi, battery management, and motor control. Every board includes minimal firmware to verify it works. #KiCad #PCBDesign #EmbeddedSystems

Why KiCad?

Free and Open Source

KiCad is completely free with no feature limits, board size restrictions, or layer caps. Your designs are yours, stored in open formats, with no vendor lock-in.

Industry Capable

Interactive router with differential pair support, 3D board viewer, design rule checking, and direct export to every major fab house format. Used by CERN, Arduino, and thousands of professional projects.

Huge Component Library

Ships with thousands of symbols and footprints covering common ICs, connectors, and passives. Community libraries add tens of thousands more. Custom parts are straightforward to create.

Active Development

KiCad 9 brings an improved router, better DRC, enhanced 3D viewer, and smoother workflows. Regular releases backed by a growing developer community and corporate sponsors.

Course Structure

Each lesson follows a consistent cycle:

  1. The Board What we are building, why it is useful, and the design choices behind it.

  2. Schematic Capture Component selection, wiring, power distribution, ERC. Full walkthrough in KiCad 9.

  3. PCB Layout Component placement strategy, routing, copper pours, design rules, DRC.

  4. Manufacturing Output Gerbers, drill files, BOM, and the manufacturing method for that lesson (etching, CNC milling, or fab house).

  5. Build and Test Soldering guidance, first power-on checklist, and minimal firmware to confirm the board works.

Lessons

Lesson 1: ATmega328P Breakout Board

ATmega328P Through-Hole Breakout. Build a minimal Arduino-compatible board with ISP header, power LED, and pin headers. Learn KiCad 9 from scratch: project setup, schematic capture, PCB layout, and home etching. First firmware: blink an LED via ISP.

Lesson 2: ATmega328P Sensor Shield

ATmega328P Sensor Shield with SMD. Upgrade to SMD with an ATmega328P TQFP-32 board carrying I2C temperature/humidity and SPI light sensors. Introduction to SMD footprints, double-sided layout, and CNC milling for PCB fabrication.

Lesson 3: STM32 USB Development Board

STM32 USB Development Board. Design a Blue Pill style board with STM32F103, USB, crystal oscillator, SWD debug header, and 3.3V regulation. First professional fab house order: generate Gerbers, BOM, and pick-and-place files for JLCPCB.

Lesson 4: STM32 USB-C Four-Layer Board

STM32 USB-C Four-Layer PCB. Step up to a Black Pill style STM32F411 board with USB-C, LDO power regulation, and a 4-layer stackup. Learn power/ground plane design, via stitching, and impedance-aware routing.

Lesson 5: ESP32 WiFi/Bluetooth DevKit

ESP32 WiFi Bluetooth DevKit. Integrate an ESP32-WROOM module with USB-UART bridge, antenna keepout zone, auto-reset circuit, and impedance-matched RF trace. Layout considerations for wireless performance.

Lesson 6: ESP32 Battery IoT Sensor Node

ESP32 Battery IoT Sensor Node. Design a battery-powered ESP32-C3 board with TP4056 charge IC, solar input, BME280 environmental sensor, and deep sleep circuitry. Power-aware layout for long battery life.

Lesson 7: RP2040 USB-C Development Board

RP2040 USB-C Development Board. Build a board around the RP2040 with external flash, native USB-C, PIO headers, and RGB LED. QFN soldering considerations, high-speed routing, and 4-layer design.

Lesson 8: Motor Driver & Sensor Integration

Motor Driver Sensor Integration Board. Combine a DRV8833 H-bridge motor driver, MPU6050 IMU, current sensing, and screw terminals on one board. Mixed power and signal routing, thermal management, and protection circuits.

Lesson 9: Code-Based PCB Design

Code-Based PCB Design with KiCad Scripting. Recreate Lesson 1’s board using Python and KiCad’s scripting API. Introduction to SKiDL for programmatic netlists, parametric footprints, and automated DRC. A bridge to the future of code-driven electronics design.

Skill Progression

SkillLessons 1-2Lessons 3-4Lessons 5-6Lessons 7-8Lesson 9
ComponentsThrough-hole, basic SMDFine-pitch SMD, USBRF modules, battery ICsQFN, motor driversProgrammatic
Layers1-2 layer2-4 layer2 layer (RF-aware)4 layerAny
RoutingManual, wide tracesDifferential pairs introImpedance matchingHigh-speed, powerAutomated
ManufacturingHome etching, CNC millFab house (JLCPCB)Fab houseFab houseScripted output
FirmwareAVR ISP blinkUSB CDC serialWiFi scan, deep sleepUSB-C, PID controlNone

Prerequisites

No prior KiCad experience needed

You should be comfortable with:

  • Basic electronics (voltage, current, resistance, Ohm’s law)
  • Reading a simple schematic (component symbols, connections)
  • Using a computer confidently (file management, installing software)

Helpful but not required:

  • Soldering experience (through-hole or SMD)
  • Arduino or embedded programming basics
  • Our Code-Based Mechanical Design course (for enclosure design)

Getting Started

  1. Install KiCad 9 from kicad.org KiCad runs on Linux, macOS, and Windows. The installer includes all libraries.

  2. Start with Lesson 1, which walks through KiCad 9 setup and produces your first complete PCB.

  3. Work through lessons sequentially. Each builds on skills and patterns from earlier lessons.

  4. Build the boards. The course is designed around manufacturing. Etching Lesson 1 at home or ordering Lesson 3 from JLCPCB is part of the learning.

  5. Flash the firmware. Each lesson includes minimal code to verify your board works.

© 2021-2026 SiliconWit®. All rights reserved.

10 lessons, in order.

SiliconWit makes these courses. We also run siliconwit.io, a monitoring service.