I received many questions about the circuits driving the LEDs in many of my projects, especially for the Iron Man's repulsor.
LEDs are pretty neat devices. You make some current flow forward through it and you get some light as a result. Nevertheless, since they are diodes, they can allow an infinite amount of current to flow (which in practice means a lot of current) and this can be problematic since, as any electrical device, it cannot handle that much current. In order to prevent them to pass too much current, a current limiting circuit is required (usually implemented as a resistor in series).
When you buy an LED, you (should) get two very important parameters, the voltage drop across them (say, V_LED), and the maximum continuous current (I_LED).
So, for the trivial case where we have a battery (V_bat) in series with a resistor (R) and an LED, the value of R must obey the following inequation:
If you decide to place many (say, n) LEDs in series, the inequation becomes:
Finally, if the LEDs are in parallel (as is the case for the repulsor), the inequation becomes:
This result can be obtained by applying Ohm's law (V= RI) to the circuits described above. The proof is of course let as an exercise for the reader ;) .
This page has a very nice LED calculator which makes life really easy when calculating resistor values: alan-parekh.com/led_resistor_calculator.html
WARNING: the repulsor circuit may cause the LEDs to fail sooner or later. I'll post an update as soon as I have one. Thanks to Tim for the hint.
For those interested in the repulsor circuit, below you can find a diagram describing it. It is the same as the circuit with many LEDs in parallel but with a potentiometer added to regulate the light intensity. The only requisite for the potentiometer is to be large enough to attain the dimmest light according to your needs.
[!] The blog has moved [!]
The blog has moved to http://carlitoscontraptions.com/.
You will be redirected to the new URL in 5 s. Sorry for the inconvenience.
You will be redirected to the new URL in 5 s. Sorry for the inconvenience.
October 31, 2008
Subscribe to:
Post Comments (Atom)
2 comments:
Hi Carlos..
Your circuit showing several LEDs current limited with one resistor will cause the LEDs to fail. The voltage drop will vary on each LED. So, they will draw different current amounts. Eventually one will draw too much current and fail, then others in turn. You have to have a current limiting resistor on each LED. You could use one common potentiometer to dim the whole array.
Cheers..
Hello Tim,
Your comment is very interesting. It is true that if one LED fails all the other will fail too. I would have thought that even though the voltage drop across LEDs varies, it would settle for a single value (since they are all between the same two nodes). and as long as this value is reasonable it would be OK for the LEDs (but of course some diodes would pass more current than others).
I'll give some more tough to this problem and post an update. for now, I'll just post a warning.
Thank you again for reading and commenting.
Post a Comment