I am building a small water pump (5 V) controlled by an Arduino, and I want to reduce voltage from 9 V to 5 V.
Do I need to use capacitors when using an L7805CV voltage regulator?
I am building a small water pump (5 V) controlled by an Arduino, and I want to reduce voltage from 9 V to 5 V.
Do I need to use capacitors when using an L7805CV voltage regulator?
From the L7805CV's datasheet:
So while you might get away without the capacitor, you're better off with it, it likely won't hurt.
Yes, or you risk that the regulator will oscillate (which you won't see without a scope). This can cause all kinds of problems. You typically want an electrolytic capacitor of about 10 µF and a ceramic capacitor of about 0.1 µF in parallel on both input and output, as close to the regulator as possible - that's four capacitors.
You also probably want some protection diodes around the regulator to prevent reverse voltages damaging it. Consult the device datasheet for examples and recommendations.
Yes, since you're using a 9 V adapter to power up the circuit, I would say it's good to have a capacitor because you won't risk fluctuations in the output voltage. It's better to have it to make it work under optimal conditions.