PCB design: from schematic to a board you can order

A printed circuit board (PCB) carries the parts of your product and connects them with copper traces. Its design decides whether the product works, whether it can be manufactured and what it costs per unit. This article covers how a board is designed, which choices drive the price and which files a manufacturer needs from you.

About 7 minutes to read · Updated

What a circuit board does

A circuit board is made of copper layers with insulating material between them. Traces etched into the copper connect the parts. Small plated holes, called vias, connect the layers to each other. The parts are soldered onto pads on the top or bottom side.

Board design is one of the steps in electronics development. It follows the schematic and comes before the prototype.

From schematic to layout

  1. Schematic. All parts and their connections, checked with an electrical rule check (ERC).
  2. Footprints. Each part gets the solder pattern that matches its package. A wrong footprint is one of the most common reasons for an extra board spin.
  3. Outline and stack-up. The board outline, mounting holes, connector positions and number of layers.
  4. Placement. Parts that belong together are placed together. Decoupling capacitors close to the chip, the antenna at the edge, the power supply away from sensitive measurements.
  5. Routing. The connections become copper traces. Power traces wide enough for the current, fast signals short and above a continuous ground plane.
  6. Checks. Design rule checks (DRC) test the layout against the manufacturer's rules, and an engineer reviews the layout.
  7. Manufacturing files. The files a manufacturer uses to make and assemble the board.

How many layers

The layer count is the choice with the most influence on the price per board and on how the circuit behaves.

LayersSuited toKeep in mind
2Simple circuits, low speeds, few partsCheapest. No full ground plane, so more sensitive to interference.
4A microcontroller with sensors and a wireless linkDedicated layers for ground and power. The usual choice for most embedded products.
6 or moreFast interfaces, processors with many closely spaced connectionsMore expensive, with a longer lead time. Only when the design asks for it.
Rules of thumb. The right stack-up depends on your circuit and your manufacturer.

Designing for the manufacturer

Every manufacturer publishes what it can make: the smallest trace width, the smallest spacing between traces, the smallest drill diameter. A design that stays within those limits is cheaper and has less scrap. This is design for manufacturing (DFM).

Assembly has its own rules (DFA): enough room between parts, all parts on one side where possible, fiducial marks the placement machine uses to locate the board, and test points a probe can reach.

Part selection belongs here too. A part with a single supplier or poor availability can stop your production for months. Choose parts you can buy today, and record the manufacturer part number in the bill of materials.

The manufacturing files

Gerber
One file per layer: copper, solder mask, silkscreen and outline.
Drill file
The position and diameter of every hole.
Bill of materials
Every part with quantity, value and manufacturer part number.
Pick-and-place
The position and rotation of every part, for the placement machine.
Assembly drawing
A drawing showing which part goes where.

Besides these files, always ask for the source files of the schematic and layout. Without them you can have the board copied, but not changed.

Mistakes that cost an extra board spin

  • A footprint that does not match the part, or is mirrored.
  • A connector with swapped pins.
  • A microcontroller pin that does not support the chosen function.
  • No way to flash or debug the firmware once the board is in its enclosure.
  • An antenna with copper or metal too close to it.
  • No test points on the signals you want to measure when something fails.
  • A power supply that cannot deliver the peak current of the wireless module.

Most of these can be found before the board is ordered. That takes a second pair of eyes on the schematic and layout, and firmware that runs on the real microcontroller early, so the pin choices are tested before the board exists.

How HERSMEED does it

HERSMEED designs the schematic and the board from the specification you approved, with parts you can buy today. Electrical checks and design rule checks test the design against your manufacturer's rules, and an engineer reviews every schematic and layout. You receive the schematic, the layout with source files, the manufacturing files, the bill of materials and the assembly drawing. How it works shows each step.

Frequently asked questions

What is the difference between a PCB and a PCBA?

A PCB is the bare board: layers of copper and insulating material with holes and solder pads. A PCBA is the same board with all parts soldered on. The bare-board manufacturer and the assembler can be two different companies.

How many layers does my board need?

Two layers are enough for simple circuits. A design with a microcontroller and a wireless link often gets four layers, because a continuous ground plane limits interference and makes routing easier. Six layers or more are needed for fast signals or parts with many closely spaced connections.

What does a PCB design cost?

By the hour it depends on the hours needed: a freelance engineer in the Netherlands charges €90 an hour on average, a specialist consultancy up to €125. At HERSMEED the design of the prototype board is part of the fixed €15,000 for the prototype, together with the firmware.

Which files does a manufacturer need?

For the bare board, the Gerber files and the drill file. For assembly also the bill of materials with manufacturer part numbers, the pick-and-place file and an assembly drawing.

Who orders the boards?

You choose the manufacturer. HERSMEED delivers everything needed to order, and orders the boards for you on request. Manufacturing and delivery are outside our time estimate.

Next step

A circuit board you can order

Plan a call about your product. Within a week you have a specification and a fixed price. The prototype of a standard project is ready to order in about four weeks.