DIYBMS September 2021 update - SOC% and lots more

Published at : 23 Dec 2025

September 2021 update
Includes:
* State of charge monitoring (SOC%)
* Lots of bug fixes
* Support for Influx DB API v2
* Over sampling on modules (smoother readings)

0:00 Introduction
0:40 New features
3:11 Oversampling
5:15 Wiring diagram for shunt
7:15 Configuring SOC
8:35 SOC example graphs
11:00 How to upgrade
11:32 Influx DB demo
13:00 Sneak peak of next video


Using affiliate links helps to pay for running the channel and the project work, it doesn’t cost you anything extra.

JLCPCB
(affiliate links)
https://jlcpcb.com/RSZ

Discount code: JLC-STUART

PATREON
https://www.patreon.com/StuartP

Forum:
https://community.openenergymonitor.org/c/hardware/diybms/53

GITHUB
https://github.com/stuartpittaway/diyBMSv4ESP32
https://github.com/stuartpittaway/diyBMSv4


Article from Analog about ADC over sampling

https://www.analog.com/en/technical-articles/increase-dynamic-range-of-sar-adcs-using-oversampling.html


DOCKER COMMANDS

To launch an Influx DB in Docker

docker pull influxdb:2.0

docker run -d -p 8086:8086 -v influxdb2:/var/lib/influxdb2 -e DOCKER_INFLUXDB_INIT_MODE=setup -e DOCKER_INFLUXDB_INIT_USERNAME=stuart -e DOCKER_INFLUXDB_INIT_PASSWORD=password1234 -e DOCKER_INFLUXDB_INIT_ORG=my-org -e DOCKER_INFLUXDB_INIT_BUCKET=diybms-bucket influxdb:2.0