Basics of PCB Design: Your Ultimate Guide
Back to Blog

Basics of PCB Design: Your Ultimate Guide

Royal Lewis
2023-02-23

Let me guess, right now, you're using an electronic device with a PCB in it.

So you want to design your own circuit board? Whether you're building a simple LED blinker or a complex microcontroller project, understanding PCB design basics will take you from breadboard prototype to professional-looking board. Let's walk through everything you need to know.

The PCB Design Flow

PCB design follows a logical progression from idea to manufacturing-ready files:

1. Schematic Capture

The schematic is your circuit's blueprint—a diagram showing components and their electrical connections. Every PCB starts here. Get the schematic right, and the layout follows naturally. Get it wrong, and you'll be redesigning later.

2. Component Selection

Choose real, purchasable components. Consider:

  • Availability: Can you actually buy these parts?
  • Package size: SMD vs through-hole, footprint dimensions
  • Specifications: Voltage ratings, power handling, tolerances
  • Cost: Especially for production quantities

3. Board Outline and Stackup

Define the physical board:

  • Size and shape: Constrained by enclosure or application
  • Layer count: 2 layers for simple designs, 4+ for complex ones
  • Thickness: Standard 1.6mm, or thinner/thicker as needed
  • Copper weight: 1oz standard, heavier for power

4. Component Placement

Position components on the board. Good placement makes routing easier:

  • Group related components together
  • Place connectors at board edges
  • Consider thermal requirements
  • Allow space for assembly and rework

5. Routing

Connect components according to the schematic:

  • Power and ground first
  • Critical signals next
  • Fill in remaining connections
  • Check for errors and rule violations

6. Design Review and Output

Verify the design and generate manufacturing files (Gerbers, drill files, BOM, placement data).

Understanding the Schematic

A schematic uses symbols to represent components and lines to show connections:

Essential symbols to know:

  • Resistors: Zigzag or rectangle
  • Capacitors: Two parallel lines
  • Inductors: Coiled line
  • Diodes: Triangle pointing to a line
  • Transistors: Varied symbols for BJT, MOSFET
  • ICs: Rectangles with labeled pins

Key schematic concepts:

  • Nets: Connections between pins (all points on a net are electrically connected)
  • Power symbols: VCC, VDD, GND, etc. (all same-name symbols connect)
  • Hierarchical design: Breaking complex circuits into manageable blocks

Board Layers Explained

Two-Layer Boards

Simplest and cheapest. Copper on top and bottom, connected by vias:

  • Top layer: Components and traces
  • Bottom layer: Additional traces, ground plane

Good for simple circuits, hobbyist projects, and cost-sensitive applications.

Four-Layer Boards

The sweet spot for many designs:

  • Top: Signal traces and components
  • Layer 2: Ground plane
  • Layer 3: Power plane
  • Bottom: Signal traces and components

Dedicated planes improve power distribution and signal integrity.

Six+ Layer Boards

For complex, high-speed, or high-density designs. Each additional layer pair adds routing capacity and can include additional power or ground planes.

Component Placement Guidelines

Good placement is half the battle:

Group by Function

Keep related circuits together:

  • Power supply components in one area
  • Microcontroller and its peripherals nearby
  • Analog sections separated from digital

Consider Signal Flow

Arrange components to follow the logical signal path, minimizing crossing signals and long traces.

Thermal Considerations

  • Hot components (regulators, power transistors) near board edges or with good airflow
  • Sensitive components away from heat sources
  • Space for heatsinks where needed

Manufacturing Constraints

  • Adequate space between components for assembly
  • Components away from board edges (typically 1-2mm minimum)
  • Test points accessible for probing

Routing Essentials

Trace Width

Wider traces carry more current with less resistance and voltage drop. Use a trace width calculator to determine appropriate widths for your current requirements.

Via Usage

Vias connect layers:

  • Through-hole vias: Standard, punch through entire board
  • Blind vias: Connect outer layer to inner layer
  • Buried vias: Connect inner layers only
  • Microvias: Small vias for HDI designs

Clearance and Spacing

Maintain adequate clearance between:

  • Traces to traces
  • Traces to pads
  • Traces to board edges
  • Traces to vias

Typical minimums: 6-8 mils (0.15-0.2mm) for standard manufacturing.

Avoiding Problems

  • Acute angles: Use 45° or 90° bends, not sharp angles
  • Stub traces: Avoid dangling trace ends
  • Ground loops: Use continuous ground planes
  • Crossed signals: Minimize, especially for sensitive signals

Power Distribution

Power and ground deserve special attention:

Power Planes

For 4+ layer boards, dedicate layers to power and ground. This provides:

  • Low impedance power distribution
  • Return path for high-frequency signals
  • EMI shielding

Decoupling Capacitors

Every IC needs decoupling capacitors near its power pins:

  • 100nF ceramic capacitors for general decoupling
  • Larger values (10-100µF) for bulk capacitance
  • Place as close to IC power pins as possible

Power Trace Sizing

Calculate current requirements and size traces accordingly. Don't forget return current through ground.

Design Rules

Set design rules matching your manufacturer's capabilities:

Typical capabilities (standard manufacturers):

  • Minimum trace width: 6 mils (0.15mm)
  • Minimum spacing: 6 mils (0.15mm)
  • Minimum drill size: 0.3mm
  • Minimum annular ring: 0.15mm

Tighter tolerances cost more and may not be available from all manufacturers. Check capabilities before finalizing design.

Design Verification

Before ordering, verify your design:

Design Rule Check (DRC)

The software checks for rule violations—spacing errors, unconnected nets, overlapping objects. Fix all DRC errors.

Electrical Rule Check (ERC)

Verifies electrical connectivity—floating inputs, shorted outputs, missing connections.

Visual Review

  • 3D view to check component fit
  • Print at 1:1 scale to verify footprints
  • Review silkscreen for readability
  • Check all mounting holes and cutouts

Generating Output Files

Manufacturers need specific files:

Gerber files: Industry-standard format for PCB layers:

  • Top/bottom copper
  • Top/bottom solder mask
  • Top/bottom silkscreen
  • Board outline

Drill files: Specify hole locations and sizes

BOM (Bill of Materials): Component list for assembly

Placement files: Component positions and orientations

Choosing Design Software

Free Options

KiCad: Powerful, open-source, no limitations. Great documentation and active community.

EasyEDA: Browser-based, beginner-friendly. Integrated with LCSC components and JLCPCB manufacturing.

Commercial Options

Altium Designer: Industry standard. Expensive but comprehensive.

Eagle: Popular among hobbyists. Free tier available.

OrCAD: Strong simulation capabilities.

Common Beginner Mistakes

Insufficient planning: Rushing to layout before finalizing schematic.

Wrong footprints: Components don't fit the pads. Always verify footprints.

Ignoring thermals: Components overheat from inadequate thermal design.

Poor power distribution: Voltage drops causing problems.

No test points: Can't debug the assembled board.

Forgetting mechanicals: Board doesn't fit the enclosure.

Tips for Success

  1. Start simple: Your first PCB shouldn't be your most complex design.

  2. Use reference designs: Chip manufacturers provide example layouts—use them.

  3. Check footprints carefully: Measure physical components if uncertain.

  4. Review, review, review: Fresh eyes catch mistakes.

  5. Order from reputable manufacturers: Cheap isn't always best.

  6. Build prototypes: Test before ordering production quantities.

Conclusion

PCB design is a learnable skill. Start with simple projects, follow established guidelines, and learn from each design. Modern tools make it easier than ever to create professional-quality boards.

The best way to learn? Design something. Build it. Debug it. Improve it. Each iteration makes you a better designer.

Need Help with Your PCB Design?

Check out our free calculators and tools for electronics engineers.

Browse PCB Tools