Consider the circuit shown...
The light emitting diode LED1 lights up. In order to limit the current through LED1 to 20 mA, you use a resistor of 150 Ω....
Circuit diagram voltage regulation with the 7805. |
Circuit voltage regulation with the 7805. (Enlarge) |
With a multimeter you can easily convince yourself that the voltage Vout = 5 Volt...
Circuit diagram measurement of the voltage Vout of the 7805. |
Circuit measurement of the voltage Vout of the 7805. (Enlarge) |
The tolerance of a typical 7805 is 4% (see the datasheet). The voltage Vout can therefore differ by 0.2 Volt up or down.
But what happens to the voltage regulator at a higher input voltage Vin or under load...?