dirty_d
10 kW
bquick, i wrote a similar program for an atmega168 for a RC lipo charger, i never actually built the charger though since i haven't really used the rc plane much and i have a cheap charger that works fro now. i did the balancing pretty much the same way as you except that the shunt is just always on for the highest voltage cell in the pack if the difference between cells was greater than 12mV. but it seems like this isn't the ideal way to do the balancing, GGoodrum posted part of his BMS on page 10 of this thread, once the cell voltage reaches 3.65V the shunt turns on and bypasses some of the charging current, then a signal is sent to the charger to lower the charge current to an amp or so, the shunt just bypasses enough current to keep the cell at exactly 3.65V until the current through it drops to 100mA through each cell, then the pack is done.
it certainty is cheap
it certainty is cheap
