A green circuit board with fine traces, a small chip and a row of tiny components under soft light

Start with the outline, not the schematic

A board in a product is first of all a shape that has to fit a case. Before placing parts, fix the outline, the mounting holes, the connector positions that must line up with openings, and the height limits set by the enclosure. A mechanical drawing exchanged between the electronics and the case designers, in both directions, avoids a classic late surprise: a connector that sits two millimeters off its cut-out.

This is the same fit problem discussed in tolerance stack-up, just seen from the circuit side.

How many layers

Simple boards can be done in two layers, with signals on both sides. Once a design has fast signals, many power rails or tight space, four layers become attractive: two inner layers are given to a solid ground and a power plane, which makes routing easier and the board quieter. Extra layers cost more, so the choice is a trade between price and effort. A standard board thickness of 1.6 mm is common, and one ounce copper, about 35 micrometers thick, is a usual default.

Fabricators publish the capabilities of each service, such as minimum trace width, spacing and drill size. Read them before routing, not after.

Ground, power and decoupling: PCB layout guidelines

Most noise problems are return-path problems. Current flows in loops, and the loop should be small. A continuous ground plane under signal traces gives return currents a short, predictable path. Avoid cutting that plane with long slots, and avoid routing fast traces across a split.

Place a small decoupling capacitor close to the power pins of each integrated circuit, with short connections to the pin and to ground. The capacitor supplies brief current demands locally so they do not travel across the board.

Placement and heat

Group parts by function, keep sensitive analog sections away from switching regulators and radio antennas, and give antennas the clear area their datasheet or reference design asks for. Power parts make heat, so give them copper area and room for air, and remember that the plastic case around them is an insulator.

Think about the person assembling and testing the board: leave test points, orient similar parts the same way and keep clearance around connectors.

PCB design software for beginners, standards and fabrication notes

Generic board design is covered by industry standards such as the IPC-2221 family, which fabricators and assemblers know well. For tools, KiCad is a free and open source suite that handles schematics, layout and output files, and many commercial packages exist as well. Whatever you use, run the design rule check against your chosen fabricator's rules and read the preview of the output files before ordering.

Order a small batch first. A board is a prototype until it has been powered up, measured and fitted into its case.

Silkscreen and board graphics

The printed layer on a board is a small piece of product graphics: reference labels, polarity marks, a revision number. Keep it readable and away from pads. Clear labelling helps assembly, testing and repair, and a version marker on every spin saves confusion when several revisions sit in the same drawer. When the board becomes part of a product, see how the build stages check it again.