I want to create a 5v power supply design to provide power to my PIC18F4550, for that I am using 7805 so it will give the required 5v as output. I searched online and this is the diagram I found:-
It shows that I have to connect 2 capacitors with the 7805. I am using a 9V battery as input power source to 7805.
In the datasheet the value of Ci and Co is given 0.33uF and 0.1uF respectively, but my friend used capacitors of value 470uF and 100uF respectively and he is getting correct output without any error.
Can I use my friends(using Ci and Co is given 470uF and 100uF) choice of capacitor for my 5v power supply to microcontroller without any adverse effect? If yes, then why is some other values given in datasheet. OR Is it really possible to use the 7805 without any capacitors at all if I am using a DC 9v battery as input?
Is there some formula for calculation which can be done to determine the values of the capacitors? If yes, where I can find it?
I know this question has been asked a lot of times, but I am having a hard time understanding the answers provided on other questions. Please help me understand this basic concept.