Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a variant to support the UNO R3 WIFI when the USB Jumper(SJ-1) is closed #236

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

KurtE
Copy link
Contributor

@KurtE KurtE commented Jan 11, 2024

Most of the details for this are up on the forum thread:
https://forum.arduino.cc/t/creating-variant-for-using-uno-r4-wifi-in-usb-bridge-bypass-mode/1167270

As I mentioned on the thread, I simply soldered small switch to the bottom pads:
image

The variant code is mostly based off of the MINIMA, except all of the pins, and the like have been edited to match the hardware of the WIFI. It uses the same uploader as the MINIMA.

The WIFO and BT code was working the last time I checked. I needed to update the wifis3 Modem code to allow for the variant:
#if defined(ARDUINO_UNOWIFIR4) || defined(ARDUINO_UNOWIFIR4USB)

There are some other things that possibly could be done, beyond this, that for example one could potentially try to reclaim the UART that is used to forward the USB packets to and from the host through the ESP32. Users could for example maybe set the IO pins to INPUT or the like on the ESP32, and then the user could use the TX/RX pins from the ESP32 header, with the understanding that these pins are 3.3V and not 5v tolerant.

It was suggested that I should maybe create a PR to describe this, on the chance that you might be interested.

It might be good to do this in steps, that is, potentially pull it in, such that it only shows up for those of us who install this core in the sketches/hardware directory, like a few others that are already there. But at least at first continue to only have your Arduino Boards release process continue to only bring in the MINIMA/WIFI variants. And if over time, there is interest in this and no major issues, you could then update your boards release scripts.

Kurt

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants