semiconductor.tools
Back to blog index
May 10, 202610 min readBy Lora Neumann

How to Design a PCB from Scratch: A Step-by-Step Beginner's Guide

# How to Design a PCB from Scratch: A Step-by-Step Beginner's Guide You've got an idea for an electronic project.

You've got an idea for an electronic project. You breadboarded it, it works, and now you want something permanent. Something professional. Something you can actually reproduce.

That means designing a PCB.

If you've never done it before, the process can feel overwhelming. There are a dozen steps, unfamiliar terminology, and the nagging fear that you'll spend $50 on boards that don't work. I get it — every engineer has been there.

This guide walks through the entire PCB design process from a blank screen to gerber files ready for fabrication. No assumptions about prior experience. Just the practical steps, the decisions you'll face, and the gotchas that trip people up.

The Big Picture

PCB design breaks down into roughly six phases:

  1. Requirements and component selection
  2. Schematic capture
  3. PCB layout and placement
  4. Routing
  5. Design rule check (DRC) and cleanup
  6. Manufacturing output (gerbers)

Let's walk through each one.

Step 1: Define What You Actually Need

Before you open any EDA tool, answer these questions on paper:

  • What does the board need to do?
  • What are the dimensions? Does it need to fit inside an enclosure?
  • How many layers? (For most beginners, 2 layers is the sweet spot)
  • What connectors and interfaces do you need?
  • What's your power source? Voltage levels?
  • Any environmental concerns (temperature, moisture, vibration)?

A common beginner mistake: Skipping this step and diving into layout. You end up redesigning halfway through because you forgot the mounting holes or chose components that don't fit.

Write it down. A simple table works:

Parameter Value
Board size 50mm × 80mm
Layers 2
Power input 5V USB
Microcontroller ATmega328P
Interfaces I2C, UART, 4 GPIO
Connectors USB-C, 2× JST-PH
Mounting 4× M3 holes

Step 2: Choose Your EDA Tool

You need software to design the PCB. Here are the main free options:

Tool Best For Platform
KiCad Open-source, no board size limits, growing community Windows, Mac, Linux
EasyEDA Beginners, tight JLCPCB integration Web-based
Fusion 360 (Electronics) Mechanical + electrical co-design Windows, Mac
DesignSpark Free Altium-like experience Windows

For most people starting out, I'd recommend KiCad. It's free, open-source, has no artificial limitations, and the community is excellent. Plus, the skills transfer directly if you later move to commercial tools.

Step 3: Schematic Capture

This is where you draw the circuit. Not the physical layout — just the logical connections.

Key Tasks

  1. Place components from libraries (symbols). If a part isn't in your library, you'll need to create or find its symbol and footprint.
  2. Wire them together with nets.
  3. Add power symbols and ground connections.
  4. Assign reference designators (R1, C1, U1, etc.) — most tools do this automatically.
  5. Annotate values: resistor values, capacitor values, part numbers.

Tips That Save Headaches

  • Use net labels instead of drawing wires across the entire schematic. A label like SDA is cleaner than a wire that snakes across three pages.
  • Decoupling caps go near every IC's power pins. Typically 100nF ceramic, placed physically close in layout.
  • Check your pin assignments against the datasheet. I once spent two days debugging a board because I swapped TX and RX on a UART header. Learn from my pain.
  • Run the electrical rules check (ERC) before moving to layout. It catches things like unconnected pins and shorted nets.

Common Schematic Symbols

Component Symbol Prefix Example
Resistor R R1 = 10kΩ
Capacitor C C1 = 100nF
Inductor L L1 = 10µH
Diode D D1 = 1N4148
LED D or LED LED1
Transistor Q Q1 = 2N7002
IC/MCU U U1 = ATmega328P
Connector J J1 = USB-C
Crystal Y Y1 = 16MHz

Step 4: Assign Footprints

Every schematic symbol needs a physical footprint — the actual copper pads and silkscreen outline that gets manufactured on the board.

This is where a lot of beginners get confused. The same IC can come in multiple packages:

  • ATmega328P-AU = TQFP-32 (surface mount, 7mm × 7mm)
  • ATmega328P-PU = DIP-28 (through-hole, 300mil)

Check the exact part number on your BOM and match the footprint. Mixing these up means your board is scrap.

Most EDA tools have built-in footprint libraries. KiCad's built-in libraries cover most common parts. For anything exotic, check SnapEDA or the manufacturer's website.

Step 5: PCB Layout — Component Placement

Now you're working with the physical board. This is where the rubber meets the road.

Board Outline

Define the board shape first. If you have an enclosure, get the exact dimensions from the mechanical drawing. Add mounting holes early — they're easy to forget and painful to squeeze in later.

Placement Strategy

Good placement makes routing easy. Bad placement makes it a nightmare. Here's my approach:

  1. Place connectors first. USB ports, headers, power jacks — these have fixed positions dictated by your enclosure or usability requirements.
  2. Place the main IC(s). Put the microcontroller or main processor roughly central, close to the connectors it talks to.
  3. Place supporting passives. Decoupling capacitors go right next to their IC's power pins. Pull-up resistors go near their bus.
  4. Place power components. Voltage regulators, inductors, diodes — keep the power path short and direct.
  5. Review placement critically. Can you route this without a dozen vias? Are the high-speed paths short? Are the decoupling caps actually close?

Spacing Rules

For a standard 2-layer board from most fabs, the minimums are:

Parameter Typical Min
Trace width 6 mil (0.15mm)
Trace spacing 6 mil (0.15mm)
Via diameter 0.6mm
Via drill 0.3mm
Pad to trace 6 mil

But just because you can go to 6 mil doesn't mean you should. Use 10 mil traces and 10 mil spacing when possible — it's more manufacturable and gives you margin.

Step 6: Routing

This is where you connect everything with copper traces. On a 2-layer board, you typically route one layer horizontally and the other vertically to avoid blocking yourself.

Routing Priority

Not all traces are equal. Route in this order:

  1. Power traces — wider to handle current. Use the PCB Trace Width Calculator to size them properly.
  2. High-speed signals — clocks, USB, SPI. Keep these short and direct.
  3. Critical analog signals — keep away from noisy digital traces.
  4. Everything else — GPIOs, LEDs, general signals.

Trace Width by Current

For 1oz copper on an external layer with 10°C rise above ambient:

Current Recommended Width
0.5A 10 mil
1A 25 mil
2A 50 mil
3A 80 mil

These are rough numbers. For anything safety-critical or high-current, calculate properly using IPC-2221.

Grounding on 2-Layer Boards

On a 2-layer board, dedicate the bottom layer mostly to ground. Route signals and power on the top, and when you need to route on the bottom, keep it short and let the ground pour fill back in around it.

Pour a ground plane on the bottom layer. This gives every signal a nearby return path, reduces EMI, and makes your life easier when debugging.

Step 7: Design Rule Check (DRC)

Run the DRC. Fix every single violation. No exceptions.

Common DRC catches:

  • Traces too close to pads or other traces
  • Unrouted connections
  • Drill holes outside the board outline
  • Overlapping silkscreen on pads
  • Missing connections

A clean DRC doesn't guarantee your board works. But a dirty DRC pretty much guarantees problems.

Step 8: Silkscreen and Labels

Add these to your silkscreen layer:

  • Reference designators for every component
  • Part values for key components (or polarities for diodes/caps)
  • Board name and revision (e.g., "MotorCtrl v1.2")
  • Pin 1 indicators for ICs and connectors
  • Test point labels if you added test points
  • Your name or logo (optional, but satisfying)

Keep silkscreen off pads and vias — the fab will clip it, but it looks messy.

Step 9: Generate Gerber Files and Order

Gerber files are the standard format that PCB manufacturers use. Your EDA tool has a "generate gerbers" or "plot" function.

What You'll Send to the Fab

File Layer
.GTL Top copper
.GBL Bottom copper
.GTS Top solder mask
.GBS Bottom solder mask
.GTO Top silkscreen
.GBO Bottom silkscreen
.GKO Board outline
.XLN or .TXT Drill file

Most fabs (JLCPCB, PCBWay, OSH Park) accept a zip of these files. Upload, pick your options, and order.

Recommended First-Order Settings

  • Layers: 2
  • Thickness: 1.6mm (standard)
  • Copper weight: 1oz
  • Surface finish: HASL (cheap and fine for prototyping) or ENIG (if you have fine-pitch components)
  • Solder mask color: Any (green is cheapest, but go wild)
  • Minimum order: 5 boards is typical

A 2-layer 50mm × 80mm board from JLCPCB costs about $2 for 5 pieces (plus shipping). Prototyping is cheap — there's no excuse not to.

Common Beginner Mistakes to Avoid

Mistake Consequence Fix
No decoupling caps Unstable MCU, random resets 100nF cap per IC power pin
Wrong footprint Component doesn't fit board Triple-check part number vs footprint
Traces too thin for power Overheating, voltage drop Use trace width calculator
No ground plane EMI issues, noisy signals Pour ground on bottom layer
Silkscreen on pads Unreadable labels Keep silkscreen clear of pads
Forgetting test points Can't debug the board Add at least power, ground, and key signals
Not checking pin 1 orientation ICs soldered backward Mark pin 1 clearly in schematic and layout

What Comes Next

After you get your boards back:

  1. Inspect them under magnification for manufacturing defects
  2. Check continuity on power rails before plugging anything in
  3. Solder the lowest-profile parts first (resistors, caps), then taller parts
  4. Test power rails first — measure voltages before installing the expensive IC
  5. Debug systematically — start from power, then clock, then communication, then functionality

Your first board probably won't be perfect. That's normal. You'll need a revision. But each iteration teaches you something, and by v2 or v3, you'll have something solid.

The Calculators That Help

Throughout the design process, you'll need to calculate trace widths, current capacity, pull-up resistor values, and more. We built a set of free calculators for exactly this:

Want to skip the manual math on trace widths and current capacity? Try the PCB Trace Width Calculator — it runs entirely in your browser, uses IPC-2221 and IPC-2152 formulas, and lets you export results as PDF.

Welcome to the world of PCB design. Your first board is going to feel pretty great when it shows up in the mail.