Live data from Hacker News

Arduino Uno R4

blog.arduino.cc

121–130 of 136 posts

Re: Arduino Uno R4

#121

Earlier quoted context omitted.

Addressing specific markets only works if you do it uniquely or better. The simplified Arduino tooling works on the ESP32, which is also the cheaper and better option.

Good point. Are there ready made ESP32 boards good for education?

People rate the ESPs from DF robot.

They aren’t cheap but they also provide support and a good to deal with. https://www.dfrobot.com/

Re: Arduino Uno R4

#122

A nice improvement, but maybe too little too late? I mean, what's the point? An ESP32 has 320K SRAM, 448K Flash and a 240 MHz dual core CPU. And it costs peanuts. That's the competition to beat, and this doesn't reach it, even though the ESP32 came out in 2016. The Arduino has been resting on its laurels for too long, I'm afraid. There's long been things out there much faster and cheaper, and with wifi out there for…

But an ESP32 can't turn on an 2N7000 MOSFET. 2N7000 is a 5V MOSFET, and is the cheapest one to boot, and one of the easiest to use.

But it can turn on an AO3401A.

Re: Arduino Uno R4

#123

A nice improvement, but maybe too little too late? I mean, what's the point? An ESP32 has 320K SRAM, 448K Flash and a 240 MHz dual core CPU. And it costs peanuts. That's the competition to beat, and this doesn't reach it, even though the ESP32 came out in 2016. The Arduino has been resting on its laurels for too long, I'm afraid. There's long been things out there much faster and cheaper, and with wifi out there for…

Arduino never made sense as far as technical specs go. You could always buy more capable and compatible AVR microcontrollers for one tenth the price. In the past decade, the disparity has gotten more dramatic as 8-bit chips have gotten even cheaper and even more capable. Arduino owed its success solely to building a healthy maker ecosystem of folks who simply defaulted to it as a platform, published tutorials, and pr…

> folks who simply defaulted to it as a platform,

One thing that was unique about the 8-bit Arduino was that while the board itself was common for prototyping, it wasn't that hard to put an AVR chip on a breadboard for permanent projects or just for the sake of doing it and there were plenty of tutorials. There was even built-in support in the IDE for using an Arduino board as a ISP programmer for a raw chip by connecting a few wires.

With the Raspberry Pi, hardly anyone who used it would ever build their own/modify the design of the board itself.

Re: Arduino Uno R4

#124

Earlier quoted context omitted.

Arduino never made sense as far as technical specs go. You could always buy more capable and compatible AVR microcontrollers for one tenth the price. In the past decade, the disparity has gotten more dramatic as 8-bit chips have gotten even cheaper and even more capable. Arduino owed its success solely to building a healthy maker ecosystem of folks who simply defaulted to it as a platform, published tutorials, and pr…

Arduino is also orders of magnitude lower friction than just about any other embedded platform. Baremetal AVR? Set up your makefile, ICSP programmer, and find the right fuse flags or risk bricking your chip with the wrong clock settings. STM32? Set up the whole STM32CubeMx project and export it as a Makefile and remember to only add code in the correct areas? Baremetal ESP32/ESP8266? Doesn't exist, but you can use a…

> find the right fuse flags or risk bricking your chip with the wrong clock settings

Is it actually possible to totally brick an AVR chip that way? Can't you always recover them with high-voltage programming mode?

Re: Arduino Uno R4

#125
post #119

Earlier quoted context omitted.

Arduino never made sense as far as technical specs go. You could always buy more capable and compatible AVR microcontrollers for one tenth the price. In the past decade, the disparity has gotten more dramatic as 8-bit chips have gotten even cheaper and even more capable. Arduino owed its success solely to building a healthy maker ecosystem of folks who simply defaulted to it as a platform, published tutorials, and pr…

> You could always buy more capable and compatible AVR microcontrollers for one tenth the price. Were you able to program them without additional (expensive) hardware?

There are low cost AVR programmers, such as [1]. Similar are available for much less on Aliexpress.

You can also easily use an Arduino, a solderless breadboard, a few jumpers and some software as an AVR programmer [2].

[1] https://www.sparkfun.com/products/9825

[2] https://www.instructables.com/How-to-Program-an-Attiny85-Fro...

Re: Arduino Uno R4

#126
post #119

Earlier quoted context omitted.

Arduino never made sense as far as technical specs go. You could always buy more capable and compatible AVR microcontrollers for one tenth the price. In the past decade, the disparity has gotten more dramatic as 8-bit chips have gotten even cheaper and even more capable. Arduino owed its success solely to building a healthy maker ecosystem of folks who simply defaulted to it as a platform, published tutorials, and pr…

> You could always buy more capable and compatible AVR microcontrollers for one tenth the price. Were you able to program them without additional (expensive) hardware?

Generic AVR programmers go for about $8 on Amazon.

Re: Arduino Uno R4

#127

Earlier quoted context omitted.

Arduino is also orders of magnitude lower friction than just about any other embedded platform. Baremetal AVR? Set up your makefile, ICSP programmer, and find the right fuse flags or risk bricking your chip with the wrong clock settings. STM32? Set up the whole STM32CubeMx project and export it as a Makefile and remember to only add code in the correct areas? Baremetal ESP32/ESP8266? Doesn't exist, but you can use a…

> find the right fuse flags or risk bricking your chip with the wrong clock settings Is it actually possible to totally brick an AVR chip that way? Can't you always recover them with high-voltage programming mode?

I don't know how many people have a high voltage programmer, especially the people that would choose an Arduino. I'm personally lucky to have found an AVRISP mkII that was being thrown away when I was a broke college student.

Either way, I'm saying that Arduino is _the_ microcontroller platform with the fewest gotchas for a beginner.

Re: Arduino Uno R4

#129
post #81

Earlier quoted context omitted.

There are bajillions of mosfets; you can certainly find another one that works even if it's a tiny bit more expensive.

Sure. So name one, that's cheap, readily available from many manufacturers, through hole, with 100mA+ or so Ids, low enough capacitance to be used with a microcontroller like ESP32. Most of the good MOSFETs I'm aware of are SMT only, which is not beginner friendly. 2N7000 through hole is extremely available damn near everywhere. All companies have a clone of the venerated, classic MOSFET. EDIT: Its also been used in…

The 2N7000 has the minor, trifling, potentially catastrophic flaw that many (most?) of them have completely unprotected gates. (In fact, it's one of the few parts you can reliably source that still offers this feature if you should need it, say for FET party tricks.) This means that the bloody things blow up if you so much as look at them funny. You absolutely need proper ESD precautions to use these things reliably. Many a student has come to the false conclusion that they didn't understand how to use MOSFETs when, in fact, they had just inadvertently blown up some or all of their crappy old 2N7000s. This is not really what you want for a "jellybean" part.

Yes, you can be careful about this and order the right part number to get a newer protected-gate version, but at that point please do us all a favor and specify some non-stone-age part.

Re: Arduino Uno R4

#130

Earlier quoted context omitted.

As long as you stay within the guide rails and libraries provided by the IDE. The average user cannot debug the RTOS running on an ESP, a single Cortex-M4 is more complex than an AVR but still understandable down to bare metal by your average enthusiast.

I'm in the middle of porting a project from arduino to esp-idf. If you want to do anything slightly complex with the Bluetooth stack, those features just don't exist in the arduino core. It's very frustrating.

That's why I typically prefer to build my base application on a standalone processor and export Bluetooth or Wifi duties to an nRF52820 or ATWILC1000.

Yes, the processor required to run these network protocols is pretty beefy, so a big and fast chip like those made by Espressif has plenty of capacity to run your own app alongside the big communication stacks, but it's far simpler and more power efficient to let a small and simple Bluetooth chip do only Bluetooth stuff, and power it up or down as needed and talk to it over SPI or whatever from a host processor that you have full control of.

Post reply on HN