From Raphael Chang:
As part of the fully custom electric longboard I am building, I designed a battery management system (BMS) for a 12 cell lithium ion battery pack. The BMS, named “Battman”, is meant to monitor both Lithium Polymer cells (LiPo) and Lithium Iron Phosphate cells (LiFePo4), and it can protect the batteries against undervoltage, overvoltage, overcurrent, and overtemperature.
It also has an integrated charging circuit that can perform constant current/constant voltage charging of the cells up to 6A, while performing balancing of the cells at 100mA. In addition, it functions as the main power switch of the longboard system, and includes a precharge circuit to limit inrush currents. Finally, the BMS does current measurements for coulomb counting, and performs state-of-charge calculations.
The project is shared in these GitHub repos:
Andrius has shared the board on OSH Park: