Attached are some pictures of the circuitry of a 5v power pack I’d like to use to power a compact project.
First, the USB A socket;
I assume I can just solder wires to the soldered connections and run those to my Arduino +5V and GND? That would enable me to leave the USB port available for programming. Do I need a capacitor between the power supply and the Arduino (I’ve seen this recommended somewhere...)
If the socket is thus left untouched on the power pack, it could be available for the user rot recharger their phone or similar. Is there some way the Arduino can Monitor the load on this socket and reduce its power drain (turn off the LEDs) when it is in use?
Second, the micro USB socket;
Really just for recharging the battery...but...again is it possible for the Arduino to Monitor it’s use and again turn off the LEDs if the battery is being charged...or is that even necessary? I don’t want things bursting into flames!