@RACEMANIAC,
If a led's spec says it draws 20mA @ 3.4V, then you can just as well apply Ohm's law:
U=I*R, R = U/I, R = 3.4 / 0.02 = 3.4 * 50 = 170 Ohm
Clearly you need to do a little more electronics homework.
Fact-1: A led is a diode, which means, like any other diode it is essentially a direct short when forward
biased. (even zener diodes burn up when used without a current limiting resistor)
Fact-2: The datasheet shows a peak forward current of 100mA (0.1A)
See Note:
Note: Pulse width ≤0.1 msec, duty ≤1/10.
Note 1. Pulse Width = 100μs, 10% duty cycle (1/10th).
This tells the reader that the led can tolerate 100mA (0.1A) for a maximum of 100uS (0.1mS) with an ON time duty cycle of 10 % (1/10th) !)
Fact-3: To obtain the current of 20mA @ 5V, a 90 ohm resistor must be used.
VResistor=Vcc-VF
Let Vcc = 5V
Let VF= 3.2V
Let IF= 20mA
then,
VResistor=5V-3.2V = 1.8V
To drop 1.8V across a resistor at 20mA, the resistor value must be:
R=1.8V/0.020A= 90 ohms.
Without the resistor, the led, like any other diode acts like a direct short across the power supply.
If you wouldn't put a diode across your 5V power supply with the cathode to ground then you shouldn't
connect a led the same way (without a resistor).
5mm RED LED DATASHEET
Now a led isn't a real resistor, @ 3.4V it acts as a resistor of 170 Ohm, i don't think the relation between voltage and current is as linear in a led as it's with a resistor.
i don't think the relation between voltage and current is as linear in a led as it's with a resistor.
No it's not because the relationship for a led is infact NON-LINEAR. (as Mike mentioned)
Equally untrue. (except for the part mentioned above) A led is nothing like a resistor. How can it be ? It's a DIODE ! You need to understand the difference between a diode (a semiconductor) and a resistor (non-semiconductor). Your understanding is all wrong and your math is all wrong.
I've seen many responses here, but half of them read as if people assume the resistance of a led is 0 Ohm?
Not 0 ohms but , like other semiconductors very low since it is designed to conduct and being a diode , the only thing to prevent it from self-destructing when connected directly across a power supply is a current limiting resistor.
@Nick,
Great link ! (Care & feeding of Leds)
Still no response from the OP. She should at least have the courtesy to acknowledge the time spent by
members answering her post.