April 27, 2026

Capgate: tiny chip, huge chaos

How I leared what a decoupling capacitor is for, the hard way

Tiny part, big meltdown: a drone sensor dies and the comments go to war

TLDR: A drone’s compass chip died on battery power because the “3.3V” line had wild spikes, so the maker swapped to an external sensor. Comments exploded over whether the real culprit was a missing smoothing capacitor or a bad power regulator, with scope‑reading skeptics stirring the pot.

A drone maker’s magnetometer (the tiny compass sensor) worked on USB power but keeled over on battery—turns out the “3.3V” line was spiking way above its comfort zone. Cue the comment battlefield. Team Hack-It-Now showed up first, with oakwhiz urging a “dead‑bug” fix—literally gluing a capacitor to the board to smooth the power. Team It’s-Not-The-Cap fired back, with hadrietta insisting giant swings on the power line scream “regulator problem,” not a missing tiny helper part. And then Team Scope Police rolled in: userbinator questioned the 50MHz reading on the oscilloscope, hinting something else is oscillating—or the measurement is picking up radio noise.

Meanwhile, the author dodged a fragile solder job and strapped on an external sensor via a plug-in cable. Purists groaned about lost timing sync; pragmatists cheered, “ship it.” Old‑schooler hilbert42 delivered a back‑in‑my‑day sermon: keep wires short, sprinkle capacitors everywhere, no excuses. And for dessert? unwind’s grammar snipe: the title should read “learNEd.”

In plain speak: a “decoupling capacitor” is a tiny battery‑like part that smooths nasty ripples from a switching power chip. Without it (or enough bulk smoothing), sensitive parts freak out. The community can’t agree which is to blame—but the drama? Perfectly tuned.

Key Points

  • The drone PCB’s magnetometer worked over USB but failed when powered by the flight battery.
  • Multimeter readings showed ~3.3V under both power sources, but an oscilloscope revealed large ripple on the 3.3V rail.
  • Under USB the 3.3V line ranged roughly 3.14–3.7V; under battery it ranged about 2.74–4.34V.
  • The BMM150 magnetometer’s maximum rating is 3.6V, so battery-induced ripple exceeded its limits, causing failure.
  • Unable to easily retrofit decoupling near the sensor, the author used an external Qwiic magnetometer, sacrificing tight sync with the BMI270 IMU.

Hottest takes

"Seems like a missed opportunity to try adding a capacitor dead-bug style onto the board" — oakwhiz
"Having 1.5V Vpp ripple on a 3.3V supply rail seems more like an issue with the regulator / bulk capacitance" — hadrietta
"Unless you have a 50MHz buck converter (which would be very exotic --- the fastest common ones are around 1/10th that), that looks more like something may be inadvertently oscillating" — userbinator
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.