← Wiki · Concept

How a PCB is made

A board is a sandwich of glass fibre, copper, solder mask and print. The factory builds it from your Gerber and drill files, and an assembly house adds the parts from a BOM and a placement file.

What a board is made of#

Layer What it is
Core (FR-4) Glass fibre in epoxy resin: stiff, and it does not conduct. Usually 1.6 mm thick.
Copper A thin foil on each side (35 µm is common), etched away so that only tracks, pads and pours remain.
Solder mask A lacquer over the copper, usually green, open only at the pads. It keeps solder where it belongs and protects the copper.
Silkscreen Printed text and outlines: references, polarity marks, your logo.

A 2-layer board has copper on the top and on the bottom. A 4-layer board has two more copper layers inside, often used for ground and power. Bare pads get a thin coat of solder or gold, so they do not oxidise and solder well.

Holes and the outline#

  • Via: a small plated hole that carries a connection from one copper layer to another.
  • Plated hole: a hole with a copper wall for the leg of a through-hole part. Solder joins the leg to the copper.
  • Non-plated hole: just drilled, for a screw or a plastic peg.
  • Edge cuts: the outline of your board. The factory makes many boards on one large panel and mills each one out along this line.

What the factory does#

Roughly, in this order:

  1. Drills the holes and plates them with copper.
  2. Prints your copper pattern and etches away the rest.
  3. Adds the solder mask, the coat on the pads and the silkscreen.
  4. Tests the connections and cuts the boards out of the panel.

The files you send#

File What it says
Gerber files One picture per layer: each copper layer, the solder mask, the silkscreen, the outline.
Drill file The position and the size of every hole.
BOM (bill of materials) Which part belongs to which reference, with its order number.
Pick-and-place file (also CPL or centroid) The position, the side and the rotation of every part.

A bare board needs the first two. For assembly the factory needs all four. The export in SolderCanvas writes Gerbers, drills, BOM and placement together.

Example circuit: On a board made from this circuit the resistors and LEDs sit on SMD pads in the top copper, and the header J1 goes into two plated holes.
On a board made from this circuit the resistors and LEDs sit on SMD pads in the top copper, and the header J1 goes into two plated holes. Open the led_gpio example from this page in SolderCanvas: “Insert into my schematic”.

Good to know#

  • Every factory has a smallest track, gap and hole it can make. The design rule check (DRC) compares your board with them; see track width.
  • A ground pour leaves most of the copper on the board, which is good for the circuit.
  • Assembly machines place SMD parts. Through-hole parts are often soldered by hand, by the assembly house or by you.
  • Before you pay, check the polarity and the rotation of diodes, LEDs and chips in the factory’s preview.