Use esp32 to flash Arduino

Hey there!

I´ve built myself a PCB for a solar tracker using an Arduino Nano Every. To make further developement easier I also built an Adapter-PCB with a Nano and an esp32 on it that can be put in the Nano´s place which connects the Nano´s Serial Pins and Power to the esp32.

Using some premade libraries such as WifiManager, WebSerial and ElegantOTA I now have a capable tool which can show the Nano´s Serial Output in the local Network and has some other quality of life features.

The next step would be to add remote-flashing capabilities, meaning that the Nano can be flashed more or less automatically with a .hex file uploaded to the esp32. After many hours of googling, I only found the esp-link project that would fullfill all my need but is only available for the esp8266.

Do you guys have any ideas for a mid-difficulty implementation?

Thanks!

esp-link only works with ATmega328.

Nano Every has a programmer on board so it doesn't have a serial bootloader you could use.

btw: Arduino Uno WiFi Rev 2 has ATmega4809 (as the Every) and esp32 on board. OTA is not solved for Uno WiFi Rev 2

Why two processors.
The ESP32 is more powerful than the Every, and can be flashed OTA.
Connecting an Every (5volt-logic) to an ESP32 )3.3volt-logic also needs level converting.
Leo..

The esp32 won´t be in the final version, only the Nano. Currently I can flash the esp32 via a web interface but not the Nano, which I thought would be the next best thing to add.
I handle the level converting with voltage dividers which works without a problem for me.

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