I am designing the typical robot with ultrasonic sensor to avoid obstacles.
To power it I am using an external rechargeable Energizer battery that provides two USB 5V outputs. One for the Arduino, one for the servos.
Wheels are connected to two continuous servos. And the ultrasonics sensor is driven by two small servos (pan and tilt).
OK. It works quite well. However, randomly the battery switches off. I mean, the battery protects itself as a short circuit was done. I have to plug the charger to the battery, in order to activate the battery again.
Is this happening because the servos are taking a lot of power randomly?
I read some threads about using capacitor or diodes? Is this always advisable? If this is the solution, please help me to apply this solution.
Thanks