Awesome
diyBMS v4
Version 4 of the diyBMS. Do-it-yourself battery management system for Lithium ion battery packs and cells
If you are looking for version 3 of this project take a look here https://github.com/stuartpittaway/diyBMS
THIS CODE IS FOR THE NEW CONTROLLER (AFTER FEB 2021) AND ESP32 DEVKIT-C
Support the project
If you find the BMS useful, please consider buying me a beer, check out Patreon for more information.
You can also send beer tokens via Paypal - https://paypal.me/stuart2222
Any donations go towards the on going development and prototype costs of the project.
Videos on how to use and build
https://www.youtube.com/stuartpittaway
Video on how to program the devices
Video on how to order from JLCPCB
How to use the code
Instructions for programming/flashing the hardware can be found here
Help
If you need help, ask over at the forum
If you discover a bug or want to make a feature suggestion, open a Github issue
Hardware
Hardware for this code is in a seperate repository, and consists of a controller (you need 1 of these) and modules (one per series cell in your battery)
https://github.com/stuartpittaway/diyBMSv4
WARNING
This is a DIY product/solution so don’t use this for safety critical systems or in any situation where there could be a risk to life.
There is no warranty, it may not work as expected or at all.
The use of this project is done so entirely at your own risk. It may involve electrical voltages which could kill - if in doubt, seek help.
The use of this project may not be compliant with local laws or regulations - if in doubt, seek help.
How to compile the code yourself
The code uses PlatformIO to build the code. There isn't any need to compile the code if you simply want to use it, see "How to use the code" above.
If you want to make changes, fix bugs or poke around, use platformio editor to open the workspace named "diybms_workspace.code-workspace"
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
https://creativecommons.org/licenses/by-nc-sa/2.0/uk/
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- Non-Commercial — You may not use the material for commercial purposes.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices: You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.