The 7805 is the most common three terminal regulator, taking 7 to 35 V in and holding 5 V out with just two caps. This page covers the typical hookup, cooling and the often missed decoupling traps.
Pin 1 is input, 2 ground, 3 output. A 0.33 microfarad electrolytic at the input to ground filters low frequency and a 0.1 microfarad ceramic at the output filters high frequency, the datasheet minimum. Input must exceed output by at least 2 V dropout, so above 7 V input to hold 5 V; too low and output sags. Rated current is about 1 A and needs cooling.
Dropout loss is (Uin minus 5) times I, so 12 V in at 1 A wastes 7 W and demands a heatsink, junction by thermal resistance. Do not push input high needlessly; 9 to 12 V from rectified mains is ideal. Below 2 V dropout it leaves regulation with big ripple, so many who feed only 6 V cannot hold 5 V.
| Item | Require | Value |
|---|---|---|
| Vin | above 7 V | 9 to 12 V best |
| Dropout | above 2 V | else sags |
| In cap | 0.33 uF plus | LF filter |
| Out cap | 0.1 uF cer | HF filter |
| Current | to 1 A | L05 only 100mA |
| Cool | sink | thermal R |
Typical 7805 is a cap at input and output, dropout 2 V or more, current to 1 A with a sink. Keep the 0.1 microfarad ceramic right at the pin to stop oscillation, do not feed only 6 V, and never use 78L05 for 1 A.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Three terminal use per GB/T 5226.1; device data to IEC 60747 and GB/T 12350. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.