Over the Air Updates
With a ESP32 based board or a WiFi-capable development board we can use WiFi to update a duck's firmware (as long as WiFi is enabled in the ducks).
To flash a duck over-the-air (OTA), all we have to do is compile firmware as a binary in Arduino and send it to the ducks over WiFi.
Open the Arduino IDE and the example or firmware you want to send to the Duck.
Go to Sketch -> Export compiled Binary. The Exported Binary will be saved in the same folder as your .INO
file
On the left the PapaDuck on the right a Mamaduck or DuckLink
Connect to a duck's WiFi (e.g. PapaDuck Setup, or MamaDck), open a browser and go to http://192.168.1.1/update.
It will ask for your username and password.
Default:
- Username: user
- Password: pass
You will need to change the default username and password at line number line number 307 and 308 of CDPCFG.h
Upload the compiled binary once you are in the update page.
Click on Choose File and select the .bin folder from your computer. Note: Every duck needs to have a different DuckID, So every duck needs a different compiled binary.
ClusterDuck Protocol 2020-2024 https://www.clusterduckprotocol.org