NEW Arduino UNO R4 - All you need to know
ฝัง
- เผยแพร่เมื่อ 26 มิ.ย. 2023
- Is Arduino still a stranger to WiFi?
Arduino just launched the new Arduino Uno R4 Minima and the Uno R4 Wifi
This video will cover all you need to know, new features, performance comparison of the new boards vs the Arduino Uno R3 and much more!
Also the weird approach of melting an ESP32 by espressif into the UNO to make it wifi capable. - วิทยาศาสตร์และเทคโนโลยี
Good summary, thanks.
One comment though: for compiled languages like C, comments in the source code don't cause memory problems because they're not present in the compiled code.
The second memory value, i.e. the 2kb in 32kb/2kb for the R3, and the 32kb in 256kb/32kb for the new boards are SRAM. SRAMs are used during runtime, this is used by your variables. Code comments are not included when you compile your program. Having a bigger SRAM means you can create and use bigger variables, like when you want to create huge array for keeping track the value of an LED array.
Yes, I also didn’t understand the author’s idea of filling EEPROM with comments.
I'm confused about the code comments in the code and their flash memory usage influence 9:29 .
I presume that the comments are stripped away with the preprocessor before the compilation of the program.
What do you think?
Nice, actually makes a lot of sense. A few years back I was working on a project where I needed multiple radios, the 8266 gave me wifi but you never get enough IO on those boards.
The other radios were more suited to an arduino because of things like IO and timing. I ended up building a board that did exactly this, it was basically an arduino with an 8266 attached to take care of wifi and data is stilll being passed between the two of them today.
I've printers done this way! Do we redesign the whole machine around a new processor, with a new operating system, with a full IP stack, and implement the encryption... or we could just throw in an ESP32 on a daughterboard in there, it is only a printer after all.
If this was available back when I was doing my project, I would have just used these.
Thanks for your information. The only thing I think it's worse compared to the R3 is the max 8 mA current per I/O.
As far as I know, the Qwiic connector is the same as the Adafruit Stemma QT: both use 4 pin JST SH connectors, which are 1.0 mm pitch
just pre-ordered it and look forward to arrive soon
Same here! Ordered the wifi, which one did you order?
Waiting for clone :)
I think the clones won't be as cheap as before, since the clones need to buy ESP32 as well to imitate the Uno wifi.....but anyway, can't wait to see what the clones come up with!
@@blueprintiot esp32 it's pretty cheap, maybe clone can be less than 10$.
Better if they make a nano version!
So can the ESP32 be programmed to do more than just Wifi? Are are of the pins connectable?
I was the biggest supporter of USB-C after I got a 2016 MacBook Pro and it’s really annoying that so many companies are switching over now after such a long time. I have dozens of spare 2-3m USB A-B cables from old printers etc, but I’m not sure if I yet own a single USB A-C cable over 2m. Most I have are like 10cm long and some don’t even transfer data.
And now with WiFi you’re going to see high voltage AC plugged in right next to Arduino school projects with wires going everywhere because so many USB A-C cables are only 10cm.
It's funny their WiFi chip is basically as powerful or more powerful than the main chip. Biggest thing "striking it" from this project in particular is it only being 3.3v capable
However I've always been weirded out by the pin form factor. Its nice and big for first impressions but quickly becomes unwieldy for integrating into a project
Comments are never put into your actual executable code as the program size
Would love to see one or two versions of these in the nano format.
extremely cool my electronics teacher is probably malding right now seeing all the money he spent on r3's
If all new arduinos are smd then I’m gonna prefer the arduino r3 with chip. Since you can remove that chip and use it in a breadboard super easily.
LOL
What i would really like is a R4 Minima, but in the formfactor of the Nano or Micro.
Consider an ESP, even comes with wifi…
Or is there a specific reason you’re looking for an Arduino product?
Simple wifi capable microcontrollers - Arduino Nano IoT vs ESP32 vs ESP8266 vs Raspberry Pi Pico W
th-cam.com/video/psDdNgPPSoU/w-d-xo.html
@@blueprintiot I want a 5V based MCU. Almost all the capable MCU now are 3.3 V. I use the boards in a 5V environment. Of course you can do levelshifting etc. But would be nice to avoid it.
The Renesas Cortex M4 on the R4 Wifi seems to be redundant with the ESP32 onboard, and using the ESP32 just for its wifi and bluetooth is rather wasteful.
I'll wait patiently for the clones to start to show up on Aliexpress for less than 4 euros.
Comments are not compiled into the code...
Qwiic is pronounced as "quick", and is pin compatible with Adafruit's STEMMMA QT.
Don't you use some of the extra memory just because it is going from 8bit to 32bit?
Edit: If you sort the boards by "Best Selling" the one with the DIP socket is much higher than the SMD one.
The LED matrix would still be useable for a real product to display error codes for example...
Sure, but I think quite unlikely to have to Matrix facing outside of a production housing. Anyway, for error messages for service engineers after opening a housing or similar is something I can imagine quite well.
Looking forward to projects capitalising the LED matrix!
LED matrix already helping with troubleshooting and routine inspections 😊. Must admit, I didn’t think it was going to be of much use when I first heard of it. I gladly admit I was wrong 😅😂
Can someone explain what the use case is for an onboard LED matrix? For that matter, what is the use case for any Arduino when superior alternatives, often at lower cost, are available? No matter. If Arduinos prevent more buyers of Raspberry Pi, then go for it.
I think the LED matrix can come in handy for instant visual feedback during development…anyway we have to take into account the education use cases where an out of the box LED matrix is useful for beginners.
For other usecases I would also prefer ESP boards, maybe build quality is a pro for arduino…anyway, super interested in all the arduino use cases some of you may have where other boards are no alternative….or the reasons why you opted for arduino…?
@@blueprintiot Thanks for the input, Blue. I'd also be interested in what your viewers are doing with it. As well, I'd be very interested in what the Arduino people thought justified the expense in real estate, matrix components, and pick-and-place assembly time. The only 'visualization' I've seen so far is a crudely rendered Christmas tree and a heart-shape for whatever reason. I mean, what alternative functionality did they reject for that real estate?
now can be support LoRa protocol with one board arduino uno
I think it would be nice to have a Minima with LED-matrix, but I gues I'll just get the WiFi version.
Eventhough the wifi version is a bit bulky, I think you just unlock a lot more use cases…
And if you really want to habe a LeD matrix on the Minima you can always get a shield or external one …
@@blueprintiot looking at the schematic for both versions, it seems like the LED matrix make use of NC pins from Minima.
Then there are a few NC pins on the ESP.
I think it would be interesting to see an Arduino R4 Mega, making more GPIO available.
@@blueprintiot I mostly agree with your point, that you get a lot extra with the WiFi model.
I'm not surprised if there will be clones with either WiFi or LED matrix
Uno is good for education or maybe one off projects, but that's about it... 18-25 EUR / borard is far too high for making products in volume and still be competitive on the market. I personally never cared about wi-fi on every microcontroller board, or even having USB... I care about low price, and small size, but then they killed the pro-mini, and came up with some overly expensive shit... Good thing is I can still find pro-mini knockoffs at least. The thing is If I need wi-fi, I prefer ESP12 modules, if I need lots of I/Os, picos are cheaper, If I need cheap controllers, I use bare chips(atmega328p, attiny44, atiny85, etc.) and now I'm looking into to STM32s cause I've got a few low power projects...
you did not mention what cpu the new versions use.
I too wanted this, though the speed and memory are the most important factors. I found that it is Renesas RA4M1 (Arm® Cortex®-M4)
not "All I need to know" as I need to know how the R4 Minima compares to Leonardo now that R4 has USB-C and HID.
great video
It's pronounced "quick"
Now, each actuator shall have a local controller, and all controllers shall be slaved to the system manager via CAN bus using deterministic scheduling.
"Qwiic" is just "Quick", the same pronunciation
The removing comment part is totally false, i don't think anyone does that (except him obv, lol). Ur Arduino gets the compiled version of ur code not just ur raw sketch and the compiled version doesn't have comments so no need to remove them manually. Also the rest of the video was of no use, it was just comparison of 2 charts which u can read in like 2 mins
I do have to remove feedback to the serial port sometimes or shorten the strings, maybe he is talking about that?
@@josephchamness9915 yea the strings do go into the compiled version of ur code, so shortening that will help. We can't say for sure if he was talking about that or not, tho I don't think so coz he didn't fixed that in edit either
comment in the code take no space.. what a BS
esp32 starts from $3.... Arduino is so overpriced. Even if esp32 would be more expensive I choose esp32 anyway.
Agree 100%. Nevertheless, Arduino made a step into the right direction after many years with an even higher price structure and no clear commitment to wireless....
Anyway, I'm also like working with ESP, 32 especially. Check out our latest video about a new project involving ESP32!
I think the price includes the development of all the educational material and the IDE and keeping the whole thing open source
Sure, but still, others like Raspberry Pi or Espressif (of course more focused on professional applications, while Pi focused on education as Arduino) do the same. I'm sure they are not making tons of money, probably just an expensive company structure, efficiency, and of course design. Can't be cheaper to build an Arduino incorporating a whole ESP32 than building an ESP32 on its own...