PartAndStock
Blog

How to Build Your First Power Supply Circuit on a Breadboard

August 12, 2026 4 min read
Quick answer

Every electronic circuit needs a stable supply voltage. Because a battery or adapter output is often rippling or variable, powering a circuit directly leads to inconsistent behavior. The solution is a simple regulated power supply you can build on a breadboard. This project teaches you to fundamentally solve the most common "why does my circuit sometimes work and sometimes not" problem.

Why do you need a regulated supply?

A 9 V battery drops to 7 V over time; an adapter's output can have ripple. Microcontrollers and sensors, however, want a stable, clean voltage. The regulator converts this variable input voltage to a fixed value (here 5 V); the filter capacitors clean up the ripple and noise. The result: your circuit always works under the same conditions.

Parts list

PartValue / TypeRole
RegulatorLM7805Produces a fixed 5 V
C1 (input)~100 µFFilters input ripple
C2 (output)~10 µFKeeps the output stable
C3, C40.1 µF ceramicHigh-frequency noise
D11N4007 diodeReverse-connection protection
LED + RLED + 330 ΩPower indicator
Input7–12 V adapter/batteryRaw power

Step-by-step connection

  1. Connect the adapter/battery input to the breadboard's power rail through a series D1 diode against reverse connection.
  2. Connect the LM7805's input leg (pin 1) to the power rail and the middle GND leg (pin 2) to ground.
  3. Place C1 between input and GND, and C2 between output (pin 3) and GND (mind the polarity).
  4. Place the 0.1 µF ceramic capacitors (C3, C4) on the input and output, as close to the regulator as possible.
  5. Add a series resistor + LED to the output to make a power indicator.

Verify the output

Before powering the circuit, check the connections once more. Then measure between the output and GND with a multimeter; you should see about 5.0 V. If the indicator LED is on and the voltage is steady, your power supply is ready. You can now use this output to power your other circuits.

Heat and limits

The LM7805 is a linear regulator: the difference between input and output is dissipated as heat. For example, producing 5 V from a 12 V input, the 7 V difference is multiplied by the drawn current and turns into heat. At loads above a few hundred mA the regulator gets hot and a heatsink is needed. For projects that demand very high efficiency, a switching (buck) regulator is preferred instead of a linear one.

Test the output under load

Seeing 5 V with no load isn't enough; to see the real condition, connect a load to the output. The simplest way is to put a known resistor (for example 100 Ω) on the output and check that the voltage still stays around 5 V. If the voltage drops noticeably under load, your input voltage may be insufficient, your capacitors too small, or the regulator may have heated up and entered protection mode. This simple test shows in advance whether your circuit will work reliably in a real project.

From breadboard to a permanent circuit

A breadboard is ideal for experiments but isn't permanent; connections can loosen over time. Once you're happy with your design, you can make the same circuit permanent by soldering it onto a perfboard or having a simple PCB made. On the permanent circuit, again take care to place the capacitors and regulator as close together as possible.

Common mistakes

  • Skipping the capacitors: without filter capacitors the output is unstable and noisy.
  • Insufficient input voltage: for the LM7805, the input must be at least ~2 V above the output; you won't get a proper 5 V from a 6 V input.
  • Confusing the GND leg: the 7805's leg order is input-GND-output; installing it backwards destroys the IC.
  • High current without a heatsink: drawing high current without accounting for heating shuts down/damages the regulator.

Frequently asked questions

What if I need 3.3 V?

You can build the same circuit with a 3.3 V regulator like the LM1117-3.3; the logic is the same, only the regulator changes.

I want an adjustable output?

Instead of the fixed 7805, you can use an LM317 and set the output voltage with two resistors.

Couldn't I just take 5 V from USB?

For simple projects, yes; but this project is meant to teach how regulation and filtering work, and it forms the basis of your own supply design.

Conclusion

Building your own regulated power supply teaches you for good why a stable supply matters and the role of the regulator and capacitors. This foundation is the backbone of all your later projects. You can see offers for the regulator you'll use through search, and move on to the Arduino LED project for your first digital project.