Go Down

Topic: ROBOTDYN Uno WiFI R3 (Read 257 times) previous topic - next topic

jobcremers

Hey guys,

I am currently working on a school-project where I am looking to make a user-friendly experience towards coding a little robot. The robot will have an Uno WiFi R3 module from Robotdyn. It's basically a Uno with an ESP in it.

https://robotdyn.com/uno-wifi-r3-atmega328p-esp8266-32mb-flash-usb-ttl-ch340g-micro-usb.html

I have the system all set up, the userexperience is functional and as should, and I now come to the point where I send a request to the ESP containing an array of the parsed code. I now want that code to be uploaded to the arduino-part of the Uno Wifi R3. I specifically don't want it to run on the ESP as that will be hosting the code that connects to the server in order to receive the post-requests.

I can't get too deep into the method of how we get the code to the ESP, but it's there. How can I forward that to the uno and flash it on there?

Thanks for any help guys :D

-J

westfw

Actual AVR binary code, or some sort of interpretted higher-level code?
For the former, the ESP would have to interact with the AVR bootloader and/or ISP pins, which would be heavily dependent on exactly how they're connected - check for any documentation from robotdyn on "over the air updates."  Or perhaps you could include an updater in the AVR code, based on some of the modified optiboots around.

For the later, you might get away with storing small "programs" in the EEPROM of the AVR.

drac01337

What kind of ESP are we talking about? (sorry new to Arduino)

DrAzzy

ESP8266, in this case.
What kind of ESP are we talking about? (sorry new to Arduino)
ESP8266, the popular low cost microcontroller from Espressif with native wifi.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

westfw

Quote
ESP8266, the popular low cost microcontroller from Espressif with native wifi.
Or maybe the newer ESP32, which is similar but more powerful.

DrAzzy

Or maybe the newer ESP32, which is similar but more powerful.

ESP might refer to either but that's not what we're talking about *here* - the board in question has an esp8266 not an esp32.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up