← Capstone projects

Design a PCB

Design a printed circuit board for a project: draw the schematic, lay out the board, run the design rule check, and prepare the files a manufacturer needs.

Every device you own has a printed circuit board. Designing one is how a prototype becomes a product.

Client: you, for a project with a working breadboard version (a driver-and-sensor shield for the drive base is a good first board). Context: the board may be ordered for the class, or kept as a design.

Brief: a schematic that matches the working circuit, a board layout at most 5 × 5 cm (or Uno-shield size), no errors in the design rule check, and manufacturing files (Gerbers) exported. Free tools only (KiCad or EasyEDA).

How this lesson works: Inquire, Develop, Create, Test, Evaluate
InquireRead the brief: who it is for, what it must do (criteria) and the limits (constraints).

Inquire: the brief

Sort each line of the brief: a criterion (what it must do, which you can test) or a constraint (a limit you must work within)?

The schematic matches the working circuit
No design rule check errors
Gerber files exported
At most 5 × 5 cm, or Uno-shield size
Free tools only: KiCad or EasyEDA

DevelopPlan before you build: parts, circuit, code and the tests you will run.

Develop: two ideas first

Before you plan one design, look at two. Most design choices are a trade: one idea is better on one criterion and worse on another, and the brief tells you which matters more.

Make them really different, not the same idea with one part changed. A quick sketch of each in your book helps.

Two layouts for a 5 × 5 cm board. A: motor connectors on one edge, sensor connectors on the opposite edge, the driver chip in the middle. B: every connector along the front edge. What does B make harder?

Now two ideas of your own. For each one, say which criterion in the brief it's strongest on and which it's weakest on. Then say which you'll build, and why.

DevelopPlan before you build: parts, circuit, code and the tests you will run.

Develop: plan before you build

Put the PCB design steps in order.

Pieces (click to add)
    Your program

      What does the design rule check (DRC) catch?

      CreateBuild it, first in the simulator, then for real if you have the kit. Expect a few tries; that is normal.

      Create: build it

      TestRun your tests and record what happened, including what failed.

      Test: run your table

      Before you run yours, read someone else's. Check each result against the brief, not against what looks close enough.

      If everything passed first time, pick the test that came closest to failing and write about that instead.

      Another team's design rule check shows 0 errors and 2 warnings (silkscreen over a pad), and their board is 5.2 × 4.8 cm. Which criterion fails?

      Pick one test that failed. Write what happened, what caused it, what you changed, and what the test showed when you ran it again.

      EvaluateJudge it against each criterion, and say what you would change.

      Evaluate: Against the brief

      Which is the strongest evidence that the design meets a criterion?

      Now you can
      You reached the endBack to Capstone projects
      For teachers

      A stretch project: design a PCB for a working project in KiCad or EasyEDA (schematic, footprints, layout, design rule check, Gerber files), optionally ordered and assembled. About 250 minutes.

      Open the teacher guide: answers, solutions, slides and a worksheet.

      Students will be able to

      Before class

      Teacher-run: tool skills come from KiCad's or EasyEDA's own tutorials (link them); this page structures the project. Ordering boards needs a budget and a manufacturer's student-friendly service; plan a few weeks of lead time. Through-hole parts are easiest to solder for a first board.

      If you assess with MYP Design, the steps line up with the criteria:

      Running the lesson

      1. Develop: schematic checked against the breadboard before layout starts.
      2. Create: run the DRC early and often.

      The hard part (on purpose)

      Footprints that don't match the real part (pin spacing, hole size) are the classic first-board failure. Check each one against the part in hand.

      When students get stuck

      Stretch and support

      Stretch: A two-layer board with a ground plane.

      Support: A finished example board for an LED and resistor to copy the steps from.

      Where it leads

      Back to the Engineering capstones, or CAD and fabrication for an enclosure.

      Sources

      What each step is for