I wasn't going to put in the title how to calculate LED current, but that's what this is.
I subtract the Forward voltage from the supply voltage. Let's say for this white LED it's 3.4V - 3V.
I'm left with an extra 0.4V, which I run by the current limiting resistor. In this case 13.15 Ohm.
So I get 0.4 / 13.15 = 30.4mA
Now I check the datasheet to see what actual Vf (Forward voltage) is and I find that at 30.4mA it's actually more. So I keep running in circles. Every time I calculate the current through the LED, I come back around.
Take a look at the picture I attached. For those that don't suck at math like myself, is there a way to actually calculate this?
So far I've always guestimated it, and that has worked perfectly fine. But I'm thinking what if I wanted to split hairs
I subtract the Forward voltage from the supply voltage. Let's say for this white LED it's 3.4V - 3V.
I'm left with an extra 0.4V, which I run by the current limiting resistor. In this case 13.15 Ohm.
So I get 0.4 / 13.15 = 30.4mA
Now I check the datasheet to see what actual Vf (Forward voltage) is and I find that at 30.4mA it's actually more. So I keep running in circles. Every time I calculate the current through the LED, I come back around.
Take a look at the picture I attached. For those that don't suck at math like myself, is there a way to actually calculate this?
So far I've always guestimated it, and that has worked perfectly fine. But I'm thinking what if I wanted to split hairs