BMS Digital Twin - v1.0.0 (Production Release)
Overview
Initial production release of the Battery Management System (BMS) Digital Twin. This firmware simulates hardware-level telemetry polling, real-time safety cutoffs, and State of Charge (SoC) estimation for a lithium-ion battery pack.
Live Simulation
https://wokwi.com/projects/459317716940232705
Key Features
- Telemetry Engine: Real-time polling of ADC pins for Voltage, Current, and Temperature.
- Hardware Safety Bouncer: Hardcoded Over-Voltage (4.2V) and Under-Voltage (3.0V) limits triggering an instantaneous digital contactor shutdown (Pin 13).
- SoC Estimation: Implemented continuous Coulomb Counting algorithm (integration of current over time) to calculate precise battery percentage dynamically.
Result
