wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

Add Arduino UNO WIFI Rev2

Open marzvrover opened this issue 3 years ago • 3 comments
trafficstars

Feature request to add support simulating the Ardunio UNO WIFI Rev2

marzvrover avatar Jul 03 '22 20:07 marzvrover

Thanks for the feature request! I opened it for voting

urish avatar Jul 07 '22 09:07 urish

Hi!

I would like to weigh in with some of my personal experiences developing and using a platform that has a near-identical architecture to the Uno WiFi Rev 2. It is an 8-bit ATmega4809 combined with an ESP32 communicating over the SPI bus, with the 8-bit micro acting as the controller and ESP32 as the peripheral.

I suspect that this architecture will depend on the multi-MCU feature being completed first, unless there's a way to emulate just the networking functionality. Since the Uno WiFi Rev2 uses the WiFiNINA library which offers a somewhat (programmatically) similar interface to ESP32's Arduino WiFi library, it could be possible to emulate just the network side of things without actually having to emulate the ESP32 itself, if this feature were to be implemented before the multi-MCU feature is completed.

A quick and dirty comparison of the difference between ESP32's own WiFi implementation and the WiFiNINA library can be seen here:

  • ESP32: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/src/WiFiSTA.h
  • WiFiNINA: https://github.com/arduino-libraries/WiFiNINA/blob/master/src/WiFi.h

d3lta-v avatar Jan 09 '23 12:01 d3lta-v