Ramblings of an aging IT geek
← Ramblings of an aging IT geek
hardware

bringing a dead sensor board back with a soldering iron

Repairing a homelab sensor board with a lifted pad and a cold joint, and the small satisfaction of fixing rather than binning a fiver of electronics.

A circuit board under a soldering iron

The board in question was a cheap ESP8266 sensor node, the kind I have scattered around the house measuring temperature and humidity and quietly judging the boiler. This one had stopped reporting. Not intermittently, not flaky: dead, dark, nothing on the serial console, no power LED. The sensible thing would have been to bin it and pull a fresh one out of the drawer, because the whole board costs about a fiver. I did not do the sensible thing.

What I like about fixing tiny boards is that the fault is almost always visible if you actually look. I put it under the cheap USB microscope, the one purchase from the last few years that has paid for itself many times over, and there it was. One of the pins on the regulator had a joint that looked like a tiny grey volcano: dull, cracked, the classic look of a cold joint that had been marginal since the factory and finally given up after a few thermal cycles in a warm cupboard.

A close-up of a circuit board

A cold joint is the easiest possible repair and the most satisfying, because the diagnosis and the cure are the same gesture. Flux on the pad, iron in, a touch of fresh solder, count to two, and you watch the dull grey grub turn into a shiny little cone with proper fillets. The surface tension does the work; you're just giving it the heat to wake up. The visual change from matte to shiny is the whole story. If it stays matte, the joint is still wrong and you go again.

While I was in there I noticed a second sin. A previous me, soldering a header on this board months ago, had been heavy-handed and lifted a pad slightly on one of the GPIO lines. It hadn't mattered then because nothing used that pin. It would matter the moment I tried to. I ran a tiny wire bodge from the via to the header pin and tacked it down, which is ugly and entirely correct. A bodge wire that works beats a clean board that doesn't.

Reflowed, bodged, cleaned with a bit of IPA on a brush, and back into the FTDI adapter. The power LED came up. The serial console spat out its boot banner. Thirty seconds later it had reconnected to MQTT and was once again telling me, with great confidence, that the cupboard was 21.4 degrees.

The economics make no sense. I spent forty minutes saving a five pound board. But the forty minutes weren't really about the fiver. They were about not throwing away something that was ninety-nine percent working because of one bad joint, and about keeping the muscle memory for the day the broken board is something I actually can't replace from a drawer. The iron stays warm for those days.