Arduino OTA Library:You can read about the library on the Arduino github site here, but basically there are three ways you can implement the OTA update:
- Arduino IDE
- Web Browser
- HTTP Server
I've decided to go for the Arduino IDE scenario that is described here.
The requirements for this process are:
- Arduino IDE (tested with 1.6.8)
- Python 2.7
Arduino IDE OTA Update:Basically all you really is the command "ArduinoOTA.begin();" in the setup routine and the command "ArduinoOTA.handle();" in the loop function. This is the bare minimum you need to get it working, but we'll add some more things like error handling and some basic security.
EDIT: I couldn't get the Arduino IDE security feature working on my windows 10 machine, it seems there are a few bugs still being worked out
Blynk and OTA Code:
How to update your device OTA:Once you get the code loaded on to your device you should see the unit appear in your list of ports under the 'Tools' heading.
I had to reboot my machine to get this to work for me. Now you can upload code to your device over the network as if it was connected via USB.