I am designing a circuit powered using two 18650 li ion cells in series, I will wish to charge it with an imax b6 charger with balance output. Is it enough to connect the 3 terminals of the charger to the batteries directly (one at -ve of bat1, one between the series connection and one at +ve of bat2)? Or any additional circuit is needed? Is it okay to charge while the circuit is powered? Thanks.
The charger will need 5 connections, +ve and -ve charger outputs, and three to the balance port. I know the charger and the outer balance lines are duplicated at the battery, but they're required at the charger.
If you charge a battery that's also powering a load, the charger will misread the battery charge current, as it's not able to measure the load current. Depending on the load current, it may undercharge the battery, or report it faulty and refuse to charge it. Charge on load requires a charger that knows about the load.