VOLTAGE REGULATORS & MODULES

Photo of author

By Jackson Taylor

Home » Hardware » VOLTAGE REGULATORS & MODULES

As an Amazon Associate we earn from qualifying purchases.

A voltage regulator takes an input voltage that may be higher than you need, or that moves around, and turns it into a steady output. Almost every microcontroller board, sensor and logic chip depends on one. This page covers the common fixed-output regulators and small regulator modules used in hobby and prototype electronics: the 7805, the 7812 and the AMS1117 in 3.3 V and 5 V versions.

If you need a wider range of regulators, our regulators category has more options.

What a voltage regulator does

Batteries sag as they discharge, and wall adapters can be noisy or sit at a different voltage than your circuit expects. A regulator holds the output at a fixed level, such as 5 V, 12 V or 3.3 V, as long as the input stays within its allowed range and the load stays within its current limit.

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video

The parts on this page are linear regulators. They work by dropping the extra voltage as heat. They are simple, cheap and produce little electrical noise, which makes them a good fit for small projects.

Regulators and modules covered

7805: 5 V regulator

7805 5V linear voltage regulator chip

The 7805 is one of the most widely used regulators. It gives a fixed 5 V output and is typically rated for around 1 A when it is properly cooled. It needs an input a couple of volts above 5 V to work correctly, so a 7 V to 12 V supply is a common choice. Use it for 5 V logic, Arduino-style boards and small sensors.

7812: 12 V regulator

7812 12V regulator 7812 12V regulator pinout

The 7812 belongs to the same family as the 7805 and has the same three-pin layout (input, ground, output). It delivers a fixed 12 V, which suits small fans, LED strips, relay boards and other 12 V loads. Its input must be several volts higher than 12 V, so check the datasheet for the exact minimum.

AMS1117: 3.3 V and 5 V regulators

AMS1117 3.3V REGULATOR AMS1117 5V REGULATOR

The AMS1117 is a low-dropout (LDO) regulator in a small surface-mount package. “Low dropout” means the input only has to be about a volt or so above the output, so it works from a 5 V supply to make 3.3 V. It is sold in fixed 3.3 V and 5 V versions, and also in an adjustable version. It is rated for roughly 1 A, but in the small package heat is usually the real limit.

See also
Power Electronics: Hardware Design Guides and Projects

Unlike the 7805, the AMS1117 generally needs a suitable output capacitor to stay stable. Follow the capacitor values given in the datasheet.

For another 3.3 V option, see the TPS75933 fixed-output regulator.

AMS1117 3.3 V regulator modules

AMS1117 3.3V REGULATOR MODULE AMS1117 3.3V REGULATOR MODULE AMS1117 3.3V REGULATOR MODULE AMS1117 3.3V REGULATOR MODULE

A regulator module puts the chip on a small board with the input and output capacitors already fitted, plus labelled pins or solder pads. That saves you from soldering a surface-mount part and picking capacitor values. It is the easier route for breadboards and quick prototypes.

These modules are handy for powering 3.3 V parts from a 5 V supply, such as Wi-Fi modules for Arduino projects. Some radio modules draw short bursts of current, so make sure your regulator and its input supply can handle the peaks.

How to choose the right regulator

  • Output voltage: match what your circuit needs. Most modern chips run at 3.3 V, while older logic and many boards use 5 V.
  • Input voltage: it must stay above the output by at least the dropout voltage, and below the maximum rating in the datasheet.
  • Current: add up what everything on the rail draws, then leave some margin.
  • Dropout: a 7805 needs a larger gap between input and output than an AMS1117. This matters on battery power.
  • Heat: check how much power the regulator will have to dissipate (see below).
  • Package: through-hole parts like the 7805 are easy to solder by hand, while surface-mount parts need more care, which is why modules are popular.

Heat and efficiency

A linear regulator turns the unused voltage into heat. The power it wastes is roughly:

(input voltage − output voltage) × load current

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

For example, a 12 V supply feeding a 7805 that supplies 0.5 A wastes about (12 − 5) × 0.5 = 3.5 W as heat. That is far too much for a bare part, and it will need a heatsink or a lower input voltage. Feeding the same load from 7.5 V would waste only about 1.25 W.

See also
AUTOMATIC BRAKE SYSTEM

If the gap between input and output is large and the current is high, a switching (buck) regulator module is usually the better choice, because it wastes much less energy. Do not try to drop voltage with a resistor for a load whose current changes. The voltage drop across a resistor depends on the current, so the output will not stay steady.

Wiring tips

  • Check the pinout in the datasheet before powering up. The 7805 and AMS1117 do not share the same pin order.
  • Place the recommended capacitors close to the regulator pins.
  • Connect all grounds together, including the input supply, regulator and load.
  • Keep wires short on high-current paths.
  • Check the output with a multimeter before connecting an expensive board.

These parts are for low-voltage DC. If you need to correct unstable mains power, you need a different design, such as an automatic voltage stabilizer project, and you should take extra care with safety.

FAQ

What is the difference between a 7805 and an AMS1117 5V regulator?

Both give a fixed 5 V output. The AMS1117 is a low-dropout design, so its input can be closer to 5 V. The 7805 needs a higher input, but it is a simple through-hole part that is easy to use on a breadboard and does not usually have the same output capacitor requirements.

Can I power a 3.3 V board from a 5 V supply with an AMS1117?

Yes. A 3.3 V AMS1117 or an AMS1117 module is designed for this. Make sure the board’s current draw stays within what the regulator can supply without overheating.

Why does my regulator get hot?

A linear regulator burns off the difference between input and output voltage as heat. A higher input voltage or a higher load current means more heat. Lowering the input voltage, adding a heatsink or switching to a buck converter will help.

Do I need capacitors with a voltage regulator?

Usually, yes. Capacitors on the input and output keep the regulator stable and reduce noise. Check the datasheet for the recommended values. Many regulator modules already include them.

See also
ARDUINO AND LCD SIMULATION IN PROTEUS

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works