News for hackers. Stuff that matters.
Re:Arduino Uno R4 by eternityforest on Sunday March 26, 2023 @12:27PM (#35316280)
Seems like the big feature is 5v compatibility. Most ESP32 boards don't have 5v level shifting.
Re:Arduino Uno R4 by kevin_thibedeau on Sunday March 26, 2023 @01:12PM (#35316861)
5V is the special feature but it only has 20mA sink/source on two pins. That's not particularly friendly for typical Uno applications.
Re:Arduino Uno R4 by mardifoufs on Sunday March 26, 2023 @01:19PM (#35316930)
Does that mean it can only output 20ma at 5v? Or the opposite?
Re:Arduino Uno R4 by kevin_thibedeau on Sunday March 26, 2023 @01:23PM (#35316975)
It means people are going to blow pins thinking they can drive an LED at 20mA from any output.
Re:Arduino Uno R4 by londons_explore on Sunday March 26, 2023 @01:48PM (#35317266)
The original ATMEGA328p may have said in the datasheet that it could only do 20mA for 2 pins...

But in reality, you can short all the pins to GND and then output high on all of them, and the chip survives indefinitely (although does get rather hot!).

It's really rather nice and robust.

Re:Arduino Uno R4 by kevin_thibedeau on Sunday March 26, 2023 @03:11PM (#35318315)
The ATmega supports 40mA on any pin. This is about the Renesas part.
Re:Arduino Uno R4 by formerly_proven on Sunday March 26, 2023 @03:42PM (#35318710)
I think I killed only one AVR in a long time tinkering. They even tolerate pretty severe over-voltage well, probably because they support EEPROM-style parallel HV programming.

However they're also pretty expensive (especially today, an m328p is over five bucks nowadays), and have been for around ten years or more.

Re:Arduino Uno R4 by hungryforcodes on Sunday March 26, 2023 @08:19PM (#35321272)
You can do exactly the same to an ESP32 / 8266.
Re:Arduino Uno R4 by eternityforest on Sunday March 26, 2023 @02:57PM (#35318117)
When would you ever need more than that in the Arduino ecosystem? I haven't in a rather long time. These days I usually don't even bother with LEDs, I'll just use an addressible pixel LED.

Rather than a transistor I might just use a relay, mosfet, or motor driver module, since I can get extra features like short circuit protection and the ability to quickly swap without soldering anything, which gets exponentially more appealing the more times you have to repair something that's been made with discrete parts.

The use cases where I'd be working any other way are mostly outside of what I'd use an Uno or similar for anyway. And I probably wouldn't be using 5v at all for prototyping something to mass produce, since 3v3 is taking over.