BUCHARĆŻv MAKITA BMS UNLOCKER (OBI) je malĂ© zaĆĂzenĂ postavenĂ© na Äipu ESP32, kterĂ© se pĆipojĂ na datovĂ© kontakty baterie Makita LXT (18V / 14,4V) a pĆeÄte z jejĂ vnitĆnĂ elektroniky (BMS) diagnostickĂĄ data. Ta ti pak ukĂĄĆŸe na webovĂ© strĂĄnce v prohlĂĆŸeÄi â v poÄĂtaÄi i v mobilu.
UmĂ pĆeÄĂst: napÄtĂ jednotlivĂœch ÄlĂĄnkĆŻ, celkovĂ© napÄtĂ paketu, teploty, poÄet nabĂjecĂch cyklĆŻ, odhad stavu nabitĂ, chybovĂ© a ochrannĂ© kĂłdy, stav zĂĄmku a zdravĂ baterie. U starĆĄĂch âzamÄenĂœchâ bateriĂ (nabĂjeÄka je odmĂtĂĄ nabĂjet) umĂ bezpeÄnÄ opravit vnitĆnĂ stav a odemknout je.
BUCHAR's MAKITA BMS UNLOCKER (OBI) is a small ESP32-based device that connects to the data contacts of a Makita LXT battery (18V / 14.4V) and reads diagnostic data from its internal electronics (BMS). It then shows the data in a web page in your browser â on a computer or phone.
It reads: individual cell voltages, total pack voltage, temperatures, charge cycle count, estimated state of charge, error and protection codes, lock state and battery health. On older âlockedâ batteries (the charger refuses to charge them) it can safely repair the internal state and unlock them.
| SouÄĂĄstkaPart | DetailDetail |
|---|---|
| MikrokontrolĂ©rMicrocontroller | ESP32-C3 SuperMini (doporuÄeno, malĂœ)(recommended, tiny) neboor ESP32 DevKit / Mini |
| RezistoryResistors | 4à 4,7 kΩ (pull-up dat, aktivace tranzistoru)(data pull-up, transistor drive) |
| TranzistorTransistor | NPN BC547 neboor N-MOSFET 2N7000 (pin ENABLE)(ENABLE pin) |
| KonektorConnector | 3D-tiĆĄtÄnĂœ adaptĂ©r nebo plochĂ© svorky na kontakty baterie3D-printed adapter or flat clamps for the battery contacts |
| NapĂĄjenĂPower | USB neboor 5V step-down z bateriefrom the battery |
| SignĂĄlSignal | ESP32 DevKit / Mini | ESP32-C3 SuperMini | PoznĂĄmkaNote |
|---|---|---|---|
| DATA (1-Wire) | GPIO4 | GPIO3 | pull-up 4,7 kΩ na 3,3 V4.7 kΩ pull-up to 3.3 V |
| ENABLE | GPIO5 | GPIO4 | bĂĄze NPN pĆes 4,7 kΩNPN base via 4.7 kΩ |
| GND | GND | GND | spojit se zĂĄpornĂœm pĂłlem baterie (Bâ)connect to battery negative (Bâ) |
NejjednoduĆĄĆĄĂ cesta: na makita.znouze.eu klikni na âNahrĂĄt firmwareâ, vyber typ desky a pĆipoj ESP32 pĆes USB. VĆĄe probÄhne pĆĂmo v prohlĂĆŸeÄi (Chrome nebo Edge na poÄĂtaÄi).
PokroÄilĂĄ cesta pĆes PlatformIO:
pio run -e esp32-c3-supermini
pio run -e esp32-c3-supermini -t uploadfs # web rozhranĂ
pio run -e esp32-c3-supermini -t upload -t monitor
Easiest way: on makita.znouze.eu click âUpload firmwareâ, pick your board type and connect the ESP32 via USB. Everything runs right in the browser (Chrome or Edge on a computer).
Advanced way via PlatformIO:
pio run -e esp32-c3-supermini
pio run -e esp32-c3-supermini -t uploadfs # web interface
pio run -e esp32-c3-supermini -t upload -t monitor
.uf2 na disk â bez jakĂ©hokoliv programu. NavĂc mĂĄ RGB LED signalizaci stavu. NĂĄĆĄ firmware zatĂm cĂlĂ na ESP32 (kvĆŻli Wi-Fi rozhranĂ), ale RP2040 je zajĂmavĂĄ varianta pro ÄistÄ âofflineâ odemykaÄ.Future tip: a related project (done.land / synrais) also runs on the RP2040 Zero, where firmware is flashed by simply dragging a .uf2 file onto a drive â no software needed. It also has RGB LED status indication. Our firmware targets ESP32 for now (because of the Wi-Fi interface), but RP2040 is an interesting option for a purely âofflineâ unlocker.MĂĄĆĄ tĆi moĆŸnosti:
http://makita.local â plnĂ© rozhranĂ s ĆŸivĂœmi grafy.BUCHAR-Makita-OBI (bez hesla) a otevĆi http://192.168.4.1.You have three options:
http://makita.local â full interface with live charts.BUCHAR-Makita-OBI (no password) and open http://192.168.4.1.Po kliknutĂ na Skenovat probÄhne trojitĂ© ovÄĆenĂ pĆĂtomnosti (proti âduchĆŻmâ â faleĆĄnĂ© detekci) a pĆeÄtou se statickĂĄ i dynamickĂĄ data:
After clicking Scan, a triple presence check runs (against âghostsâ â false detection) and static and dynamic data are read:
NabĂjeÄka Makita reĂĄlnÄ kontroluje jen tĆi vÄci: jeden âzĂĄmkovĂœâ pĆŻlbajt (nybble 34) a dva kontrolnĂ souÄty (CS0 a CS2). OdemknutĂ tedy znamenĂĄ: vynulovat zĂĄmkovĂœ pĆŻlbajt, pĆepoÄĂtat souÄty a bezpeÄnÄ zapsat zpÄt. Historie, cykly ani identita baterie se nemÄnĂ.
The Makita charger really checks only three things: one âlockâ nybble (nybble 34) and two checksums (CS0 and CS2). Unlocking therefore means: zero the lock nybble, recalculate the checksums and safely write it back. The battery's history, cycles and identity are left unchanged.
Podle tohoto pozorovĂĄnĂ stojĂ za vÄtĆĄinou pĆĂpadĆŻ blikajĂcĂ (zamÄenĂ©) baterie tĆi chyby uĆŸivatele:
ZajĂmavĂ© pozorovĂĄnĂ k napÄtĂ: u zamÄenĂ© baterie autor namÄĆil napÄtĂ ÄlĂĄnku 4,15 V. Po vybitĂ a nĂĄslednĂ©m nabitĂ v nabĂjeÄce ukazoval ÄlĂĄnek 4,04 V. Podle autora se u tÄchto bateriĂ zatĂm nepotvrdilo, ĆŸe by ĆĄlo o degradaci ÄlĂĄnkĆŻ â problĂ©m byl v uloĆŸenĂ©m stavu, ne ve fyzickĂ©m opotĆebenĂ.
According to these observations, three user errors account for most blinking (locked) batteries:
An interesting voltage observation: on a locked battery the author measured a cell voltage of 4.15 V. After discharging and recharging it in the charger, the cell read 4.04 V. According to the author, degradation damage has not been confirmed on these batteries â the problem was the stored state, not physical wear.
PraktickĂœ zĂĄvÄr: neĆŸ sĂĄhneĆĄ po odemykĂĄnĂ, nejdĆĂv si baterii pĆeÄti. KdyĆŸ jsou ÄlĂĄnky v poĆĂĄdku a jen sedĂ zĂĄmek, je odemknutĂ to sprĂĄvnĂ© ĆeĆĄenĂ. KdyĆŸ je jeden ÄlĂĄnek hluboko pod ostatnĂmi, odemknutĂ problĂ©m nevyĆeĆĄĂ â nejdĆĂv oprav hardware.
Practical conclusion: before reaching for unlocking, read the battery first. If the cells are fine and only the lock is set, unlocking is the right fix. If one cell sits far below the others, unlocking won't solve it â fix the hardware first.
ZrcadlovĂĄ funkce k odemknutĂ: zapĂĆĄe nenulovĂœ zĂĄmkovĂœ pĆŻlbajt s platnĂœmi souÄty, takĆŸe nabĂjeÄka baterii odmĂtne nabĂjet. PouĆŸĂvĂĄ stejnĂœ mechanismus jako odemknutĂ, takĆŸe tvĆŻj vlastnĂ nĂĄstroj ji spolehlivÄ vrĂĄtĂ zpÄt. HodĂ se jako imobilizĂ©r proti krĂĄdeĆŸi.
The mirror function of unlocking: it writes a non-zero lock nybble with valid checksums, so the charger refuses to charge the battery. It uses the same mechanism as unlocking, so your own tool reliably reverses it. Useful as an anti-theft immobilizer.
Data (tzv. rĂĄmec) jsou uloĆŸena v internĂ flash/data-flash pamÄti pĆĂmo v mikrokontrolĂ©ru BMS â ne v samostatnĂ© vymÄnitelnĂ© EEPROM. NapĆ. BL1830 mĂĄ Äip MC68HC908JK3E se 4 KB internĂ zabezpeÄenĂ© FLASH (chrĂĄnÄnĂ© heslem).
| Model | ĆĂdicĂ ÄipController chip | PamÄĆ„Memory |
|---|---|---|
| BL1850B / BL1860B | LIPW015 (STM32L051) | internĂ data-flash MCUinternal MCU data-flash |
| BL1460A | LIPW014 (STM32L051) | internĂ data-flash MCUinternal MCU data-flash |
| BL1830 (starĆĄĂolder) | MC68HC908JK3E | 4 KB internĂ zabezpeÄenĂĄ FLASH4 KB internal secured FLASH |
The data (the âframeâ) is stored in the internal flash/data-flash of the BMS microcontroller itself â not in a separate replaceable EEPROM. For example, the BL1830 uses the MC68HC908JK3E chip with 4 KB of internal secured FLASH (password-protected).
Baterie typu 5 (deska F0513 / Renesas RL78) majĂ vlastnĂ sadu ÄtecĂch pĆĂkazĆŻ. NĂĄstroj bezpeÄnÄ pĆeÄte napÄtĂ ÄlĂĄnkĆŻ a teplotu (jen ÄtenĂ, ĆŸĂĄdnĂœ zĂĄpis).
Type 5 batteries (F0513 / Renesas RL78 board) have their own set of read commands. The tool safely reads cell voltages and temperature (read-only, no writing).
| Rodina / deskaFamily / board | PĆĂkladyExamples | PoznĂĄmkaNote |
|---|---|---|
| STANDARD (0xF1, ânew familyâ) | BL1830B, BL1840B, BL1850B-D, BL1860B, BL1460A | plnĂĄ podpora (ÄtenĂ, diagnostika, odemykĂĄnĂ)full support (read, diagnostics, unlock) |
| STANDARD (0x50, starĆĄĂolder) | BL1815N, BL1840 (bez Bno B) | ÄtenĂ; nÄkterĂĄ pole chybĂ (oÄekĂĄvanĂ©)read; some fields absent (expected) |
| F0513 (typ 5, RL78type 5, RL78) | LIPW017 a pĆĂbuznĂ©and related | ÄtenĂ napÄtĂ/teploty, read-onlyvoltage/temp read, read-only |
| NeznaÄkovĂ© / neznĂĄmĂ©Aftermarket / unknown | â | fallback reĆŸim â ukĂĄĆŸe, co jde pĆeÄĂstfallback mode â shows whatever can be read |
| ProblĂ©mProblem | ĆeĆĄenĂFix |
|---|---|
| Baterie neodpovĂdĂĄBattery not responding | Zkontroluj GND na Bâ, pull-up 4,7 kΩ na DATA, sprĂĄvnĂœ pin dle typu desky.Check GND to Bâ, 4.7 kΩ pull-up on DATA, correct pin for the board type. |
| makita.local nefungujemakita.local doesn't work | PouĆŸij IP z routeru, nebo AP reĆŸim (192.168.4.1).Use the IP from your router, or AP mode (192.168.4.1). |
| FlashovĂĄnĂ nejdeFlashing fails | MusĂ bĂœt HTTPS a Chrome/Edge na PC. Zkontroluj USB kabel (datovĂœ, ne jen nabĂjecĂ).Needs HTTPS and Chrome/Edge on PC. Check the USB cable (data, not charge-only). |
| Po odemÄenĂ stĂĄle nenabĂjĂStill won't charge after unlock | Zkontroluj napÄtĂ a poĆadĂ ÄlĂĄnkĆŻ; nÄkterĂ© revize nemajĂ znĂĄmou opravu.Check cell voltage and order; some revisions have no known fix. |
| Model nerozpoznĂĄnModel not recognized | Fallback reĆŸim ukĂĄĆŸe syrovĂĄ data; mĆŻĆŸe jĂt o neznaÄkovou desku bez protokolu.Fallback mode shows raw data; may be an aftermarket board with no protocol. |
| BMS | Battery Management System â elektronika v baterii, kterĂĄ hlĂdĂĄ ÄlĂĄnky.Battery Management System â the electronics in the battery that watches the cells. |
| 1-Wire | JednovodiÄovĂĄ sbÄrnice, po kterĂ© se komunikuje s BMS.Single-wire bus used to talk to the BMS. |
| RĂĄmecFrame | 32bajtovĂœ blok dat uloĆŸenĂœ v BMS (identita, zdravĂ, zĂĄmek, souÄty).32-byte data block stored in the BMS (identity, health, lock, checksums). |
| Nybble | PĆŻlbajt (4 bity). ZĂĄmek baterie je jeden konkrĂ©tnĂ nybble (Ä. 34).Half a byte (4 bits). The battery lock is one specific nybble (no. 34). |
| SOC / SOH | Stav nabitĂ / stav zdravĂ baterie.State of Charge / State of Health. |
| mDNS | UmoĆŸĆuje adresu makita.local mĂsto IP.Enables the makita.local address instead of an IP. |
Projekt stojĂ na veĆejnĂ©m reverznĂm inĆŸenĂœrstvĂ komunity. NĂĆŸe je roztĆĂdÄnĂĄ sbĂrka zdrojĆŻ â od protokolovĂ© dokumentace pĆes opravy a renovace aĆŸ po komunitnĂ fĂłra a videa.
This project stands on the community's public reverse engineering. Below is a sorted collection of sources â from protocol documentation through repairs and refurbishing to community forums and videos.
| OdkazLink | Co tam jeWhat's there |
|---|---|
| Open Battery Information (GitHub) | PĆŻvodnĂ projekt OBI â Python aplikace + Arduino firmware, ze kterĂ©ho vychĂĄzĂ celĂœ ekosystĂ©m.The original OBI project â Python app + Arduino firmware that the whole ecosystem stems from. |
| openbatteryinformation.github.io | WebovĂœ nĂĄstroj OBI pĆĂmo v prohlĂĆŸeÄi (Web Serial) â stejnĂĄ architektura jako tato strĂĄnka.The OBI web tool right in the browser (Web Serial) â the same architecture as this site. |
| DeepWiki â Makita LXT modul | NejpĆesnÄjĆĄĂ tabulka pĆĂkazĆŻ a offsetĆŻ rĂĄmce (ROM ID, cykly, zĂĄmek, kapacita, napÄtĂ, teploty). HlavnĂ zdroj pro nĂĄĆĄ firmware.The most precise table of commands and frame offsets (ROM ID, cycles, lock, capacity, voltages, temps). Main source for our firmware. |
| Martin Jansson â ÄĂĄst 1 | Jak autor vytĂĄhl firmware ze starĆĄĂ desky F0513 (NEC/Renesas) technikou âNOP slideâ.How the author extracted firmware from the older F0513 board (NEC/Renesas) using a âNOP slideâ. |
| Martin Jansson â ÄĂĄst 2 | Rozbor STM32 binĂĄrky v GhidĆe, byte-level protokol, zmĂnka o backdooru i o nebezpeÄnĂ©m pĆĂkazu.STM32 binary analysis in Ghidra, byte-level protocol, mention of the backdoor and a dangerous command. |
| done.land â Automatic Unlocker | Popis nejpokroÄilejĆĄĂho firmwaru (automatickĂ© odemykĂĄnĂ, RGB stavy). BÄĆŸĂ i na RP2040 Zero, kam se firmware nahraje jednoduchĂœm pĆetaĆŸenĂm souboru.Description of the most advanced firmware (automatic unlocking, RGB status). Also runs on RP2040 Zero, where firmware is flashed by simple drag & drop. |
| Hackaday (2024) | PopulĂĄrnĂ shrnutĂ celĂ©ho tĂ©matu â dobrĂœ rozcestnĂk pro zaÄĂĄtek.A popular summary of the whole topic â a good starting point. |
| Heise.de | NÄmeckĂœ ÄlĂĄnek o softwarovÄ zamÄenĂœch akumulĂĄtorech nĂĄĆadĂ a jejich opravÄ.German article about software-locked tool batteries and repairing them. |
| Reddit r/Makita · r/opensource | Diskuze k vydĂĄnĂ OBI â praktickĂ© zkuĆĄenosti uĆŸivatelĆŻ, co funguje a co ne.Discussions around the OBI release â practical user experiences, what works and what doesn't. |
| Reddit â balance charger | VlĂĄkno o balancovĂĄnĂ ÄlĂĄnkĆŻ v Makita paketech.Thread about balancing cells in Makita packs. |
| laptopu.ro â Makita pinout | SbĂrka zapojenĂ konektorĆŻ bateriĂ nĂĄĆadĂ vÄetnÄ Makita.Collection of tool battery connector pinouts including Makita. |
| CandlePowerForums | VysvÄtluje, proÄ se prvnĂ ÄlĂĄnek opotĆebovĂĄvĂĄ rychleji â BMS se napĂĄjĂ jen z nÄj. PouĆŸito v naĆĄem asistentovi balancovĂĄnĂ.Explains why cell 1 wears out first â the BMS is powered from it alone. Used in our balancing assistant. |
| device.report (PDF) | TechnickĂœ dokument k Makita baterii.Technical document for a Makita battery. |
| Mondo BMS kit | NĂĄhradnĂ BMS deska pro Makita 18V (18650) â alternativa, kdyĆŸ originĂĄl nejde odemknout.Replacement BMS board for Makita 18V (18650) â an alternative when the original can't be unlocked. |
| Makita â oficiĂĄlnĂ nĂĄvody | OficiĂĄlnĂ manuĂĄly vĂœrobce.Official manufacturer manuals. |
| Instructables â oprava LXT | Krok za krokem rozebrĂĄnĂ paketu a vĂœmÄna ÄlĂĄnkĆŻ.Step-by-step pack disassembly and cell replacement. |
| Elektrotanya â mazĂĄnĂ chyb · vadnĂĄ elektronika · archiv tĂ©matu (PDF) | MaÄarskĂ© servisnĂ vlĂĄkno â praktickĂ© postupy mazĂĄnĂ chybovĂœch stavĆŻ a diagnostiky desky. PDF je ucelenĂœ archiv diskuze.Hungarian service thread â practical procedures for clearing error states and board diagnostics. The PDF is a complete archive of the discussion. |
| Jimbo Slice Workshop | Renovace Makita bateriĂ v praxi.Makita battery refurbishing in practice. |
| 9v.lt â re-making LXT | PĆestavba LXT paketĆŻ, volba ÄlĂĄnkĆŻ.Rebuilding LXT packs, choosing cells. |
| Sater.lv | ProfesionĂĄlnĂ servis Makita bateriĂ â pĆehled, co se bÄĆŸnÄ opravuje.Professional Makita battery service â overview of what is commonly repaired. |
| L'Atelier â nabĂjenĂ a diagnostika | NabĂjenĂ a diagnostika Makita 18V LXT.Charging and diagnostics of Makita 18V LXT. |
| FixYa | ĆeĆĄenĂ zaseknutĂ© baterie ve vrtaÄce.Fixing a battery stuck in a drill. |
| BattRestore MDT-01 | HotovĂœ komerÄnĂ odemykaÄ. NĂĄĆĄ nĂĄstroj dÄlĂĄ totĂ©ĆŸ, ale otevĆenÄ a zdarma.A ready-made commercial unlocker. Our tool does the same, but openly and for free. |
| CustomBenchTools | DalĆĄĂ komerÄnĂ odemykacĂ nĂĄstroje.More commercial unlock tools. |
| prodelali.by · 78294.ru | RuskojazyÄnĂĄ fĂłra â velmi aktivnĂ na tĂ©ma originĂĄlnĂch Makita akumulĂĄtorĆŻ a jejich oprav.Russian-language forums â very active on original Makita batteries and their repair. |
| Mobile01 (TW) | TchajwanskĂ© fĂłrum â diskuze k Makita bateriĂm.Taiwanese forum â Makita battery discussion. |
| SMZDM 1 · 2 · 3 · 4 | ÄĂnskĂ© ÄlĂĄnky o Makita bateriĂch, jejich rozborech a pĆestavbĂĄch.Chinese articles on Makita batteries, teardowns and rebuilds. |
| Taobao BK · Douyin | ÄĂnskĂ© zdroje k bateriĂm a jejich komponentĂĄm.Chinese sources on batteries and their components. |
| Power Tools Malaysia (FB) | PĆĂspÄvek z komunitnĂ skupiny o nĂĄĆadĂ.Post from a power tools community group. |
ⶠ01 · 02 · 03 · 04 · 05 · 06 · 07 · 08 · 09 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30 · 31 · 32 · 33 · 34 · 35 · 36 · 37