Charger charging multiple batteries trough arduino

Hi all, i'm 25y.o. and i'm noob in programming and electronic. So my question will probably be as noob as i am!

Let's say i have 2 battery pack, built with 3 cells called ( First CLS1 CLS2 CLS3 ) ( Second CLS4 CLS5 CLS6) every cell reach full charge at 1.2volt.
I want to plug a triple power source to arduino that we call CGR1 CGR2 CGR3

Arduino must listen voltage, and when all tree cells of the first pack is 1.2volt each, COMMUTE the power supply to second pack, letting the first unplugghed and unlinked to the circuit.

Is that possible? Because if it is, i will start learning something, even if this programming language for me is really unfamiliar and not ME-friendly.

Thanks you a lot anyway :slight_smile:

It will NOT be easy for Arduino to accurately measure the individual cell voltages. Presumably the balancer/charger is handling that? Of course

Is the balancer/charger smart enough to stop by itself when the cells/battery are fully charged? Yes the charger stop charging at 4.2volt
Do you need to control the charger? No the meaning of this project is this, not to control the charger but charghing as many cell i want.
Do you need to handle long-term maintenance (go back every few hours to see if the battery is still there and needs more). same as above the meaning of this project is this, not to control the charger but charghing as many cell i want.

Can the Arduino be powered directly from cells? That would be awesome.

Well li-polimers batteryes have enough power even when they are 60% discharged . The balancer is plugghed to 12v 1,5A power supply.

a 7.4 volt battery never goes under 7 volts.
a 11.1 never under 10,9 volts

if they will reach those limits will probably broke. Arduino min voltage is 6 volt right?

didnt tough that arduino drains all those amper... btw

what's the logic behind this? Unfortunately i'm not expert in programming things.

Behind the program... i mean where to plug things and how i can tell the arduino to:

Listen to voltage
Change line of charging

for example

Max Voltage each cell 4.2 volt, the charger will stop rechargin mantaining the cells to 4.2 volts
Time before switchin to other battery when reached 4.2 volt: 5 minutes
After 5 minutes are passed switch to other battery.

How i can say in C all this stuff.