Skip to content
Velloreth
Engineering & Robotics 13 min read

PCB Design for Beginners: From Schematic to Board

A practical walkthrough of PCB design — schematic capture, footprints, ground planes, trace widths, DRC, Gerbers, and bringing up your first board without surprises.

By

A breadboard proves a circuit works. A printed circuit board proves it works reliably, repeatedly, and in something you can actually ship. Between those two points sits a workflow that looks intimidating the first time and becomes routine by the third board: capture a schematic, assign footprints, place parts, route copper, run design rule checks, plot Gerbers, order.

None of that requires an electrical engineering degree. What it requires is a bias toward checking things early. Almost every horror story about a first PCB — a footprint with mirrored pads, a voltage regulator wired backwards, a hole too small for the connector — was visible on screen for days before the boards arrived.

Here is that workflow in order, with the numbers you actually need: trace widths for real currents, clearance defaults that match what fabs charge for, and a bring-up sequence for the board that comes back.

What a PCB actually is

Strip the terminology and a board is three things stacked together: copper (the traces, pads, and planes that carry signals and power), dielectric (the fiberglass, usually FR-4, insulating the copper layers), and holes plus finish (drilled vias and component holes, plated so they connect layers, with a surface finish such as HASL or ENIG on exposed pads so they can be soldered).

A two-layer board has copper on top and bottom; a four-layer board adds two internal layers, typically one a dedicated ground plane. Everything you do in the tool exists to produce a correct set of Gerber files describing those layers.

The single most useful mental shift: the schematic is the design; the board layout is a physical implementation of it. Get the schematic right and errors are cheap to fix. Get it wrong and no amount of routing skill rescues the board.

Step 1: capture the schematic properly

Start in the schematic editor, not the layout. Draw the circuit the way you would explain it: power enters on the left, signals flow right, each functional block grouped together with a label.

Practical rules that pay off immediately:

  • Annotate every component. Sequential reference designators (R1, R2, C1) with no duplicates. Netlist consistency depends on it.
  • Use power symbols and labels instead of long wires. A +3V3 symbol on both the regulator output and the MCU VDD pin tells the tool these are the same net and reads better than a wire snaking across the sheet.
  • Put values and footprints on the sheet, plus a notes block with input voltage range, expected current, revision, and date. Future you is a different person.
  • Run ERC (electrical rules check) and clear every violation or mark it deliberately. ERC catches unconnected pins, outputs tied together, and power pins with no driver.

Two checks ERC will not do for you: compare every pin number against the datasheet’s pinout diagram, especially on regulators, transistors, and connectors where pin 1 is not visually obvious; and confirm every no connect is intentional. A floating EN pin you assumed the tool would pull high is a board that never boots.

Power budget before layout

Write down the current each rail must supply before leaving the schematic. It decides trace widths later, and it often reveals that your regulator choice was optimistic.

RailLoadTypical current
3.3 VMCU + sensors, active20–80 mA
3.3 VMCU in deep sleep10 µA–1 mA
5 VUSB-powered peripheral100–500 mA
BatteryMotor or radio TX burst0.5–2 A

Burst numbers matter more than averages: a 2 A pulse for 2 ms will not overheat a trace, but it will dip the rail if the trace and decoupling are thin.

Step 2: assign footprints and verify them

A footprint is the physical land pattern a part occupies on copper; assign it from the schematic side so the mapping carries into layout. Default library footprints are right most of the time — and wrong often enough that checking is not optional:

  • Passives: 0805 and 0603 suit hand soldering. 0402 is fine for machine assembly and painful by hand. Match the footprint to how the board will be assembled, not to how dense you can make it.
  • ICs: open the datasheet’s recommended land pattern page and check pad pitch, pad width, and pin 1 marking against the footprint. A QFN with a missing thermal pad will not dissipate heat and may not solder at all.
  • Connectors and mounting hardware: measure the real part, or measure the mating part. USB and barrel jack footprints are common sources of off-by-one-millimeter errors.
  • Polarity: confirm diode cathode bands, electrolytic + markings, and LED anodes match the schematic symbol orientation.

If a part has no footprint, draw one from the datasheet dimensions. Add courtyard and silkscreen outlines so you can see collisions later.

Step 3: board outline and placement

Switch to the PCB editor and the first task is mechanical, not electrical.

Draw the board outline on the Edge.Cuts layer as a closed shape. Include mounting holes at the actual coordinates your enclosure requires, plus any cutouts, notches, or keep-out areas around connectors.

Place parts with the mechanical constraints first:

  • Connectors and anything a human touches go on the edges, oriented so cables leave the board cleanly, and keep tall parts away from the enclosure wall.
  • Group parts by function — MCU with its decoupling, analog front end together, power entry together — and keep heat-generating parts (regulators, drivers) away from temperature-sensitive ones.
  • Orient polarized parts consistently. Uniform orientation makes assembly faster and makes a reversed part visible at a glance.

Placement determines routing quality more than routing skill does. Ten minutes moving a decoupling cap 3 mm closer is worth more than an hour of clever trace weaving.

Step 4: routing, current, and clearance

Routing is where the electrical rules become physical.

Trace width for current

Current heats a trace. The width required depends on how much temperature rise you will accept. The empirical relationship from IPC-2221 is:

A = ( I / (k * dT^0.44) ) ^ (1 / 0.725)
width = A / copper_thickness

Where k = 0.048 for external layers and 0.024 for internal layers, I is current in amps, dT is temperature rise in °C, and A is cross-sectional area in square mils. With 1 oz copper (1.378 mil thick) and a 10 °C rise on an external layer:

CurrentRequired width
0.5 A0.12 mm (4.5 mil)
1 A0.30 mm (11.8 mil)
2 A0.78 mm (31 mil)
3 A1.37 mm (54 mil)
5 A2.76 mm (109 mil)

Two things to notice: the relationship is not linear, so doubling current more than doubles width, and internal traces need roughly 2.6× the width of external ones for the same current because FR-4 insulates them instead of air carrying heat away.

Signal traces carry essentially no current, so their width is a manufacturing question, not a thermal one. Use your fab’s minimum-plus margin: 0.2 mm (8 mil) is a comfortable default for signals, 0.5 mm for general power, and calculated widths for anything above an amp.

Clearance and the cheap-fab envelope

Fabs publish minimum trace and space. A typical two-layer prototype service reaches 0.10 mm / 0.10 mm (4 / 4 mil) at 1 oz copper, surcharges anything below about 0.127 mm (5 mil), and raises the minimum as copper weight grows — around 0.16 mm at 2 oz. Drills bottom out near 0.3 mm for standard pricing.

Design to 0.15 mm clearance and 0.2 mm traces, with 0.3 mm drills and 0.6 mm via pads unless you have a reason not to. That leaves margin for etch tolerance (finished trace width tolerance is commonly ±20%) and keeps the board in standard pricing.

Higher voltages need more clearance than the fab minimum. Keep at least 0.6 mm between a mains-referenced trace and anything low voltage, and more like 2–3 mm for real margin across humidity and contamination. If your board touches mains, read the applicable safety standard before guessing.

Routing practice

  • Route power and ground first, signals after.
  • Keep high-impedance and analog traces short and away from switching nodes.
  • Do not run a signal across a split in its reference plane. That forces the return current to detour, which is the most common source of mysterious EMI problems.
  • Vias are cheap: one every few centimeters on a long signal is fine, twenty on one 5 cm trace is not.

Ground planes and return paths

This is the part beginners skip and experienced designers obsess over.

Current flows in loops. Every signal sent down a trace returns through ground, and it takes the path of least inductance — directly underneath the trace, not through the nearest convenient via. Give it a solid, uninterrupted plane and a large fraction of your noise problems disappear.

Practical implications:

  1. Pour ground on both layers and stitch the pours together with vias along the edges, around connectors, and wherever a signal changes layers. Every 5–10 mm along the perimeter is plenty for everyday digital work.
  2. Do not route other nets through the plane if you can avoid it. Every gap in the plane is a detour for return current.
  3. Split planes only where you must. Mixing a noisy switching regulator’s return with a sensitive analog return in the same copper is a mistake; on a small board, a well-poured ground with careful placement usually beats a hand-carved split-plane scheme.
  4. Via the ground pin of every IC directly to the plane. A long ground trace to a distant via is an inductor in a place where you want zero.

Power and decoupling

Decoupling capacitors are not decoration. They supply the instantaneous current a chip demands during switching, which the power trace — with its inductance — cannot.

The rule of thumb:

  • 0.1 µF ceramic on every IC power pin, as close to the pin as the footprint allows, with a short via straight down to the ground plane. Not “somewhere on the rail.”
  • 1–10 µF ceramic per IC or per small block, for lower-frequency demand.
  • 10–100 µF bulk at power entry and near loads that switch hard (motors, radios, LED banks).
  • Regulator input and output caps where the datasheet specifies, with the recommended ESR if it names one. Some older LDOs oscillate with low-ESR ceramics.

Trace the power path on the board: entry → protection → regulator → bulk cap → distributed ceramics → pins. If a chip’s supply current has to pass through three other chips first, rework the placement.

Solder mask, silkscreen, and assembly layers

Three layers people treat as cosmetic until they matter:

  • Solder mask (the green or black coating) covers copper between pads, preventing solder bridges. It has a minimum web width between fine-pitch pads; your fab’s DFM will flag it if you exceed their limit.
  • Silkscreen carries reference designators, polarity marks, connector labels, and board version. Put + on electrolytic capacitors, a dot for pin 1, and labels on headers — you will need them while probing. Check that silkscreen does not land on pads; fabs clip it, and you end up with half a designator.
  • Paste layer defines stencil apertures for reflow assembly. It matters only if you are ordering assembly.

Assembly also needs fiducials: two or three 1 mm copper dots with 2 mm mask clearance, placed diagonally, for the pick-and-place vision system. Include them if you plan to use an assembly service.

Design rules and DRC

Set the design rule constraints once, at project creation, to match your chosen fab:

RuleSafe default
Minimum track width0.2 mm
Minimum clearance0.15 mm
Minimum via drill / diameter0.3 mm / 0.6 mm
Copper to board edge0.3 mm
Annular ring0.15 mm

Then run DRC after placement, after routing power, and again before plotting. Every violation needs a decision: fix it, or waive it with a note explaining why. A DRC with 40 unreviewed errors is a report you learn to ignore, which defeats the purpose.

Manufacturing outputs

Plot Gerbers (RS-274X) plus an Excellon drill file, then open them in an independent viewer — gerbv, or the fab’s own upload preview. Do not trust the editor’s 3D view; you are checking what the fab receives.

In the viewer, confirm the outline is present and closed, every layer has content, drill hits land in pads rather than beside them, top and bottom are not mirrored relative to each other, and silkscreen does not sit on exposed pads.

For assembly orders, add a BOM (reference, value, footprint, manufacturer part number) and a centroid/CPL file (reference, X, Y, rotation, side). Part numbers are where assembly goes wrong: a generic “10k 0805” resolves to whatever the assembler’s system picks — a 1% part or a 5%, a different height, or out of stock. Specify the MPN yourself.

Ordering and bring-up

Order a small batch — five or ten boards for a first revision. Paying for fifty of a design you have never powered on is a bet, not a saving. While you wait, assemble one board in stages:

  1. Continuity check before power. Probe ground to VCC for shorts. Thirty seconds, and it catches the most common fatal defect — a solder bridge under a QFN.
  2. Power only, no ICs if you can help it. Use a current-limited bench supply set just above your rail voltage with a low limit. Check the rail at the regulator output and at a few far points. Unexpected milliamps means something is wrong.
  3. Populate the regulator and MCU, verify the clock and a known output (blink an LED, toggle a pin you can see).
  4. Add peripherals one at a time, rechecking current draw each time, and write down what failed. Every revision gets easier because your checklist grows.

If a board does not work, resist the urge to reflow everything at once. Is the rail present? Is the MCU drawing current? Is the reset pin held low? Is the crystal oscillating? Layer by layer, not all at once.

What to check before you click order

Every footprint verified against its datasheet, ERC clean, DRC clean with no unexplained waivers, Gerbers reviewed in an independent viewer, outline closed, mounting holes at the right coordinates, drill sizes inside fab limits, BOM part numbers specified, revision on the board.

That takes ten minutes and prevents most expensive mistakes. The rest of PCB design — impedance, thermal vias, differential pairs, multilayer stackups — you will learn when a project finally needs it. The first board only needs correct footprints, honest current budgets, a continuous ground plane, and the patience to check before ordering.

Frequently asked questions

How much does a small prototype PCB cost?
Prototype fabs routinely produce 5 or 10 two-layer boards in the 10x10 cm class for very little money, often in the range of a few dollars plus shipping. Cost jumps when you add more layers, thicker copper, non-standard board sizes, surface finish upgrades such as ENIG, or assembly. Staying inside standard limits — two layers, 1.6 mm, 1 oz copper, 0.15 mm or larger traces and spaces — is the cheapest design you can order.
Should I learn KiCad or pay for a commercial EDA tool?
KiCad is free, open source, and fully capable of producing production boards; most hobby and small-volume commercial designs are made with it. Commercial tools add team features, advanced constraint managers, and better support for very high-speed or rigid-flex work. For a first board, the tool is not the limiting factor — the discipline of checking footprints and running DRC is.
How do I know if my board will work before ordering?
You cannot fully know, but you can remove most risk: run ERC and DRC with zero unexplained violations, review the plotted Gerbers in an independent viewer, and check every footprint against the datasheet land pattern. Then order a small batch and bring the first board up slowly with a current-limited supply rather than plugging it in.
Do I need a four-layer board?
For simple boards at DC or low frequencies, two layers with a solid ground pour is enough. Four layers become worth it when you have dense fine-pitch parts, controlled impedance, significant EMI concerns, or signals that need an uninterrupted reference plane. The cost difference at prototype volumes is small enough that moving to four layers purely for better ground integrity is often a reasonable trade.