EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

LED Limitations

@gc1ceo
1 year ago
https://everycircuit.com/circuit/4922846618583040
Here are some examples of dev board voltages and their limitations on the voltage/current that GPIO pins can sink/source. The first is Renesas 32-bit MCU on the Arduino R4, which states a recommended maximum of 8 mA per pin and outputs 5V on pins. The second is the ATMEGA32U (Uno R3, classic Nano, etc) which states a recommended maximum of 20 mA per pin (some sources say as high as 40 is fine) and it outputs 5V per pin. The third is an example of 3.3V per the Raspberry Pi models with a suggested maximum of 16 mA per pin. The fourth is an ESP32 example that outputs 3.3V per pin and recommends 8 or below mA. Each example has a standard value resistor in place that should work fine with a green LED (2v, 20mA) on each setup. There are sources that suggest higher values such as 470 instead of 430, 300 or 330 instead of 200 for 5V to allow for a wider margin-of-error and spikes.
Comments
Post