I’ve been going around in circles looking for a suitable rechargeable battery. I want to use a usb battery pack (sort that’s used for a phone) as I find them the most easy to use. I have one that is working for the project - but it only has one slot and I imagine if I had two slots I could use one for the Arduino and speaker, and the other slot for the servo.
Currently I’m plugging the servo into the battery I have through this -
I’m using an Arduino uno which is currently plugged into a computer.
I will attach a schematic soon.
Do you have advice for a good battery I can use for both the servo and the Arduino and speaker which Idealy doesn’t turn itself off.
Availible in the uk?
You can try connecting a LED to keep it from turning off but that will decrease your battery run time. There are battery packs that require less current to stay on, I think they are called trickle types.
You can splice the 5V wires together but I am uncomfortable running the motor on the same 5V supply that powers the motor.
There is one important caution: do not power the servo from the Arduino's 5 V pin if it is anything larger than a tiny 9 g servo. Servos can draw several hundred milliamps, or even over an amp if they stall, which can reset the Arduino. It's better to power both the Arduino and the servo directly from the power bank's 5 V output, with their grounds connected together.
I suggest you check into a TalentCell battery pack with a physical ON/OFF switch. It doesn't automatically shut off due to low current, making it popular for embedded projects. Several Arduino users recommend it for this reason.