Where This Guide Comes From

This guide is built on GreatScott!'s "BMS: DIY or Buy" video, which sits at 1.74 million views. The video starts with a 4S2P lithium pack that outputs up to 40A continuously — then asks a fair question: is a cheap commercial BMS enough protection, or is building your own board actually better? It answers by tearing a commercial BMS apart and then building the open-source DIYBMS designed by Stuart Pittaway, board by board. We follow the same path here, with the numbers and the honest trade-offs.

GreatScott! — "BMS (Battery Management System) || DIY or Buy || Properly protecting Li-Ion/Li-Po Battery Packs"
Watch on YouTube →
1.74M+ views. A commercial BMS taken apart function by function, then an open-source DIYBMS built from boards, SMD parts and an ESP8266 — with an honest cost-versus-features verdict.

What a Battery Management System Actually Does

A naked lithium pack is not safe to work with. Cells from the same box are never chemically identical: they have slightly different capacities and charge at slightly different rates, so after a few cycles their voltages drift apart. If nothing stops it, one cell can be pushed past its voltage limit while others sit lower — and overvoltage destroys cells. A short circuit is worse. A BMS exists to stop all of it: balanced charging, short-circuit protection, overcharge and over-discharge protection. The question is how much of that a $10 board delivers, and what you give up when you build your own.

Inside a Commercial BMS: Three Functional Blocks

The teardown in the video is the useful part, because a cheap BMS is usually a sealed black box. Once the heatsink and paper insulation are removed, the PCB splits into three functional groups. Nearest the balance connector — the plug that connects to each cell of the pack — sit passive components, two transistors per cell and a DW01A protection IC. That IC watches each cell for overcharge, over-discharge and overcurrent, and its transistors cut the cell’s connection to the load when something goes wrong.

Flip the board and there is a second balance connector with another transistor, bigger 200-ohm resistors and an HY2213 single-cell balance-charge IC. Its job is simple: when a cell’s voltage climbs above the set point, it turns on the transistor, which discharges that cell through the resistor. Done across the pack, every cell ends the charge cycle at the same voltage — 4.2V in this case — so the pack is balanced. On the top side, at the B-, P- and C- terminals where the main wires connect, sit two power MOSFETs, passive components and three larger resistors acting as a current shunt. If the pack draws more than the board’s rated 35A, the voltage drop across the shunt flips the MOSFETs off and cuts the current flow.

Why Cheap BMS Boards Earn Their Reputation

The electronics above are exactly what a commercial BMS should do, and most boards follow the same PCB principle — the difference is often that balancing is left out of the cheapest ones. The reputation problem is not the circuit design, it is the uncertainty: no datasheet, no brand, no way to verify the current rating or the balance current before you wire it into a pack. Viewers in the video’s comments say the same thing. A commercial BMS works, but you are trusting a nameless board with cells that can fail violently if the protection is wrong. That is a reasonable thing to be cautious about.

The Open-Source Alternative: Stuart Pittaway’s DIYBMS

The DIY route in the video is the DIYBMS project from Stuart Pittaway, available on GitHub, built on the smaller-PCB branch. Each battery cell gets its own small board: a regulator creates a stable 3.3V from the cell, an ADC and an I2C isolator sample the cell’s raw voltage, and an ATtiny85 microcontroller reads it every few seconds. A thermistor gives cell temperature as well. The ATtiny85 publishes the smoothed value over I2C to an isolator on the other side, which feeds an ESP8266 development board — and the ESP8266 serves everything in a web browser.

Building the DIY BMS: Boards, Parts and Soldering

The hardware list is worth writing down before you start: the cell modules are the expensive part and you need one per cell, plus the controller board, an ESP8266 for the web interface, a current sensor, and a power supply for the controller rail. The project documentation lists a few supplier options for each part, which matters more than it sounds — some of the modules ship from different sellers and lead times vary, so order the long-lead items first. None of it is exotic; all of it is more fiddly than a one-piece commercial board.

The build is real work, and the video shows it honestly. The Gerber files are uploaded to JLCPCB — ten boards for about two dollars plus shipping. Most components come from Mouser, with a few special parts from eBay. Soldering is fine-tip SMD work under a microscope with plenty of flux: roughly three hours for four boards, and a component-package mistake along the way that still worked. Then the ESP8266 (a NodeMCU here) is programmed over USB, and each ATtiny85 is programmed through the ICSP pins using an Arduino Uno running the ArduinoISP sketch, burning the bootloader and uploading the firmware.

What the DIY BMS Adds: Live Monitoring and Balancing

Once assembled, the difference from a commercial board shows up immediately. Each cell module appears in the web interface with live voltage and temperature. There is a provision button to register each module, and the firmware — improved by a contributor in the video — adds a maximum-voltage setting. When the pack is charged and a cell passes the 4.1V limit, that board draws about 1 amp through its power resistor to bleed the cell down. You can watch balancing happen from a browser, which no commercial board in this price class offers.

Cost and Effort: The Honest Trade-Off

The video does not hide the downsides. The DIY BMS costs more than a commercial board, takes hours of SMD soldering and programming, and worst of all draws noticeably more quiescent current from every cell than a commercial BMS. That last point matters: a board that always listens is a board that always consumes a little power. For a pack that sits around most of the time, that parasitic draw quietly eats capacity. For an application where the battery is cycled hard and monitored anyway, it is irrelevant.

So Which One Should You Buy?

Balancing current is the spec that separates BMS boards in practice. A commercial board typically balances with a few dozen milliamps, which is fine for a pack that charges slowly overnight; a DIY BMS bleeding a full amp per cell can pull a pack back into balance in one cycle. For a pack that is charged hard and fast — a power wall being topped up by solar midday — that difference keeps cells inside their voltage window. For a pack that sits at rest most of its life, the extra current is wasted effort and the extra quiescent draw is a real cost.

Whatever you choose, add the hardware protection around it: a fuse or circuit breaker sized just above your continuous load, thick enough main cables for the current, and clean terminations. A BMS is the brain, but the fuse is the last line of defence that works even if the electronics fail. That combination — pack, BMS, fuse, cable gauge — is exactly how we assemble production packs, and it is worth copying at any size.

The conclusion from the video is practical: the DIY BMS makes sense in combination with something like a DIY power wall that gets charged through solar, where online monitoring and per-cell balancing earn their keep and the quiescent draw is a rounding error. For a regular battery pack that sits around most of the time, a commercial BMS is the right call — cheaper, smaller, lower self-consumption and enough protection for a well-built pack. Both routes are "winning" when used in the right application.

Bottom Line: Both Win in the Right Application

If you are building a one-off portable pack, buy a commercial BMS from a source you can check, verify its current rating against your load, and move on — that is what we use on our own packs at Dajiu Energy. If you are assembling a large stationary bank, especially one charged from solar, the open-source DIYBMS gives you per-cell telemetry that a cheap board cannot, and the extra cost becomes an insurance premium you can see working. Before you commit to either, read our guide on how lithium packs behave so the protection matches the chemistry you are actually running.

And if you’re not hunting for a consumer brand but need the battery itself — a custom LiFePO4 pack at a specific voltage and capacity, an OEM or ODM project, or wholesale supply for your own power station line — that’s what we do. Dajiu Energy is a Chinese manufacturer building LiFePO4 batteries for RVs, homes, golf carts and portable applications since 2017. Our product range covers LiFePO4 drop-in replacement batteries, EV and golf cart batteries, wall-mounted home storage, portable power stations and industrial stackable systems, with CE, UN38.3, MSDS and ISO9001 certified builds and OEM/ODM support. Browse the full product range or read more battery guides before you decide.

What Viewers Are Asking (Top Comments on the Video)

These are the most useful of the video's top comments, with our practical answers. The original creator did not reply to these threads, so the answers below are ours — written the way we'd answer a customer on the shop floor. Thanks-only comments were left out on purpose; these are the ones with actual information in them.

@StuartPittaway · 434 likes
"Thank you for taking a look at my BMS design. I have a new version 4 that I am currently working on which removes the higher current drain on the cells to less than 1mA, the software is also more flexible."
Our take: The original designer confirming the project in the thread — his version 4 is worth following if you plan a build, since it refines balancing and the web UI from the version shown in the video.
@AdamWelchUK · 102 likes
"Well that was unexpected! Great video as always. Thanks for featuring my channel."
Our take: The channel that covered DIYBMS in depth; if the video left you wanting more detail on provisioning and firmware, their walkthroughs fill the gap before you order boards.
@AMXM-do5kw · 87 likes
"Commercial BMS : I'm simple and available. DIY BMS. : it's complicated"
Our take: That is the honest summary of the whole video: a commercial board is a black box you trust, a DIY BMS is work you see. For a beginner pack, the black box wins on time and money.
@Fungineers · 81 likes
"I always BUY mine. I aint got the... Stark: what? Time? Me: The patience."
Our take: Fair. The DIYBMS is an SMD soldering project first and a battery project second. If you do not enjoy fine-pitch soldering, buy a commercial board and spend your hours on the pack instead.
@Chickey · 48 likes
"Really pleased you got use out of my fork of the code and found the extra features of use. Thanks for featuring my channel and great video."
Our take: The firmware contributor the video mentions — his fork added the maximum-voltage setting and other controls. If you build this BMS, use the maintained fork rather than the original firmware.
@Mr_Stev3D · 42 likes
"Just FYI, your videos got me through a seriously bad time in my life and I am thankful for you. This hobby saved me and God provided!"
Our take: This is the most useful comment in the thread. He ran a 3S16P pack, pushed cells to 0V and 4.3V, and recommends active balancing for big packs plus the 1A bleed resistors on the DIYBMS. For anything over a few parallel cells, per-row telemetry catches what a dumb BMS misses.
@KydroxHD · 35 likes
"Duuude lets see this BMS in action! Make a charger for lithium ion batteries next! That'd be so dope"
Our take: A fair request — the video proves balancing works but does not show long-term behaviour. Real-world reports from the DIYBMS community consistently show cell drift staying inside a few millivolts over months of cycling.
@MrBrymstond · 10 likes
"For smaller projects I still like using a TP4056 wired parallel on each cell or cells of the series pack so for a 2P 4S I have one TP4056 on each 2P = .500mAh each cell x4 Chips using 4 separate phone chargers for isolation and you can use the single cell protection strips for unprotected cells so they shut down before under voltage. Cheap and works."
Our take: A clever workaround for packs without a proper BMS: TP4056 modules per parallel group, isolated chargers, and 2P4S wiring so every group charges independently. It is a bench hack rather than a production design, but it protects cells cheaply for small builds.
@pr2207A · 10 likes
"Awesome video To make BMS can we use TP4056 charging modules for each cell and then solder them on one PCB followed by connecting input wires? Will it work fine? If yes, this will be the cheapest and easiest way to do that..... Plz reply??????"
Our take: Soldering one TP4056 per cell on a single PCB is feasible for small packs, but plan the ground isolation carefully — floating chargers or opto-isolated points are what make it safe when cells share a common rail.
@georgepahountis5814 · 5 likes
"Great vid. Scott!!!-This is a passive balance/power bleeder-How about active balancing so not to waste power?"
Our take: Correct physics: active balancing moves charge between cells instead of burning it as heat, so nothing is wasted. The DIYBMS uses bleed resistors (passive), which is simpler and fine at 1A — active top-balancing matters more at large pack sizes.

Source video: GreatScott! — "BMS (Battery Management System) || DIY or Buy || Properly protecting Li-Ion/Li-Po Battery Packs" (youtube.com/watch?v=rT-1gvkFj60). Comment excerpts are quoted verbatim from the video's top comments; the original creator did not reply to these threads, so all answers are Dajiu Energy's own. Build figures are transcribed from the video's measurements.