Learn & build · Electronics · Chapter 15

Hands-on

Every circuit so far lived in a simulator. This chapter is about the bench: where the parts plug in, how to measure without breaking the meter, how to make a solder joint that lasts, how to get an oscilloscope to show the truth, and how a circuit becomes a board you can order. Each skill has its own small game below, and each game teaches the mistake that everyone makes once.

A first kit (about $100 all in): a multimeter with auto-range, a full-size breadboard and jumper wires, an assortment of resistors, capacitors and LEDs, a temperature-controlled soldering iron, 0.8 mm solder and a flux pen, flush cutters, and a $10 USB logic analyzer that runs with the free PulseView software, which reads chapter 13's buses off real wires.

1. The breadboard: which holes are connected

Under the plastic, metal clips join the holes in short groups. Each column of five (a–e, and separately f–j) is one node; the long rails along the edges run the whole length, for the supply and ground. The gap down the middle is where a chip sits, so each of its pins gets its own column. Click any hole to light up everything connected to it.

🎯 Challenge: place an LED so it's shorted (it never lights), then place one correctly.

2. The multimeter: where the probes go

Three rules cover nearly every mistake. Voltage is measured across a part, in parallel: the meter's 10 MΩ input barely disturbs anything. Current is measured in series: you break the circuit and let the current flow through the meter, whose 0.1 Ω shunt is almost a wire. So an ammeter placed across anything is a short circuit. Resistance is measured with the power off: the meter pushes its own small current and the circuit's voltages would swamp it. Try them all on a 9 V battery, a 1 kΩ resistor and an LED.

🎯 Challenge: measure the resistor's voltage and the loop's current correctly, without blowing the meter's fuse or the LED.

The LED drops 2 V. What current (in mA) does the meter read in series with the 1 kΩ resistor and the 9 V battery?

\((9 - 2)\,\text{V} / 1000\,Ω = 7\) mA. And the resistor's voltage is the other 7 V: the meter readings agree with each other, which is the best check that you measured right.

Voltage across a part, current through it in series, resistance with the power off; then check that the readings agree with each other.

Why does an ammeter across a battery blow its fuse?
  1. On its current range the meter is a 0.1 Ω shunt: nearly a wire.
  2. Across a 9 V battery, the only other resistance in the loop is the battery's own, about 1.5 Ω (chapter 5).
  3. So \(I = 9 / (1.5 + 0.1) \approx 5.6\) A flows, while the fuse on a meter's milliamp range is usually rated for a fraction of an amp.
  4. The fuse melts, which is its job: without it the shunt or the probes would. A lithium cell, with far less resistance inside, pushes far more.
Where it breaks: the meter becomes part of the circuit

"The 10 MΩ input barely disturbs anything" holds only while the circuit's own resistances are much smaller. The meter sits in parallel with what it measures, which is chapter 1's loaded divider. Measure the middle of a divider of two equal resistors on 9 V; it should read 4.5 V:

If a reading looks wrong in a high-resistance circuit, the meter may be the cause. Compare the resistances before you trust the number.

3. Soldering: heat the joint, not the solder

Solder is a metal alloy that melts at a low temperature: lead-free SAC305 at about 217 °C, the old tin-lead 63/37 at 183 °C. It only bonds to metal that is itself above that temperature, which is why you touch the iron to the pad and the lead together, wait a second or two for them to heat, and feed the solder into the joint (not onto the iron). The flux inside the solder cleans the metal as it melts. Good: a shiny, concave cone, like a little volcano. Bad: a ball sitting on top (a cold joint, the solder never wet the pad), or a pad cooked so long it lifts off the board.

🎯 Challenge: make three good joints in a row.

Your joints keep coming out as dull balls on top of the pad. The solder melts fine on the iron. What's wrong?

Solder melting on the iron only proves the iron is hot. The pad and lead have to reach the melting point too, or the solder can't wet them. A small blob of fresh solder on the iron's tip (a "heat bridge") helps get heat into the joint faster.

4. The oscilloscope: getting a stable, honest picture

A scope draws voltage against time, but a repeating signal only stands still on the screen if each sweep starts at the same point in the wave. The trigger does that: it waits until the signal crosses a level (on a rising edge, say) and starts the sweep there. Set the level outside the signal's range and it never fires: the picture rolls or smears. Drag the level.

The probe matters too. A 1× probe loads the circuit with its whole cable capacitance (about 100 pF) and rounds off anything fast; a 10× probe divides the signal by ten and loads it ten times less. And the long ground clip is a loop of wire, an inductor (chapter 3) that rings with the probe's capacitance: fast edges grow fake overshoot. A short ground spring on the probe tip makes it go away. Here's a 5 MHz square wave from a microcontroller pin.

You see 40% overshoot and ringing on a digital signal. Before you blame the circuit, what should you check?

The probe's ground. Swap the clip for the ground spring (or a very short wire) right at the point you're measuring, and see whether the ringing shrinks. If it does, the circuit was fine all along. Measurement first, then debugging.

5. From schematic to PCB (KiCad)

A breadboard is for trying; a printed circuit board is for keeping. The free KiCad suite takes you through it in a fixed order:

  1. Schematic: draw the circuit with symbols (what you've seen all course). Run the electrical rules check: unconnected pins, two outputs driving one net.
  2. Footprints: pick the physical package for each symbol: a 0805 resistor, a SOT-23 MOSFET, a through-hole header. Check it against the datasheet's drawing (chapter 5).
  3. Layout: place the parts (connectors at the edges, decoupling capacitors right next to each chip's power pin), then route copper traces between pads following the "ratsnest" lines. Fill a layer with a ground plane.
  4. Design rules check: traces too close, too thin for the factory, unrouted nets.
  5. Gerbers: export one file per layer plus a drill file, zip them, upload to a board house. Five boards for a few dollars, in about a week.

A trace is a resistor, and if it's too thin for its current it heats up. The industry rule of thumb (IPC-2221) gives the copper cross-section \(A\) (in square mils) for a current \(I\) and an allowed temperature rise \(\Delta T\): \(I = k\,\Delta T^{0.44} A^{0.725}\), with \(k = 0.048\) for outer layers. Size one:

Set 1 A, 10 °C rise, 1 oz copper. How wide does the trace need to be, in mm (to one decimal)?

About 0.3 mm (12 mil). Signal traces are often 0.2 mm, so a motor's or a heater's supply traces are drawn much wider, or as copper pours.

Why give a board a solid ground plane instead of routing ground as a trace like any other net?

Every current returns to its source. With a plane, the return current flows directly under its signal trace, so the loop it makes is tiny: little inductance (less ringing, section 4's lesson again), little radiated noise, and the same 0 V everywhere on the board. A thin ground trace makes big loops and a "ground" that's a few millivolts different at each chip, which analog circuits and ADCs (chapter 11) notice.

Then build something: the circuit lab has every circuit from this course to rehearse before you build it for real. Next: audio, amplifiers and the speakers and microphones they drive.

Previous: Motors · All chapters: Learn & build.

Last updated