I built an Arduino using ATmega328 on perfboard. To power it, I used an 8V adopter with a 7805 IC. But the ATmega328 IC started to reset randomly. After some efforts I figured out that the problem was not using decoupling capacitors. So I used a 100uF and 10uF electrolytic capacitor at the input and output respectively. Though it helped to solve the problem but the IC still sometimes gets reset. I tried to look online but they do not tell anything except using the decoupling capacitors. I would be grateful if someone could explain:
- What other measures can I take to prevent this fluctuation
- Which capacitors are best for this purpose of AC filtering
- What specific values are good and is there any method to calculate them based on the load requirement
I hope this would not turn out to be a duplicate question!