ToolSphere
All perfboard layouts

7805 5V Regulator Perfboard Layout

A 7805 turns 7–12 V from a wall adapter or battery into a steady 5 V for logic and microcontrollers. This board follows the datasheet circuit: a 0.33 µF capacitor on the input, 0.1 µF on the output, plus a 10 µF bulk capacitor and a power LED.

7805 5 V supply perfboard layoutJ1 DC INC1 330nU1 7805C2 100nC3 10uR1 1kLEDJ2 5V OUT
Open this layout in the simulator Connection check: no shorts, 4 named nets

Red wires carry power, white is ground, yellow and blue are signals. Every hole is an isolated pad; connections are the wires shown. In the simulator you can move parts, add your own and re-run the check.

Parts list

As an Amazon Associate, ToolSphere earns from qualifying purchases.

How it works

The 7805 needs its input about 2 V above its output, so feed it at least 7 V. Everything above 5 V is burned off as heat:

power = (VIN − 5 V) × current
12 V in, 300 mA out:  (12 − 5) × 0.3 = 2.1 W

A TO-220 package without a heatsink manages roughly 1 W before it gets too hot to touch, so at 2.1 W bolt on a heatsink, or use a lower input voltage. For battery-powered projects a buck converter wastes far less.

The power LED draws (5 − 2) ÷ 1 kΩ = 3 mA. The capacitors go close to the regulator's pins: they stop it oscillating, which shows up as an unstable or noisy 5 V.

Building it, step by step

  1. Run the VIN rail along the top left, +5V along the top right, and GND along the bottom.
  2. Fit the input header and the 330 nF capacitor across VIN and GND.
  3. Fit the 7805 with IN on VIN, GND to the ground rail and OUT on +5V (check the pin order on your part).
  4. Fit the 100 nF and 10 µF capacitors from +5V to GND right beside the regulator, the electrolytic's stripe to GND.
  5. Add the 1 kΩ resistor and LED from +5V to GND, and the output header. Measure 5 V with no load before connecting anything.

Tools for this build

Frequently asked questions

What capacitors does a 7805 need?

The datasheet circuit uses 0.33 µF on the input and 0.1 µF on the output, both close to the pins. A 10 µF electrolytic on the output helps with sudden load changes.

What is the minimum input voltage for a 7805?

About 7 V: the regulator needs roughly 2 V of headroom above its 5 V output to stay in regulation.

Does a 7805 need a heatsink?

When (VIN − 5) × current is more than about 1 W. At 12 V in that is any load above roughly 150 mA.