Hi
I have almost completed a project with one NodeMCU and a bunch of Arduinos connected via the I2C bus. The NodeMCU has WiFi and thanks to code from Rui Santos, I have successfully managed to perform OTA updates of INO files, on it, which is great.
The next step is to update all of the slave arduinos with software updates as I continue to tinker with the code. As I see it, these are my requirements/challenges:
- To understand if I can broadcast/force the updates, on demand or if I have to place the file(s) somewhere and program the device(s) to look for updates.
- If the INO file, needs to be changed into a .BIN file (not a problem)
- If I have to upload the file in question to the Flash memory of the nodeMCU before updating
- If i can create a list of I2C addresses that need the update, so that the process is not labour intensive. n.b. each device has DIP switches which I2C address physically set up to be unique, so the same code on all Arduino's will work perfectly.
I've done a bit of digging before posting and it mentions creating a firmware update server etc, however, I just wondered if:
- This has been done before
- If there is a simple way to do this
- If not, a general pointer on what specific area to focus on, would be extremely helpful
Many thanks