To get, say 5VDC, from the AC mains, after stepping down the high AC voltage using a transformer, we have to rectify it and regulate the output DC voltage. As I have seen, there seems to be two prevalent methods of voltage regulation on the internet. One is using a zener diode in reverse breakdown region and the other is to use LM7805 regulator IC. But I do not understand what are the pros and cons of using one or the other.
One more thing, if LM78XX IC is itself regulating the voltage what is the need of using capacitors in parralel with it? Can anyone please help me clear this doubt!
Thanks in advance!