LED question
Moderator: Moderators
LED question
I was looking at the LED mod for pocket pc on hackaday and it said that too much current will kill LEDs. How would that happen if current is drawn by the load, not pushed? Its like drowning yourself when drinking through a straw.
things only take the current they need, but sometimes they "need" enough current to kill themselves many times over.
in the case of an LED, it is a diode and has almost zero resistance. without a resistor it would act almost like a short circuit.
oh, also, "power = current squared times resistance". so as the current gets higher the amount of heat produced increases exponentially.
-
another extreme example would be connecting a 1ohm, 1/4watt resistor across a car battery. it will want to draw about 12A of current (V=IR). do the math and you will find that that equals 144W of power in the resistor.
so you see, electronics dont have brains, and will pull suicidal amounts of current.
in the case of an LED, it is a diode and has almost zero resistance. without a resistor it would act almost like a short circuit.
oh, also, "power = current squared times resistance". so as the current gets higher the amount of heat produced increases exponentially.
-
another extreme example would be connecting a 1ohm, 1/4watt resistor across a car battery. it will want to draw about 12A of current (V=IR). do the math and you will find that that equals 144W of power in the resistor.
so you see, electronics dont have brains, and will pull suicidal amounts of current.

"Linux is only free if your time is worthless"
indeed there is, but isnt learning something for yourself more fun?
diodes and LEDs will drop a specific amount of voltage, no matter what you try to give them (called the 'forward voltage'). for a normal red LED thats about 2.2v. we also know we are going to have a resistor in series with it. so we can come up with the hypothetical circuit below:
where we have a battery, resistor and LED.
so, we know that the battery will provide a set amount of volts (lets say its 7.2 for now) and that he LED will drop a set amount of volts (2.2). one of Kirchoff's laws is that the sum of the voltages around a closed loop in a ciruit is <i> always 0 </i>. The battery is usually considered a positive source of votlage, and anything that drops voltage is negative.
so we need to find the voltage across the resistor. lets call it 'x'
7.2v - 2.2v - x = 0 so x = 5v
so the voltage drop across our resistor is going to be set at 5v no matter what.
The whole purpose of this exercise is to set the current though our LED. most normal red LEDs are rated for about 50mA. so now we can juse use V = IR to find out what resistance we need.
5v = 50mA * R
5/.05 = R
R = 100
so we need a 100 ohm resistor in this situation.
now, with that said, this little website will do that exact same calculation for you automatically.
http://led.linear1.org/1led.wiz
diodes and LEDs will drop a specific amount of voltage, no matter what you try to give them (called the 'forward voltage'). for a normal red LED thats about 2.2v. we also know we are going to have a resistor in series with it. so we can come up with the hypothetical circuit below:
Code: Select all
----/\/\/\----
| |
| __
----- /\
--- |
| |
--------------so, we know that the battery will provide a set amount of volts (lets say its 7.2 for now) and that he LED will drop a set amount of volts (2.2). one of Kirchoff's laws is that the sum of the voltages around a closed loop in a ciruit is <i> always 0 </i>. The battery is usually considered a positive source of votlage, and anything that drops voltage is negative.
so we need to find the voltage across the resistor. lets call it 'x'
7.2v - 2.2v - x = 0 so x = 5v
so the voltage drop across our resistor is going to be set at 5v no matter what.
The whole purpose of this exercise is to set the current though our LED. most normal red LEDs are rated for about 50mA. so now we can juse use V = IR to find out what resistance we need.
5v = 50mA * R
5/.05 = R
R = 100
so we need a 100 ohm resistor in this situation.
now, with that said, this little website will do that exact same calculation for you automatically.
http://led.linear1.org/1led.wiz

"Linux is only free if your time is worthless"
do you mean if you connected the LED directly across the 7.2v battery without a resistor? If you did that then the LED would actually have the 7.2v drop across it, but it would only do that for an instant. Though it is a good approximation...the voltage across a diode is not always constant, it changes slightly with changes in current...or at least that's what the diode V-I characteristic says. If you forced 7.2v across it, the current would be near infinite and it would break down the semiconductor P-N junction.
@tim: is the "LED" in that circuit backwards or am I looking at it wrong?
@tim: is the "LED" in that circuit backwards or am I looking at it wrong?
What I have shown you is reality. What you remember, that is the illusion.
"Say, what does this button do?"
All the dishes rattle in the cupboards when the elephants arrive
"Say, what does this button do?"
All the dishes rattle in the cupboards when the elephants arrive




