Built to order

EV Battery Thermal Management System with STM32-Based BMS

A prototype EV battery thermal management system designed to monitor individual lithium-ion cell temperatures, battery condition and State of Charge (SoC). The system uses an STM32-based BMS, DS18B20 temperature sensors, thermal cooling plates and CAN communication to demonstrate battery monitoring and temperature control concepts used in electric vehicles.

Electronics / E&TCElectricalMechanicalIoT & Embedded OLED DisplaySTM32 MicrocontrollerEmbedded CBattery Management System (BMS)DS18B20 Temperature SensorsThermal Cooling PlateCAN Bus & CAN TransceiverHybrid
College-level EV battery thermal management prototype with four 18650 lithium-ion cells, individual temperature sensors, STM32-based BMS controller, CAN transceiver, cooling plate and OLED battery
More project photos (1)

The problem

EV battery packs lose capacity and age faster when cells run hot, and imbalanced cells drag the whole pack down — in the worst case, thermal runaway is a fire risk. Most student and prototype EV builds have no thermal oversight at all: no per-cell temperature sensing, no cooling control, no automatic disconnect. This project adds an STM32-based battery management layer that continuously watches cell voltages and temperatures, estimates state of charge, balances cells during charging, and drives cooling fans — disconnecting the pack via a contactor if any cell crosses its safety temperature.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
power18650 Pack

Four lithium-ion cells forming the prototype EV battery pack.

Follow the working sequence

How it works

Four 18650 lithium-ion cells form a small battery-pack prototype. DS18B20 digital temperature sensors are positioned on individual cells to continuously measure their temperatures.

The STM32 controller collects temperature and battery-monitoring data, calculates or receives battery status information and displays important parameters such as individual cell temperature and estimated State of Charge on the OLED display.

When a predefined temperature threshold is exceeded, the controller can activate the prototype cooling system, such as a cooling fan, coolant pump or thermal plate arrangement. CAN bus communication allows battery information and diagnostic values to be exchanged with another controller or demonstration unit.

State-of-charge estimation method: the firmware estimates SoC by coulomb counting — integrating pack current measured by the Hall-effect sensor over time — corrected with an open-circuit-voltage lookup whenever the pack is at rest. The estimate re-anchors to 100% on every full charge and to 0% at the low-voltage cutoff; between these calibration points the reading drifts, so it should be treated as an estimate (design target ±5% after the calibration procedure documented in the report), not a laboratory measurement.

Project features

  1. Real-time temperature monitoring of individual battery cells
  2. Multi-point DS18B20 temperature sensing across the battery pack
  3. STM32-based battery monitoring and thermal control
  4. State of Charge (SoC) estimation and battery-status display
  5. OLED display showing individual cell temperatures and battery condition
  6. Thermal cooling plate for battery-temperature management demonstration
  7. CAN bus communication for battery-system data exchange
  8. Detection of abnormal or excessive battery temperature

What is included

  1. Source code
  2. Circuit diagram
  3. Component list / BOM
  4. Project report
  5. Abstract
  6. PPT / presentation
  7. Installation guide
  8. Setup support
  9. Demonstration video
  10. System architecture and thermal-control explanation

Advantages

  • Real-time per-cell temperature monitoring with multi-point DS18B20 sensing across the battery pack.
  • State of Charge (SoC) estimation with individual cell temperatures and battery condition on an OLED display.
  • STM32-based BMS demonstrating thermal monitoring and cooling-plate control concepts used in electric vehicles.
  • CAN bus communication demonstrating battery-system data exchange.
  • Detection of abnormal or excessive cell temperature.

Disadvantages

  • Academic prototype — not an automotive-certified BMS or thermal-management system.
  • Uses a small 4-cell battery pack; it does not represent the voltage, current or thermal load of a full-scale EV pack.
  • Temperature accuracy depends on sensor placement, calibration and thermal contact with individual cells.
  • State of Charge estimation is for demonstration and may be less accurate than commercial automotive battery-management algorithms.
  • The cooling system demonstrates thermal-control principles but is not designed for high-power EV battery packs; CAN is prototype-level and would need more protocol/hardware work for vehicle integration.

Limitations & prerequisites

  1. This is an academic EV battery-management prototype and not an automotive-certified BMS or thermal-management system.
  2. The prototype uses a small 4-cell battery pack and does not represent the voltage, current or thermal load of a full-scale EV battery pack.
  3. Temperature accuracy depends on sensor placement, calibration and thermal contact with individual cells.
  4. State of Charge estimation is intended for demonstration and may be less accurate than commercial automotive battery-management algorithms.
  5. The cooling system demonstrates thermal-control principles but is not designed for high-power EV battery packs.
  6. CAN communication is demonstrated at prototype level and may require additional hardware or protocol development for integration with an actual vehicle network.
  7. Lithium-ion battery testing requires suitable protection circuitry and safe operating practices.
  8. Hardware components and specific BMS modules may vary depending on availability.
  9. Additional features such as active cell balancing, cloud monitoring, mobile applications or advanced battery analytics require separate customisation.
  10. Delivery time may change if additional battery hardware, cooling mechanisms or communication features are requested.
Components & software requirements

Hardware requirements:
STM32 development board/controller, 4 × 18650 lithium-ion cells, suitable battery holder, BMS/protection circuit, DS18B20 temperature sensors, OLED display, CAN transceiver module, thermal cooling plate, cooling fan or miniature pump if required, regulated power circuitry, wiring and prototype mounting base.

Software requirements:
Embedded C firmware, STM32 HAL libraries, sensor-reading logic, thermal-control algorithm, battery-monitoring logic and CAN communication firmware.

Delivery information

Built to order. Typical build time 3–4 weeks after order confirmation and pack-configuration freeze (cell count, series/parallel layout, chemistry, cooling arrangement). The unit is bench-tested on a representative cell group — protection trip, fan staging, and SoC calibration — before dispatch.

Support terms
  • 30 days of build support over WhatsApp/email: wiring doubts, firmware questions, and the SoC calibration walkthrough.
  • One video call to bring the BMS up on your pack and verify protection and balancing behavior.
  • The report and PPT document the thermal design, the SoC estimation method, and the safety limits for your viva.
Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Christakis et al. (2025), Engineering Proceedings (MDPI)

Get a quotation