After you prepared the hardware (microcontroller), here is how to upload the ArduinoOBI firmware and get a working Makita dongle.

This YouTube video explains how to build the adapter and provides free 3D printing files for a matching enclosure.
Uploading Firmware to your Adapter
The original author and also the YouTube video uses the Arduino IDE to compile and upload the firmware to the Arduino Nano or UNO.
I prefer platform.io, so here is what I did:
- download the ready‑to‑build PlatformIO ArduinoOBI project
- Open the folder with the extracted content in VSCode.
- In the VSCode platformio extension, click Build.
Manually Creating PlatformIO Project
In PlatformIO, create a new project and select your target microcontroller. Once the project is created, adjust it in the file explorer:
-
Open
platform.iniand review the auto‑generated settings. For an Arduino Nano Clone, use:[env:nano_old] platform = atmelavr board = nanoatmega328 framework = arduino upload_speed = 57600 - In your browser, open Arduino OBI/main.cpp and copy the complete source code.
- In VS Code, open
src\main.cppand replace its contents with the copied source. - In the VS Code Explorer, right‑click
lib→ New Folder and name itOneWire2. - In your browser, navigate to
ArduinoOBI/lib/OneWirewhere you findOneWire2.cppandOneWire2.h. - Open
OneWire2.cpp, copy the source, then in VS Code createOneWire2.cppinside theOneWire2folder (exact file name and casing) and paste the code. Save the file. - Repeat the previous step for
OneWire2.h. - In the Explorer, right‑click the
OneWire2folder → New Folder and name itutil. - In your browser, navigate to
ArduinoOBI/lib/OneWire/util, which containsOneWire_direct_gpio.handOneWire_direct_regtype.h. - Copy
OneWire_direct_gpio.h, then in VS Code create a file with the same name underOneWire2/util, paste the contents, and save. - Repeat for
OneWire_direct_regtype.h.
Now everything is in place; in PlatformIO, choose Upload to build and flash the firmware onto your microcontroller.
Next Steps
To test drive your dongle, run the OpenBatteryInformation python script, or run a PowerShell script.
Slow Website?
This website is very fast, and pages should appear instantly. If this site is slow for you, then your routing may be messed up, and this issue does not only affect done.land, but potentially a few other websites and downloads as well. Here are simple steps to speed up your Internet experience and fix issues with slow websites and downloads..
Comments
Please do leave comments below. I am using utteran.ce, an open-source and ad-free light-weight commenting system.
Here is how your comments are stored
Whenever you leave a comment, a new github issue is created on your behalf.
-
All comments become trackable issues in the Github Issues section, and I (and you) can follow up on them.
-
There is no third-party provider, no disrupting ads, and everything remains transparent inside github.
Github Users Yes, Spammers No
To keep spammers out and comments attributable, all you do is log in using your (free) github account and grant utteranc.es the permission to submit issues on your behalf.
If you don’t have a github account yet, go get yourself one - it’s free and simple.
If for any reason you do not feel comfortable with letting the commenting system submit issues for you, then visit Github Issues directly, i.e. by clicking the red button Submit Issue at the bottom of each page, and submit your issue manually. You control everything.
Discussions
For chit-chat and quick questions, feel free to visit and participate in Discussions. They work much like classic forums or bulletin boards. Just keep in mind: your valued input isn’t equally well trackable there.
(content created May 08, 2026)