POSTS
Upgrading the Code to New Version
From time to time, the code for the diagnostic box may be updated. You can get and apply these updates yourself for free. Here’s how…
Arduino Platform
The “brains” of the ED-BMS diagnostic box are based on the Arduino platform. This open-source platform has made the creation of small devices like this much more accessible to the hobbyist community by making the creation, sharing, and updating of code much easier. You’re benefiting from that already, as the code you’re running already has multiple authors.
All of the code is shared in a free and open manner on github and can be updated in the field using the (free) tools provided by the Arduino project.
Upgrading the Code using the Arduino Tools
- Grab the version of the code you want from github.
- Most people: simply use this link and unzip it.
- Programmers, feel free to use git natively. The github repo is top right of this page.
- Install the Arduino tools on your computer.
- You want the “Download the Arduino IDE” option, not the online IDE.
- In the blue box on the right-hand side, choose the version for your particular PC.
- Download and install the Arduino software.
- In File menu of the Arduino IDE, open “ED_BMSdiag.ino” that you unzipped in step 1.
- Connect the ED-BMS box to the computer.
- In the Tools menu, Port submenu, select the port where the box is connected.
- In the Sketch menu, select “Upload” and wait a minute or two.
- Arduino tools will compile the code (translate it from human-readable to executable) and upload it to the board.
- You will see a “Done Uploading” message when all is complete.
- In the Tools menu, open the “Serial Monitor” and verify that the version of the code is what you expect.
- You’re done!