3 ms·
Seems like the big feature is 5v compatibility. Most ESP32 boards don't have 5v level shifting.
by eternityforest 4y ago
Seems like the big feature is 5v compatibility. Most ESP32 boards don't have 5v level shifting.
- kevin_thibedeau 4y ago5V is the special feature but it only has 20mA sink/source on two pins. That's not particularly friendly for typical Uno applications.
- mardifoufs 4y agoDoes that mean it can only output 20ma at 5v? Or the opposite?
- kevin_thibedeau 4y agoIt means people are going to blow pins thinking they can drive an LED at 20mA from any output.
- londons_explore 4y agoThe 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.
- kevin_thibedeau 4y agoThe ATmega supports 40mA on any pin. This is about the Renesas part.
- formerly_proven 4y agoI 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.
- hungryforcodes 4y agoYou can do exactly the same to an ESP32 / 8266.
- eternityforest 4y agoWhen 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.