NEW Arduino Uno R4 Boards - Minima & WiFi

103,535
0
Published 2023-07-29
Two new Arduino Uno boards - the Minima and WiFi. Let's examine them and test some of their unique features, including the CAN Bus and LED Matrix.

Article with code: dronebotworkshop.com/arduino-uno-r4-minima-wifi/
More articles and tutorials: dronebotworkshop.com/
Join the conversation on the forum: forum.dronebotworkshop.com/
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/

The Arduino Uno R3 was released in 2011. It has become the most popular maker and experimenter microcontroller board today, thanks to its ease of use and open-source design that allowed several low-cost “clones” to be made available.

Now, after a dozen years, Arduino has updated the Uno. Actually, they did make a WiFi Uno in 2018, but nobody noticed, and there was a “mini” collectors edition Uno in 2021. But this update is so big they made it into two boards!

Arduino has released the low-cost (20.00 USD) Uno R4 Minima and the full-featured Uno R4 WiFi boards (27.50 USD). These boards are pin-for-pin compatible with the older Uno R3 and are also 5-volt logic devices, rare these days. This means compatibility with your existing shields and prototyping boards.

The new boards are powered by the Renesas RA4M1 microcontroller, running at 48 MHz. This provides an emulation of the ATMega328P used in the original board and also adds new features, several that we will test out today.

Among the new features we will try out are the following:

12-bit DAC - We'll generate a sine wave with a library that makes it very easy.
CAN Bus connection - We'll connect 2 Minima boards using a CAN Bus.
WiFi Access Point - We'll build an Access Point with a web page to control an LED.
LED Matrix Display - We'll use the online Matrix Editor to create patterns.

We’ll also run benchmark tests on these boards and compare them to the older Uno R3, as well as a few other popular microcontroller boards.

Here is the Table of Contents of today's video:

00:00 - Introduction
01:41 - Arduino Uno R4 Boards
13:10 - Boot & 8mA Current Limitation
15:27 - Arduino R4 IDE Setup
16:40 - DAC & Sine Wave Hookup
18:21 - DAC - Sine Wave Code
20:28 - DAC - Sine Wave Demo with scope
21:37 - CAN Bus Explainer & Hookup
30:50 - CAN BUS Code - canwrite
32:28 - CAN BUS Code - canread
33:29 - CAN BUS Demo - 2 Minimas
35:11 - Uno R4 WiFi & ESP32
38:19 - WiFi Access Point Code
42:19 - WiFi Access Point Demo
43:19 - LED Matrix Explainer
46:18 - LED Live Preview Code
47:52 - LED Live Preview Online Edit & Demo
49:44 - Benchmarking Setup & Code
52:19 - Benchmark Test Results
54:56 - Conclusion

These are two unique boards, certain to interest experimenters and educators (the LED matrix opens up a lot of interesting classroom displays).

Hope you enjoy the video!

Bill

All Comments (21)
  • @Dronebotworkshop
    Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!! It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com/ Thanks! Bill (The real one!)
  • @Dronebotworkshop
    Despite all odds this video is finally out! First, Canada Post lost my Arduinos, delivered them to the wrong house! Fortunately a nice lady brought the package over the next day. Then we had a total of 5 power failures, one due to a tornado, one due to a system error that left half a million people without power, not sure about the other three. And then the drive array on my Mac died, literally 2 weeks after the warranty ran out! But at last it's here, hope you enjoy it. And I also hope my new drive array lasts longer than the last one!
  • @MyLunde
    You are explaining a lot about benchmarks within microcontrollers!. But the truth is you are the benchmark. You are the one who keeps on giving and make sure that I will be on top of my game.. Thank you for everything, you are the one that makes me appreciate that there is a future in technology for the Common man. Thank you, thank you thank you!
  • @garrytuohy9267
    A really comprehensive intro to the R4. I particularly like the CAN Bus coverage and the clear display of the full filenames that were used.
  • @gabrielgaby5840
    Hi Bill, just got my Uno R4 Minima, and bits, 17/11/23~wk-46.. so I'm reading instruction, to connect. Thanks for your Show.🎉❤
  • @teebeeonline
    this is the most complete demonstration for Arduino R4 boards so far. thanks!
  • @bikkies
    This may seem trivial, but I'd like to highlight something that I really appreciate about these videos. That is, when discussing these boards, the maker and model number is frequently given to the audience in full. It may appear repetitive, but this shows I'm watching a competent instructor with an engineering background. People may join a video part-way through or, like me, they may feel somewhat overwhelmed by the diversity of choice in this field. It's therefore crucial, in my opinion, to emphasise exactly what is being presented and discussed. The lazy way out would be to just call them something like a Uno, but it avoids ambiguity when presented in the manner shown here. I am left in no doubt what hardware is being discussed, so it grounds my expectation & gives me a consistent point of reference, if I need to look up or compare with other boards. In my own field of server OS and networking support, I drill into my team that we must always be accurate, unambiguous and use industry-standard terminology. It's the same principle here with these videos.
  • @jamesgulrich7416
    Bill, thanks again for another wonderful video! I was on vacation when you uploaded this one, so I watched it on my phone. I just loved it! You are our hero when it comes to explaining any new content from Arduino. I don't have to slow down the video to understand what you are saying and trying to relay to us. Some other creators ... not so much. Thanks again!
  • @kejung1
    Thanks again. Your videos are very informative. I have worked with electronics for years and still I learn with each of your videos.
  • @ErikVangeel
    This is how instructional videos should be made. Well done!!
  • @thomasleftwite
    Thanks for the new video! in a terrible situation. I'll try the UNO R4 some day but I recognized again that ESP32 is an excellent chipset.
  • @JonathanDeWitt1988
    Bill, it always amazes me how detailed your videos are. This video went above and beyond your usual level of detail. It was a great video that will introduce the community to a board that as you said will likely replace the Uno R3 in educational kits. You also answered some questions I've been asking myself (the place of these boards compared to something like the ESP32). Ever since I watched your ESP32 introduction video and began experimenting with the ESP32 I've been using the Node MCU in my newer projects. I did some earlier comparisons of the R4 and ESP32 specs and knew it was more powerful than the R4. But your benchmark tests helped put it into perspective. Thank you for developing this video. It's awesome. Now I'm wondering if an LED matrix display like the one built into the WiFi board is available as a standalone unit that can be controlled from an Uno or an ESP32 so we don't have to pay for the whole WiFi board each time we want to get one. That would be really neat to use in the classroom. I'm already using WS2812B LED strips. But a matrix would be neat to tinker with too. Thanks again!
  • @nccyr1
    Your videos are so informative and well researched; very impressive!! Thanks for taking the time to dig deep and sharing your knowledge.
  • @justmc62
    Thanks again Bill for a very informative video... especially with all the obstacles that have occured in your home and life. I have been pursuing the Pico-W lately since it has many of the same features and I also wanted to get my feet wet in the Micropython world. Will be picking up a R4 wifi board soon and will revisit my coding in the Arduino IDE world again.... Love all that you do... grateful for all your knowledge that you share with us..
  • @stompreaper
    Thanks for the video. This is very timely, I have one of each board arriving in the next few days. Arduino-y should definitely be a word.
  • @loptica62
    5 months ago?? I must have slept through.... Unbelievable.... Just been through Paul's (McWorther) videos (Arduino R4 wifi) when I saw yours.... Great stuff !! Keep up the great work!
  • @marktwibell8580
    Thank you, Bill! I really enjoy your videos and have learned a lot about microprocessors and sbc's.
  • @rdyer8764
    Just a pet peeve of mine... The "D-Subminiature" or commonly "D-Sub" connector shell that you showed in your CAN interface section (with 9 pins) is technically a DE shell, not a DB. (PS: this entire discussion ignores pin gender and strictly focuses on pin COUNT and shell size.) A standard density DB shell has 25 pins. There were 5 different "D-Sub" shells in the original series (the "D" due to their shape) with the standard pin densities of 9, 15, 25, 37 and 50 pins. Letter designators for the shell sizes in increasing size-order were E, A, B, C and D. (Unfortunately due to the later popularity of the DB-25 connector, "DB" became a de-facto abbreviation for the entire D-Sub connector series.) The full designation is the shell size followed by the number of pins. For instance the CAN connector you showed should be a DE-9, not a DB9. Or if you thought it less confusing, you might have more simply called it a 9-pin D Connector. Another common DE connector found on many older PC back panels was a DE-15 with 3 rows of pins often used for video interfaces. This is one of the "high density" D-Sub pin counts. Other high-density pin counts are 26, 44, 62 and 78 pins. [Note: A Standard Density DA connector and a High Density DE connector would both have 15 pins -- DA-15 and DE-15 -- however with different shell sizes. These 2 D-Sub connectors, while having the same pin count, would not be able to connect to one another.] Many people would just blow off this entire discussion, but I know you are a stickler for technical accuracy (like me)! So this rant is FYI, and to scratch the itch that was created. :))
  • @doncarleone973
    Thank you so much for what you do. I'm new here and really getting into this scripting and tinkering with electronics. The knowledge you share is greatly appreciated. I expected to go through these professional & paid online courses to be able to learn the stuff you're teaching for free! Again, thank you ✌🏼