šŸ’” Electron Parade
← Back to Academy

Ever wonder how a 12V wall adapter can safely run a fragile 5V microcontroller without releasing the magic smoke? It’s all about power regulation. Today, we’re diving into the unsung heroes of the workbench: voltage regulators. They take terrifyingly high voltages and aggressively squash them down to something safe, mostly by turning the excess power into heat.

Voltage Regulator

Linear Regulators: The Simple Workhorses

Linear regulators, like the ubiquitous LM7805, are the go-to choice for simple, low-noise power delivery. They are cheap, require very few external components, and are incredibly easy to use. However, they have one major catch: thermal considerations.

Linear regulators work by burning off the excess voltage as heat. The larger the voltage difference between the input and the output, and the more current your circuit draws, the hotter the regulator gets. If you try dropping 12V down to 5V while pulling an amp of current, your regulator will quickly turn into a tiny, unwanted space heater—and might even shut down or fail if not properly heatsinked.

Switching Regulators: The Efficient Alternatives

When you need to drop a lot of voltage or supply a lot of current, you want a switching regulator (often called buck or boost converters). Instead of burning off excess voltage, they rapidly switch the power on and off, using inductors and capacitors to smooth out the output.

Here are the key takeaways for switching regulators:

Which should you choose?

Keep your circuits powered safely and efficiently, and I’ll see you in the next lesson!

Hardware You’ll Need

To follow along with this lesson, you’ll need the following components: