Back to blog
PCB Design Guide Manufacturing

PCBs: The foundation behind modern electronics.

Almost every electronic device you own is built on a printed circuit board. Here's what's inside one, how it gets made, and why the layout matters as much as the circuit.

· 9 min read · XD TRONICS
$ ./pcb --inspect
base      FR-4 · 1.6 mm
copper    2 layers · 35 µm
mask      green
silk      white
vias      0.3 mm, plated
status    ready for parts_

XD TRONICS

A smartphone can shoot 4K video, hold a call with someone on the other side of the world and run billions of calculations every second.

Most people never see the part that makes all of that possible.

Take the back off almost any electronic device and you'll find it: a thin board, usually green, covered in tiny components and fine copper lines. It holds every part in place and connects them so they can work together.

That's a printed circuit board, or PCB.

At a glance it looks like a plain slab of fibreglass. It isn't. Every trace, hole and component position on it is there for a reason. Get them right and you have a product that works in the field, not just on the bench.

What is a PCB?

Before printed circuit boards, electronics were wired by hand. In a 1930s valve radio, every connection was a separate wire, soldered from one terminal to the next. It worked, but the sets were bulky and slow to build, and no two came out quite the same.

Paul Eisler, an Austrian engineer living as a refugee in London, started experimenting with printed circuits in 1936. By 1942 he had a working radio built on printed circuits, often described as the first device to use a PCB. Printed circuits went into wartime proximity fuses next, and over the following decades they replaced hand wiring in almost everything electronic.

A PCB swaps those loose wires for thin copper paths called traces, bonded to an insulating board. Most boards are built on FR-4, a stiff sheet of woven fibreglass held together with epoxy resin. The FR stands for flame retardant, and the most common thickness is 1.6 mm.

Think of a PCB as a road network. Traces are the roads, carrying power and signals between components. The components are the buildings along them: a microcontroller processes information, a capacitor stores energy and a transistor switches current on and off. On more complex boards, whole layers of copper called planes spread power across the board and give every part a shared ground.

Putting all the connections into one solid board makes circuits smaller and tidier. It also lets a factory build the same board a thousand times and get the same result.

What's inside a PCB?

A PCB looks like one solid board, but it's really a stack of materials, each with its own job. Here's a double-layer board in cross-section:

Inside a double-layer PCB A bare board in cross-section
A double-layer PCB in cross-section An FR-4 substrate in the middle has copper on both sides. On top, a trace runs from an exposed pad to a plated via, which carries the connection through the board to a trace on the bottom. Solder mask covers both sides except around the pad and the via, and a silkscreen label sits on top of the mask. Pad Silkscreen Via FR-4 substrate Solder mask Copper trace Open for soldering Printed labels Links the layers Fibreglass and epoxy Protective coating Carries the signal

Illustrative, not to scale. Teal is copper.

Substrate. The insulating core, usually FR-4. It gives the board its strength and keeps the copper on each side electrically separate.

Copper. Thin foil bonded to the substrate and etched into traces, pads and planes. Pads are the exposed patches where components get soldered. On a standard board the copper is about 35 µm thick, roughly half as thick as a human hair. The industry calls it 1 oz copper: one ounce of copper spread across a square foot.

Solder mask. The protective coating over most of the copper. It stops solder from bridging between neighbouring pads during assembly and protects the copper from corrosion and scratches. That familiar green comes from the mask, not the board underneath. Green is the default at most manufacturers, but blue, black, red and white boards are easy to order too.

Silkscreen. The printed labels on top of the mask: reference designators like R1, C4 and U2, part outlines, polarity marks and version numbers. They tell whoever assembles or repairs the board which part goes where. Often that's you, at 2am, with a multimeter.

Vias. Small plated holes that carry a connection from one copper layer to another, often just 0.3 mm across. In the drawing above, a via takes the signal from the top trace down to the bottom one.

Single, double or multilayer?

Not every product needs the same board. The number of copper layers comes down to how complex the circuit is, how much space you have, the electrical performance you need and your budget.

Single-layer

Copper on one side only. These boards are cheap and quick to make, which suits simple power supplies and beginner kits. With just one layer, traces can't cross each other, so designers sometimes add wire jumpers to hop over them.

Double-layer

Copper on both sides, linked by plated through-holes and vias. A trace can switch sides to get past another one, which makes routing far easier. Double-layer boards are the workhorse of everyday electronics. The Arduino Uno is one.

Multilayer

Three or more copper layers, separated by insulating material. In practice they're almost always built in even numbers (4, 6, 8 and up) so the stack is balanced and the board stays flat when heated. The extra layers make room for dense circuits. A common four-layer board uses its two inner layers as solid ground and power planes, which helps both power delivery and signal integrity. Your phone and your laptop both depend on boards like this.

More layers don't automatically make a better board, though. How the layers are stacked and where the signals run matter more than the count. A badly stacked six-layer board can be noisier than a well-planned two-layer one, and it costs more to make.

How a PCB gets made, step by step

Every board starts as a design file. Turning that file into working hardware takes five stages.

  1. 01

    Design the circuit.

    Start with a schematic: a diagram of the components in the circuit and every electrical connection between them. It tells you what connects to what, but not where anything goes on the board. That comes next.

  2. 02

    Lay out the board.

    In software such as KiCad or Altium Designer, the schematic becomes a physical layout: you place the components, route copper traces between them and set the board's outline and layer count. Heat, noise, mechanical clearances and the limits of the fab (the factory that makes the board) all shape those choices. When the design passes its design rule check, you export Gerber and drill files for the fab.

  3. 03

    Fabricate the bare board.

    The fab turns those files into a bare board. For a multilayer board, it etches the inner layers first and presses them together under heat. Then it drills the holes, plates them with copper so they connect the layers, and etches the outer copper. Solder mask, a surface finish on the pads and the silkscreen go on last.

  4. 04

    Assemble the components.

    Solder paste goes onto the pads through a stencil, a pick-and-place machine sets the surface-mount parts, and a reflow oven melts the paste into solid joints. Through-hole parts go through wave soldering or get soldered by hand. With its parts on, the board becomes a PCBA: a printed circuit board assembly.

  5. 05

    Inspect and test.

    Automated optical inspection (AOI) checks for solder bridges and missing or misplaced parts, and X-ray looks at the joints hidden under BGA chips. Then a functional test powers the board up and confirms it does its job. One bad joint can take down a whole device. Better to find it here than in a customer's hands.

The further a mistake travels through those five stages, the more it costs to fix. Moving a connector during layout takes a few minutes. Once the boards are assembled, it means ordering a new batch.

When the board works but the product doesn't

A circuit can work perfectly in simulation and still run into trouble once it's built.

Picture a team developing a small environmental monitor. The schematic is done, the boards come back from the fab and the first prototype powers up. Every reading looks right.

Then they try to fit it into the enclosure. The sensor cable's connector sits 2 mm too close to the wall, and there's no room to push the plug in.

All the electronics work, and the product still can't be assembled. Now the team has to move the connector, re-route the traces around it and order another round of boards.

Every hardware engineer has a story like this. Most have several.

A misplaced connector is one of the cheaper mistakes, too. Others cost a lot more:

  • Traces too narrow for their current run hot. By the classic IPC-2221 rule of thumb, a 0.3 mm outer-layer trace in 1 oz copper carries about 1 A for a 10 °C rise. At 3 A, it needs to be nearer 1.4 mm wide.
  • Poor signal routing lets noise into sensor readings and can break high-speed links like USB.
  • Weak thermal design cooks components. An electrolytic capacitor's expected life roughly halves for every 10 °C it runs hotter.
You can patch firmware after launch. Copper stays where you put it.

A good PCB design balances five things at once:

  • Electrical performance. Signals and power reach every part cleanly, at the right voltage.
  • Thermal management. Heat from hot parts and high-current traces has somewhere to go, usually through copper pours and thermal vias.
  • Mechanical fit. The board and its connectors fit the enclosure, with mounting holes where the case expects them.
  • Manufacturability. Trace widths and clearances stay inside the fab's limits, so every board comes out the same.
  • Reliability. The board keeps working in the conditions it will actually face, not just on a cool bench.

Getting these right on screen costs a few hours. Fixing them later costs new board revisions and, sometimes, failures in the field.

From breadboard to product

For students and hobbyists, a first PCB is a big step up from the breadboard. The tangle of jumper wires that falls apart when someone bumps the desk becomes a circuit that stays put. KiCad is free, and a small two-layer board makes a good first project. When your boards arrive, Soldering 101 will help you get the parts on.

For engineers and product teams, the PCB is one piece of a bigger system. It has to work with the firmware, fit the mechanical parts, survive assembly and keep working wherever the product ends up, whether that's a hot factory floor or a damp tea estate.

Every product puts its own demands on the layout:

  • A sensor needs accurate readings, so its signal traces stay well away from noisy switching circuits.
  • A wireless device needs room for its antenna. Espressif recommends mounting an ESP32 module so its PCB antenna hangs over the board edge, or else keeping 15 mm around it free of copper and components.
  • A compact controller has to fit its enclosure and still get rid of the heat from its regulators and motor drivers.

At XD TRONICS, one team designs the board, writes the firmware, models the enclosure and builds the assembly. So when a connector clashes with the case wall, we catch it on screen, not in the first batch of boards. Every design gets design-for-manufacturing (DFM) checks before it goes to the fab, and every assembly gets a functional test before it leaves.

The technology behind the technology

Most people know an electronic product by what it does. A phone by its camera, a medical device by its readings, an industrial controller by how many years it runs without a fault.

The board inside rarely gets a second thought. Yet behind every one of those features sits an arrangement of copper and components that someone planned trace by trace.

From a single blinking LED to a satellite, the PCB is what turns an electronic design into a device that works.

A PCB stays hidden inside the product. Its design shows up in everything the product does.

The XD TRONICS team


Designing your first board? The dev boards, sensors and components to build it are on the shelf.

Got a board to design or build? We handle everything from schematic to tested assembly: boards up to 10 layers, SMT down to 0402. Tell us about your project. A real person reads every email.

PCB Design Guide Manufacturing
More posts

Got a board to design?

Schematic, layout and assembly from one team. Prototypes from 5 working days.

Start a conversation