Hello everybody, this is my first time building a circuit and I'm trying to figure out exactly which transistors I should be using as well as diodes and everything else relevant. The Arduino will control when a battery gets charged or not via the digital pins (5v output). Here's the schematic I have so far.

I've been experimenting with a few transistors that I had, but either they get hot when i put a DC motor or they don't fire at all at 4v. The A0/A0 ports are to detect the battery voltage. The buck up/down circuits are ones i've purchased from ebay so they should be ok. The solar panel is about 400mAh, 7v and the batteries are 3.7v LiPo, 9900mAh

I've been experimenting with a few transistors that I had, but either they get hot when i put a DC motor or they don't fire at all at 4v. The A0/A0 ports are to detect the battery voltage. The buck up/down circuits are ones i've purchased from ebay so they should be ok. The solar panel is about 400mAh, 7v and the batteries are 3.7v LiPo, 9900mAh