Program any arduino board over internet via some WiFi board connected to it

Hello!
Is there any way to uploat firmware (code) via internet to arduino board like - Uno, Nano, Mega, Duo or some other board via some WiFi board connected to it by Serial port for example popular and cheep ESP8266?
That will be fantastic is it can be possible. Then for example we can manage and update firmware to all our builded projects in the world from home with just connected ESP8266 to it and connect it to WiFi network.

Example:
Arduino IDE -----> internet -----WiFi---> ESP8266 --- Serial port ---> Arduino Mega

yes, there are multiple ways. for Mega even a self update with my ArduinoOTA library is possible.

https://github.com/JAndrassy/ArduinoOTA#atmega-support

@Xenon69
if there is already a ESP8266 - why not omit the Uno/Nano/Mega and do all the processing on the ESP? A NodeMcu comes with a lot of pins - if you you need more - use I2C port expanders.

The ESP can be programmed via WIFI.
The ESP has more memory and is a lot faster than the Arduino 16MHz controllers.
No need for an Uno/Nano/Mega in parallel.

Thank you Juraj! I will try soon to instal and check your library. Hope I will get it to work,

I agree! Of course the best way for future is use ESP with expanders and omit old arduino boards. But in my situation it is needed for some old projects what is done several years ago, but for now there is needed firmware support from far, far away.

if you do an "update" of the existing code you can do a port to the new hardware also - just saying :wink:

Noiasca, yes I do an update of the existing code, but can you please explain more about what do you mean by do a port to the new hardware? :thinking:

to port a program to a new hardware ~ adopt code in a way so it runs on a different plattform. For example a code for an UNO will be adopted so it can run on a NodeMCU V1 (e.g. use other pins).

ou, ok, now I understand what you mean. But in my situation it is not so easy because there is already producet coplicated PCB board for Arduino Mega and rebuild all this project is very big job. So that is the reason why will be great to connect some low cost board like ESP8266 to some existing project to upload firmware by internet. :wink:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.