How to trace a PCB

Handbook·12 min read

Work out what a circuit board does when nobody gave you its design: scan both sides, follow each connection with a multimeter, number the nets and redraw them as a schematic.

You’re holding a circuit board you didn’t design and nobody gave you its drawings. The chip markings you can look up, but the circuit you have to rebuild yourself: which pin connects to which, why a particular resistor sits beside a particular chip, what the small parts around the crystal are for.

Tracing is closer to reading than to soldering. You find every connection, write it down as a list of what joins what, and then redraw that list as a schematic that explains the design. Work from the least invasive method to the most, and stop as soon as you know enough to answer your question.

Scan both sides

Before you touch the board with anything, scan it. A flatbed scanner at 600 dpi gives a flat, evenly lit and undistorted image that a phone photo can’t match, and it lets you print the board at any size later. Scan the top, turn the board over along its long edge, and scan the bottom.

The component side of a scanner's main board, with its chips, capacitors and connectors
Photo: Mister rf, CC BY-SA 4.0, via Wikimedia Commons
The solder side of the same board, showing its tracks, vias and part labels
Photo: Mister rf, CC BY-SA 4.0, via Wikimedia Commons

Mirror the bottom scan in any image editor so that it reads as if you were looking through the board from the top. Line the two images up by the mounting holes and scale them to match. Now a track that dives through a via on the top can be followed straight into the bottom image at the same spot.

topbottom, mirroredboth, lined up

Hold it up to a light

Hold the board up to a bright light, a phone torch or a window. The board material lets light through and copper doesn’t, so you see a shadow map of the copper on every layer at once. Large dark areas are copper fills, usually ground or power; thin dark lines are signal tracks; bright areas have no copper at all.

A two-layer board held up to daylight, with its tracks showing through and connections drawn over them in black and green
Photo: cyphunk, CC BY-SA 2.0, via Flickr

This alone sorts many pins into three groups: joined to a fill, joined to a track, or joined to nothing. On a four-pin header, the two pins that run into fills are probably ground and power, and the two with thin tracks carry signals. On a board with four or more layers the inner copper blocks most of the light, so you may see little, but it costs nothing to try.

Learn what the beep means

capacitorcoilsmall resistorlarge resistordiode, one waydiode, reversedprobes touchtime

Set your multimeter to continuity, the mode that beeps, and touch the probes together to check it works. A steady beep means the two points are connected through very little resistance; silence means they aren’t. Always do this with the board unpowered and any large capacitors discharged, because a powered board gives false readings everywhere and can damage the meter.

Four kinds of part will mislead you until you know how they behave. A capacitor beeps for a moment as it charges and then goes quiet, which is not a connection. A coil beeps steadily, because to the meter it’s just a length of wire. A small resistor beeps and a large one doesn’t; the exact limit depends on your meter, and its manual gives the figure. A diode conducts in one direction only, so it beeps one way round and stays silent when you swap the probes.

When you need to know whether two points connect through a resistor, switch to resistance mode and read the value instead.

Follow one net at a time

A net is every point that’s connected together: a chip pin, the track leaving it, the via it passes through and the pads it ends on. Tracing a board means finding every net, one at a time.

J1U1R1C11342265746113531

Print the two scans large, big enough that each pad is about the size of your fingernail. Hold one probe on a point you know, a connector pin or a labelled test pad, and touch the other probe to each pad in turn, resting on each for half a second; dragging the probe along a row of pins misses connections. Every pad that beeps belongs to the same net. Give the net a number and write it beside every one of those pads on the printout.

Write after every beep, not at the end of a row, and write on the printout rather than on a separate sheet, because a note’s position on the board is what makes it useful. When every pad has a number, you have a netlist, the complete list of what connects to what.

Find ground and power first

Ground is the biggest net on almost every board, so trace it first and every later beep makes more sense. Start from the largest copper fill, the metal shell of a connector or the negative terminal of the battery, and mark every pad that beeps to it.

Power comes next. Find the chip that makes each supply voltage, usually a regulator near the power input, and follow its output to every chip it feeds. Nearly every chip has a small capacitor sitting right beside its power pin and joined to ground, so once you’ve found ground, those capacitors point you to the power pins.

Recognise the common blocks

Most boards are built from the same handful of small circuits, and once you know them you can read a board in blocks rather than in parts.

What you seeWhat it usually is
A metal can or small rectangle with a tiny capacitor at each end, beside the main chipA crystal, setting the chip’s clock
A three-pin part with a capacitor on each sideA linear regulator, making a lower voltage from a higher one
A coil and a capacitor beside a chip, near the power inputA switching regulator
Two resistors in series from a supply to ground, the middle going to a chipA voltage divider, for feedback or for measuring a voltage
A row of identical resistors between a chip and a connectorPull-up or series resistors on a bus

Treat each match as a lead, and confirm it against the datasheet of the chip it connects to.

Redraw it by function

U1L1C1C2R1R2C2C1U1L1R1R2inoutwhere the parts sitwhat they do

Draw the schematic twice. First draw each part where it sits on the board, with its nets, which gives you a map that’s easy to check against the printout. Then redraw it by function: power coming in at the top left, ground along the bottom, signals flowing from left to right, the main chip in the middle. Moving every part to where it belongs in the circuit forces you to work out what each one is for.

Start the second drawing from the parts you can identify. A regulator has a datasheet, and its input, output and feedback pins name three nets for you; everything joined to those nets is now named too. Work outwards from there, and leave blank what you can’t explain yet.

Trace the important parts first

A full trace of a complex board can take weeks, and you rarely need one. Trace in this order and stop when you can answer your question:

  1. The power input, its fuse and its reverse-polarity protection
  2. The regulators and their feedback resistors
  3. The main chip’s power and ground pins
  4. The crystal and the reset circuit
  5. The connectors and the lines between chips (UART, SPI, I²C, USB)
  6. Anything the datasheets don’t explain

Leave the dozens of small capacitors on the power lines for later; count roughly how many sit on each supply and move on.

Check what you’ve drawn

Every net should end on at least two pins, so a net with one pin means you’ve missed a connection. Compare each block with the reference circuit in its chip’s datasheet, since most designs copy it closely and a difference is either a mistake in your trace or something the designer did on purpose. If you draw the schematic in KiCad, its electrical rules check catches pins left floating and outputs wired together.

Your schematic won’t match the maker’s files, and it may have gaps. Mark what you confirmed and what you guessed, publish it with your scans, and the next person can check your work and fill in what you left blank.