I recently got a couple of the new Arduino Uno Wifi boards and was working to get some RF24 code working.
Code isn't the issue BUT I was getting an upload error after 10 tries without the code executing...
Search around and it suggested to check if port 5353 was being blocked, it isn't.
As a last resort I swapped boards for just the Uno board and viola, it worked.
I used the Arduino Uno selection as the selected board in both cases...
Although it said that both boards could use the Uno board selection my question IS, is this correct and if so why does the wifi board not work and if it is not correct, does Arduino have a fix.
steinerrw:
Arduino Uno and Uno Wifi boards using IDE 2.0.1
What is IDE 2.0.1?
steinerrw:
I recently got a couple of the new Arduino Uno Wifi boards
Please post a link to where you bought the board from. There are several boards that might be referred to as "Uno Wifi" and, even though they all have the shape of an Uno and WiFi connectivity, the rest is very different.
steinerrw:
Although it said that both boards could use the Uno board selection
What is this mysterious "it" you refer to?
The Arduino IDE.
steinerrw:
The Arduino IDE.
I've never heard of an Arduino IDE 2.0.1. The latest version is 1.8.13. How did you install it?
Please provide the other information I requests so I can help you out. I'll say it again in case you missed it before:
Post a link to where you bought the "Uno Wifi" from.
OK, the IDE is 2.1.0.5+dfeg2-4 and the boards were purchased through the arduino shop on amazon.
I don't buy knock off boards since the price difference is not worth the quality.
The 'it' is the arduino forum which I looked at for some guidance.
steinerrw:
OK, the IDE is 2.1.0.5+dfeg2-4
Hmmm, I didn't find any results when searching for that, but I am familiar with the similarly formatted "arduino 1:1.0.5+dfsg2-2". This is actually a package manager package of the ancient Arduino IDE 1.0.5. You get it from using APT to install the Arduino IDE. You should always use the modern official Arduino IDE downloaded from this page:
steinerrw:
the boards were purchased through the arduino shop on amazon.
I don't buy knock off boards since the price difference is not worth the quality.
It also helps to support the ongoing work on the Arduino project, which purchases of "knock off boards" does not do. So thank you for that.
steinerrw:
https://smile.amazon.com/gp/product/B07MK598QV/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
OK, this is the Arduino Uno WiFi Rev2. That "Rev2" part is important because there was a completely different board named "Arduino Uno WiFi".
You cannot use the Arduino Uno board selection for the Uno WiFi Rev2. The information you found that said this was either wrong or else about a different board. The Uno WiFi Rev2 is very different than the classic Uno because it uses a different microcontroller (ATmega4809 vs ATmega328P), which has a different upload method. This is why the upload to the Uno WiFi Rev2 failed when you had the Arduino Uno board selected.
You'll find more relevant information about your Uno WiFi Rev2 on its "Getting Started" page:
Unlike the classic Uno, you need to install a special boards package in the Arduino IDE in order to use the Uno WiFi Rev2. I'm pretty sure your "2.1.0.5+dfeg2-4" package manager version of the Arduino IDE won't have this capability due to being so old, so you'll first need to install Arduino IDE 1.8.13. After doing that, please follow these instructions:
- (In the Arduino IDE) Tools > Board > Boards Manager
- Wait for the update to finish.
- Scroll down the list of available boards packages until you see "Arduino megaAVR Boards". Click on it.
- Click the "Install" button.
- Wait for the installation to finish.
- Click the "Close" button.
You have now added support for the Uno WiFi Rev2 to the Arduino IDE. You can select the appropriate board at Tools > Board > Arduino megaAVR Boards > Arduino Uno WiFi Rev2.
From your "2.1.0.5+dfeg2-4", I'm guessing you're using Linux. If so, in order to upload, you may find it necessary to set up the correct udev rules for the Uno WiFi Rev2. As explained in the "Getting Started" page:
The Uno WiFi Rev2's boards package comes with a script that will do this for you. Unfortunately, the command shown in that "Getting Started" page is outdated. You only need to adjust the version part of the path to match the version of Arduino megaAVR Boards you installed. From following my instructions above, the latest version, 1.8.7, will be installed, so the updated command line is:
~/.arduino15/packages/arduino/hardware/megaavr/1.8.7/scripts/create_dfu_udev_rule
Hopefully that will get you up and running so you can start having fun with that nice new Uno WiFi Rev2. Please let me know if you have any problems.
Thanks for the help...I have the updated IDE, have access to Uno Wifi Rev2 board and am researching new errors using this board...I will search for these issues as this is what makes development so much fun!. Again, thanks
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.