Velli20 / Li-Ion-Battery-Test-Bench

Li-Ion battery test bench monitor with web user interface over TCP/IP connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Li-Ion Battery Test Bench

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.

Compiling

To build this project navigate to project directory on shell and run Makefile.

$ make -f .\Makefile

Flashing with ST-Link Utility software

  • 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

Pinout

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

Project pictures

  • Web interface used to control test bench

  • Test bench

Libraries used in this project

lwIP – A Lightweight TCP/IP stack

FatFS – Generic FAT Filesystem Module

FreeRTOS – RTOS Kernel

STM32 HAL Driver

Linear Technology – LTC6811-1 Multicell Battery Monitor

About

Li-Ion battery test bench monitor with web user interface over TCP/IP connection.

License:MIT License


Languages

Language:C 98.9%Language:C++ 0.7%Language:Assembly 0.2%Language:Makefile 0.0%Language:JavaScript 0.0%Language:CSS 0.0%Language:HTML 0.0%