-->
Page 1 of 1

Possible to program an Uno "Over the Air" via ESP8266?

PostPosted: Mon Sep 16, 2019 10:25 pm
by dickorydock
I have an ESP8266 and an Uno connected. I'm using the Uno because a display I am using won't work with only the ESP8266, and I'm using the ESP8266 for WiFi connectivity. But I'd like to be able to remotely change some things about what the Uno is displaying. Is there a way to program the Uno OTA once the ESP8266 has been connected? As it currently stands, the ESP8266 RX/TX is connected to the main TX/RX of the Arduino Uno, slots 0 and 1. I have found a couple links:

1) https://forum.arduino.cc/index.php?topic=441209.0
2) https://translate.google.com/translate? ... esp8266%2F
3) https://diyprojects.io/arduinoota-wirel ... -programs/

But even with those links, I still can't really figure out whether this is even possible on the Uno. For starters, I'd like to be able to upload "blink" to the Arduino Uno and use an OTA update to change the frequency of the blinks. Eventually I will do more complicated things :)

Any help would be GREATLY appreciated - thank you!

Re: Possible to program an Uno "Over the Air" via ESP8266?

PostPosted: Thu Sep 19, 2019 2:17 pm
by schufti
the first thing necessary would be an implementation of the uno-flash-protocol on the esp.
Then you could try flashing a new sketch to uno from spiffs, followed by an webserver or sth else to get the new sketch into spiffs etc.

Re: Possible to program an Uno "Over the Air" via ESP8266?

PostPosted: Sat Sep 21, 2019 7:51 pm
by rudy
AVR In-System Programming over WiFi for ESP8266
This library allows an ESP8266 module with the HSPI port available to become an AVR In-System Programmer.

https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266AVRISP