Controlling and Programming Arduino Over WiFi

Is there a way to program and control Arduino without being connected by USB to the computer? I have a WiFi module ESP8266, and I am not sure how to do this. We want to put the Arduino in the attic, and be able to control and upload to it from downstairs.

I tried searching on the internet, but I couldn't really find anything. Are there any good websites explaining how to do this? If yes, please can you post me a link/links - I would really appreciate that. If not, could you give me a really simple example of how I could eg. upload a simple blink sketch onto the Arduino using the ESP8266 module (through WiFi) wirelessly?

Thank you so much!

1 Like

Yes it is possible. I have such a configuration. I use Arduino Uno Wifi with WiFi Link firmware ota version. But there are other possibilities.

One option is esp-link firmware. Other option is to use the mentioned WiFi Link or use only the DFU library in you own sketch.

To make serial programing from the esp, the esp must be able to reset the Atmel chip. A pin on esp must be connected to reset pin of Arduino somehow.

Uno WiFi & WiFi Link unofficial documentation

And there is an example in IDE for the esp8266: Arduino_Wifi_AVRISP.ino

EDIT: not recommened. the avcrdude upload to network port works only from Linux

Juraj can you reupload the sketch ?

1 Like

Chipakias:
Juraj can you reupload the sketch ?

define 'reupload'.

everything in my comments in this thread is still valid