# Libre Solar BMS software Firmware for https://github.com/LibreSolar/bms-15s80-sc/tree/rev2 BMS boards using bq769x0 IC from Texas Instruments. Former: [5s](https://github.com/LibreSolar/BMS-5s) and [48V](https://github.com/LibreSolar/BMS48V) Please find a description about system integration of the BMS in the [Open Source Ecology Wiki](https://wiki.opensourceecology.de/24-48V_BMS) (in German). ## Selection of board type The board type is defined in the file *config.h*: For 5s version: ``` #define BMS_PCB_5S ``` For 10s/15s (48V) version: ``` #define BMS_PCB_48V ``` ## In the available code following adjustments are made: 06/29/2021: code adapted for bq76940 (15 cells, 3 temp sensors), with standard assignment of UEXT and activated OLED (but initially only for 10 cells due to lack of space). 07/01/2021: Shunt changed to 0.75 mOhm and UEXT output changed to fit to the arduino code under https://gitlab.opensourceecology.de/soldorado-open-solar-system/solar-storage-controller-software ## Firmware development and flashing See [here](http://libre.solar/docs/flashing/) for an explanation how to flash the software to your board.