JAndrassy / WiFiEspAT

Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
GNU Lesser General Public License v2.1
271 stars 44 forks source link

Arduino Uno ATmega328P + ESP8266 + AT 1.7.5 + WiFiEspAT + OTA #109

Closed brunoaduarte closed 8 months ago

brunoaduarte commented 12 months ago

Hi,

Is it possible to implement OTA updates to the ATmega328P (Arduino Uno) sketch on this board using this library?

Are there any examples on how to do that?

Seems the ArduinoOTA library is not compatible with the ATmega328P.

I've already installed the AT 1.7.5 firmware on the ESP8266 following this tutorial https://www.sigmdel.ca/michel/ha/esp8266/ESP01_AT_Firmware_en.html

And also connected the software serial pins 6,7 to the corresponding ESP TXD,RXD pins.

Tested the communication and it's ok.

IMG_2152 IMG_2153

JAndrassy commented 12 months ago

Is it possible to implement OTA updates to the ATmega328P (Arduino Uno) sketch on this board using this library?

not. there is not enough flash memory for self-update of Uno

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

brunoaduarte commented 12 months ago

Is it possible to implement OTA updates to the ATmega328P (Arduino Uno) sketch on this board using this library?

not. there is not enough flash memory for self-update of Uno

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

Ok, @JAndrassy Are there any other library you recommend that will make it possible? As by your comment here https://forum.arduino.cc/t/robotdyn-clone-uno-wifi-esp8266-board-firmware-and-ota/688616/8

"3.) there are esp8266 firmware which can OTA update ATmega328p"

JAndrassy commented 12 months ago

I repeat more here https://github.com/JAndrassy/ArduinoOTA#atmega-support