This is a school project aimed to build system that can automatically charge and discharge Li-ion batteries at variable load. The purpose of this system is to study different battery types by monitoring cell voltage, temperature and current.
- Download the GNU Arm Embedded Toolchain https://developer.arm.com/open-source/gnu-toolchain/gnu-rm
- On Windows download and install GNU Make https://www.gnu.org/software/make/ and add GnuWin32\bin to Windows environment variables path.
To build this project navigate to project directory on shell and run Makefile.
$ make -f .\Makefile
- Click on "External Loader" from the menu and select N25Q128A_STM32F746G-DISCO
- Click on Target->Program and select "Li-Ion-Battery-Test-Bench.hex" under BUILD directory
- Hit on "Start" button to flash internal and external memory
STM32F746G-DISCO PIN | Description |
---|---|
D13 | LTC6811 SPI SCK |
D12 | LTC6811 SPI MISO |
D11 | LTC6811 SPI MOSI |
D10 | LTC6811 SPI CS |
D9 | Cell discharge relay 1 |
D8 | Cell discharge relay 2 |
D7 | Cell discharge relay 3 |
D6 | Cell discharge relay 4 |
D5 | Charging relay |
- Web interface used to control test bench
- Test bench
- https://savannah.nongnu.org/projects/lwip/
- Licence: https://github.com/Velli20/Li-Ion-Battery-Test-Bench/blob/master/Middlewares/Third_Party/LwIP/LWIP_LICENCE
- http://elm-chan.org/fsw/ff/00index_e.html
- Licence: https://github.com/Velli20/Li-Ion-Battery-Test-Bench/blob/master/Middlewares/Third_Party/FatFs/src/FATFS_LICENCE