/UNO-R4-WiFi-freedom

UNO R4 WiFi set free!

Primary LanguageC++

Freedom for ESP32 on Arduino UNO R4 WiFi!

If you (like me) are trying to use ESP32 on the UNO R4 WiFi for your own sketches, you'll soon learn that by re-programming the ESP32 the board loses several powerful features:

  • The ability to see the Serial output in the serial monitor
  • Renesas chip debugging

Fear not, this project lets you reclaim your power!

Getting started

Note: This project re-packages parts of the official Arduino firmware using PlatformIO.
Please use VSCode or PIO CLI.

There are 2 sketches, one for the ESP32 and one for the Renesas chip.

Build and upload

  1. Disconnect the UNO R4 WiFi from your PC
  2. Short the pins highlighted in the image using a jumper wire:

ESP32-S3 mode selection jumper

  1. Connect the UNO R4 WiFi to your PC
  2. Upload ESP32 firmware:
pio run -e esp32 -t upload
  1. Disconnect the UNO R4 WiFi from your PC
  2. Unplug the jumper wire
  3. Connect the board again
  4. Upload the Renesas firmware:
pio run -e unoR4 -t upload -t monitor

Expected Serial Monitor output:

ESP32 says: Freedom for ESP32-S3! 🌟🌟🌟
ESP32 says: Freedom for ESP32-S3! πŸ‡ΊπŸ‡¦πŸ›‘οΈπŸ‡ΊπŸ‡¦πŸ›‘οΈπŸ‡ΊπŸ‡¦
ESP32 says: Freedom for ESP32-S3! πŸ˜ŽπŸ‘ŒπŸ”₯
ESP32 says: Freedom for ESP32-S3! πŸš€πŸŒ˜

Restoring the original ESP32 firmware

Install the official Arduino firmware release