• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    C++
  • License
    Other
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

diyBMS v4 code for the ESP32 and new controller hardware

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

https://youtu.be/wTqDMg_Ql98

Video on how to order from JLCPCB

https://youtu.be/E1OS0ZOmOT8

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.

More Repositories

1

diyBMSv4

Version 4 of the diyBMS
HTML
737
star
2

diyBMS

Do it yourself battery management system for Lithium ion battery packs/cells
C++
486
star
3

diyBMSv4Code

Software for diyBMS v4
C++
127
star
4

nanodesmapvmonitor

Nanode to monitor a SMA PV Inverter over Bluetooth
Arduino
52
star
5

diyBMS-CurrentShunt

Isolated current, voltage and SOC monitor for battery banks up to 85V
HTML
34
star
6

WebastoHeaterWBusArduinoInterface

Arduino software for controlling Webasto ThermoTop heaters over its custom WBUS protocol
C
23
star
7

WebastoWBUSInterface

Hardware circuit diagram for interfacing to the Webasto WBUS interface from a PC/Arduino
HTML
18
star
8

Super8FilmScanner

Super 8 film scanner, 3d printed and uses OpenCV
Python
16
star
9

diyBMSv4Leaf

diy BMS version 4 for Nissan Leaf cells
15
star
10

SMASolarMQTT

Python
9
star
11

emoncmsOctopusSmartMeter

SmartMeter API integration with Octopus Energy (UK) and emoncms
Python
8
star
12

ArduinoSolarPowerController

Arduino
5
star
13

VariableTimeBaseSSR

Variable Time Base SSR controller for Arduino designed for using excess Solar PV energy
Arduino
4
star
14

glcd

Port of GLCD library by bperrybap with changes to make it run with fewer LCD pins
C
2
star
15

smasolarbluetoothdebugtool

Debug tool for comms with SMA Solar inverters
Python
2
star
16

ESP8266-DS18B20-EMONCMS

ESP8266 based temperature monitor for emonCMS
C++
2
star
17

OEMAESSensorLib

Open Energy Monitor RFM69Pi Adapter Board firmware for receiving encrypted sensor data packets
C++
1
star
18

ArduinoAESReceiver

Open Energy Monitor RFM69Pi Adapter Board firmware for receiving encrypted sensor data packets
Arduino
1
star
19

SerialEncoder

Simple fixed length serial packet encoding library for micro controllers
C++
1
star
20

u8glib

Automatically exported from code.google.com/p/u8glib
C
1
star
21

vdo-lcd-replacement

Replacement LCD screen for VDO marine tachometers with hour counters
Arduino
1
star
22

emonNotify

Arduino/emonCMS based visual display
Arduino
1
star
23

SolarPowerControllerNoVoltage

Arduino
1
star