[Solved] max. current LED-Pin on Witty Pi3 mini?
I'm using Witty Pi3 mini and want to add an external Button with integrated LED-Ring.
Does anyone know whats the maximum allowed current to draw on LED-Pin?
The manuel says nothing abou that and I dont want to fry this output if its coming (for example) directly from the microcontroller.
Thank you guys for your help and greethings from Ausria!
On Witty Pi 3 (Mini), the pin with "LED" label in that unpopulated header is directly connected to pin 5 of ATtiny841. The white LED on board connects to it via a 10K resistor.
According to ATtiny841's datasheet (in the "Absolute Maximum Ratings" section), one IO can provide up to 40mA current. This is way more than enough to drive an LED (usually a few mA will be very, very bright already). You will need to put a resistor between the LED (in the button) and that pin, to avoid possible damage (on LED or/and on ATtiny841).
That was fast! Perfect Support, thank you so much!
Back to hobbydesk at this sunny weekend 😆