I’ve read quite a bit about needing a resistor when powering a 5 mm LED from an esp32 GPIO pin, still, other experts say that if a LED is powered right, it will not need a resistor at all will not burn out.
1. Is it as easy as purchasing a LED that’s powered properly for an esp32 GPIO pin so that it will not probably burn out in a reasonable amount of time( years)?
2. Still, what’s the current on each GPIO pin? ( I know that the voltage on each GPIO pin is 3, If so.3 V)
3. Rather than adding a resistor, I can add a second LED parallel to add resistance and meet the power requirements, right?
Thanks!
The maximum power per pin is 40mA. You shouldn't push more than 150 mA through all your output pins( and probably less than that to avoid overheating). You can find the correct resistor value using any led resistor calculator online and the datasheet for your led. I do not see how parallel resistorsRead more
The maximum power per pin is 40mA. You shouldn’t push more than 150 mA through all your output pins( and probably less than that to avoid overheating). You can find the correct resistor value using any led resistor calculator online and the datasheet for your led. I do not see how parallel resistors will be useful if you’re powering directly through the pin, and you do not have to get the exact resistance calculated. However, you should have a transistor gating a separate power supply for the light, If you need more than milliamps.
See less