1
\$\begingroup\$

A Sparkfun tutorial explaining voltage, current and resistance shows a simple circuit where a LED is powered by a DC source (9V battery). The LED is a red 2V/0.018A LED. The tutorial explains that limiting the current flowing through the LED is important, and uses Ohm's law to calculate a resistor value of R = U / I = 9V / 0.018A = 500Ω, in order to limit the current to 0.018A and protect the LED.

Wouldn't using a resistor value of 500Ω cause a voltage drop across the resistor of 9V, leaving the LED dark because no potential difference is left?

\$\endgroup\$
3
  • 2
    \$\begingroup\$ You're on the right path - that tutorial is incorrect. But where it is incorrect is that the voltage across the resistor is not 9V - it is 7V. I'm sure you can figure out why. \$\endgroup\$
    – brhans
    Commented Oct 26, 2016 at 21:36
  • 2
    \$\begingroup\$ 2V on the LED and 7V on the resistor. That's how I imagined it should work. \$\endgroup\$ Commented Oct 26, 2016 at 21:40
  • \$\begingroup\$ ...plus 9V battery starts at 9V or more new (about 9.8V abs max brand new for alkaline cells ) and falls to ~= 6V 'flat'. A saving grace is viewed in isolation the eye-brain can only just distinguish a 2:1 change in light level. \$\endgroup\$
    – Russell McMahon
    Commented Oct 27, 2016 at 2:41

3 Answers 3

1
\$\begingroup\$

Wouldn't using a resistor value of 500Ω cause a voltage drop across the resistor of 9V, leaving the LED dark because no potential difference is left?

That would be correct if the current was 0.018A but it won't be.

LEDs (and diodes in general) are a little odd. For a start they don't follow Ohms law, that only applies to passive devices (Resistors and for AC signals capacitors and inductors).
As a first approximation a diode can be modeled as allowing no current to pass if the voltage is less that its on threshold voltage and allowing an unlimited current to pass once over that threshold. It's sort of the electronics equivalent of a dam, if the water level is below the top of the dam all the water is stopped. But any water that is over the top of the dam can flow as fast as it likes.
This isn't quite correct, in reality there is a small switch on region where the voltage / current relationship in the diode transitions from being zero current to almost unrestricted current, but this is close enough for most basic circuit analysis.

So in this case the circuit you end up with is:

+9V -- 500R -- LED -- 0V

If the current was 0.018A then there would be 9V over the resistor leaving 0V for the LED. The LED is not at its threshold voltage and so no current flows. But current can't just vanish, for a series circuit like this it must be the same at all points. Clearly the current in the resistor can't be 0.018A.

Similarly if the current in the resistor was 0 or close to it then the voltage on the resistor would be close to 0 and the voltage on the LED would be 9V. But anything over the threshold and the LED doesn't restrict current flow so we have unlimited current flowing. Again we have an inconsistency so this can't be correct.

As should hopefully be clear by this point the the only way we will get things to balance is if the voltage over the LED is exactly at the threshold voltage. That way the LED is allowing current to flow but we don't end up with an infinite current requirement. The LED is operating within that small switch on region, where exactly within the region doesn't matter for something like.
If the LED is at the threshold this means the LED voltage is 2V leaving 7V over the resistor. 7V and 500 ohms means a current of 0.014A.

The maximum current for an LED (and most diodes) is mainly for thermal reasons. The power used by the LED will be the voltage drop * the current. Only a tiny amount of that will be turned into light, the bulk of it will be converted into heat. Too much current and you get too much heat and things go bang.

\$\endgroup\$
1
\$\begingroup\$

The LED, being a diode, doesn't have a linear current-voltage relation described by Ohm's Law. There will always be a relatively constant voltage drop over the diode, as soon as there is enough current. This voltage drop is dependent on the color of the LED and can be taken from the datasheet. The rest of the voltage will drop over the resistor, and that's the value you need to take to calculate the exact resistance needed. The sparkfun equation is simplified, assuming the complete voltage dropped over the resistor and will therefore yield a bigger resistor value and a smaller current. You don't need to run the LED at full current, so that's generally a good idea.

\$\endgroup\$
1
\$\begingroup\$

No, what will happen is that the circuit will find an operating point with a lower current. The forward voltage of any diode including an LED is relatively constant for small changes in current, let's assume it is still be 2V. It will decrease a little in reality. So now the resistor will drop the 9V to 2V and the current will be (9-2)/500 = 14mA. If you wanted to keep the LED at 18mA, you would use Ohm's law to find 7/0.018 = 389 Ohms.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.