#HelloWorld
It’s been a long time since I’ve posted any of my personal projects here so I decided to do a quick update on what I’ve been working on.
#HelloWorld
It’s been a long time since I’ve posted any of my personal projects here so I decided to do a quick update on what I’ve been working on.
As promised, here’s the rest of the code for the battery management system. The BMS now reads the voltage of each battery cell and balances each cell until the battery voltage across all cells is closely matched; +/-0.03V.
I also included a box with a switch and an LCD display. Some extra components are included such as a small trimmer potentiometer to adjust the LCD brightness, DIP switch with 4 contacts, toggle switch to turn power-off and on and a box to store the components.
This is what the new setup looks like:
And here’s the result:
1.This is the starting position of the 4 lithium batteries.
2. Then the batteries begin to discharge.
3. And at the end, the battery voltages are closely matched.
Here’s the new code:
Continue reading