<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Superpositioned: DIY LED lighting Guide</title>
    <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Electronics news and projects in the frequency domain</description>
    <item>
      <title>DIY LED lighting Guide</title>
      <description>&lt;p&gt;LED lighting is becoming increasingly popular in &lt;a href="http://www.kaotica.com/frag/diy/moonlight/"&gt;fish tanks&lt;/a&gt;, &lt;a href="http://www.creativemods.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=82&amp;amp;Itemid=39&amp;amp;limit=1&amp;amp;limitstart=0"&gt;case mods&lt;/a&gt;, and even &lt;a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;amp;tag=superposition-20&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;path=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB000BSJK2A%2Fsr%3D8-33%2Fqid%3D1140932085%2Fref%3Dsr_1_33%3F%255Fencoding%3DUTF8"&gt;household lighting&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=superposition-20&amp;amp;l=ur2&amp;amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;.  This article intends to be a comprehensive guide to their advantages, powering them, and creating dimming solutions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a class="lst" href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#why"&gt;Why use LED lighting?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="lst" href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#DC"&gt;Powering your LEDs with a DC source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="lst" href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#AC"&gt;Using an AC source to drive LEDs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="lst" href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#PWM"&gt;Dimming your LEDs (with PWM)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="lst" href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#purchase"&gt;Purchasing LEDs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/leds_close.jpg" alt="Ultra-bright LEDs"/&gt;&lt;/p&gt;

&lt;h3&gt;&lt;a class="anch" name="why"&gt;&lt;/a&gt;Why use LED lighting?&lt;/h3&gt;

&lt;p&gt;LED lights are extremely efficient compared to standard incandescent lighting.  No other lighting source outputs as many &lt;a href="http://superpositioned.com/articles/2006/02/08/top-performing-leds"&gt;lumens per watt&lt;/a&gt;.  They are particularly efficient at producing a single color of light.  Other light sources have to produce the entire spectrum and optically filter out unwanted colors.  However, LEDs can be manufactured to produce only one wavelength of light.  This makes them particularly useful in stop lights.&lt;/p&gt;

&lt;p&gt;Another advantage to LEDs is their operating temperature.  Most available today can be function for hours and remain cool to the touch.  Directionality is another key property.  They only emit light over a relatively small angle.  This can be advantageous for reading lights, but hinders performance when attempting to light an entire room.&lt;/p&gt;

&lt;p&gt;If the advantages of LED lighting interest you, &lt;a href="http://patmullins.com/ledlightmyths.html"&gt;Myths Busted, LED Lighting&lt;/a&gt; is an excellent article by a researcher in outdoor lighting solutions.  (And the source of most my information.)&lt;/p&gt;

&lt;h3&gt;&lt;a class="anch" name="DC"&gt;&lt;/a&gt;Powering your LEDs with a DC source&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt; Driving your LEDs with too much current will permanently disable them.&lt;/p&gt;

&lt;p&gt;If you attach LEDs directly to an unlimited power source, they naturally draw enough current to blow themselves out.  Therefore, the driving current must be limited with a resistor.  The relationship as described by &lt;a href="http://en.wikipedia.org/wiki/Ohm%27s_law"&gt;Ohm&amp;#8217;s Law&lt;/a&gt;, is &lt;code&gt;V = I*R&lt;/code&gt; where &lt;em&gt;V&lt;/em&gt; is the voltage over the resistor, &lt;em&gt;I&lt;/em&gt; is the driving current, and &lt;em&gt;R&lt;/em&gt; is the limiting resistor.  Two &lt;a href="http://www.otherpower.com/otherpower_lighting_leds.html"&gt;example circuits&lt;/a&gt; are shown below.  These particular LEDs are rated at 25mA and are powered by a 12 volt regulated supply.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/led_diag1.png" alt="LEDs in DC circuit"/&gt;&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;Each white LED gives a voltage drop of 3.6 volts.  As an example for a 12 volt light, you can run a maximum of 3 white LEDs in series at full power (3.6 x 3 = 10.8 volts drop).  Subtract this from your supply voltage of 12 volts to get the additional voltage that must be dropped (in this case, 12 - 10.8 = 1.2 volts of additional drop needed).  In this case, 1.2 volts of additional drop / .025 amps (25 ma) = 48 ohms&amp;#8230; resistors are rated in watts.  So in this case, 1.2 volts x .025 amps = 0.03 watts.  A 1/4 watt resistor would work fine.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The &lt;a href="http://www.otherpower.com/otherpower_lighting_leds.html"&gt;tutorial above&lt;/a&gt; also explains how to construct a 12 volt voltage regulator from any 12+ volt DC source.  Voltage regulation is highly recommended because large shifts in your driving voltage can cause the driving current to increase and burn out your LEDs!&lt;/p&gt;

&lt;p&gt;If you are in doubt of your calculations, use one of the many &lt;a href="http://www.google.com/search?q=led+resistor+calculator"&gt;LED resistor calculators&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;&lt;a class="anch" name="AC"&gt;&lt;/a&gt;Using an AC source to drive LEDs&lt;/h3&gt;

&lt;p&gt;It is also possible to &lt;a href="http://ourworld.compuserve.com/homepages/Bill_Bowden/page10.htm#lineled.gif"&gt;convert an AC source to DC&lt;/a&gt;.  My favorite way to accomplish this is with a &lt;a href="http://ourworld.compuserve.com/homepages/Bill_Bowden/page10.htm#ledlamp.gif"&gt;bridge rectifier&lt;/a&gt; as shown below.  As an added bonus, &lt;em&gt;R&lt;/em&gt; is easily calculated using the method above.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/ledlamp.gif" alt="25 LEDs power by an AC source"/&gt;&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;In operation, a DC voltage of around 170 is produced from the bridge rectifier and 50uF capacitor. The capacitor value is not critical and can be anything from 20uF or more&amp;#8230;  To find the resistor value and wattage, multiply the number of LEDs by the individual LED voltage. Then subtract this number from 170 and divide the result by the desired current (usually 20 milliamps).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;&lt;a class="anch" name="PWM"&gt;&lt;/a&gt;Dimming your LEDs (with PWM)&lt;/h3&gt;

&lt;p&gt;Using pulse width modulation (PWM) to dim your LEDs is extremely important!  Simply decreasing the input voltage yields unreliable results and potentially reduces their life-span.  &lt;a href="http://www.google.com/search?q=led+resistor+calculator"&gt;Pulse width modulation&lt;/a&gt; basically pulses the source voltage on and off so quickly that your eye is unable to distinguish the difference.&lt;/p&gt;

&lt;p&gt;PWM can be implemented using a variety of methods.  The simplest is switching on/off the output of a microcontroller.  There are also &lt;a href="http://www.4qdtec.com/pwmmod.html"&gt;several&lt;/a&gt; &lt;a href="http://www.solorb.com/elect/solarcirc/pwm1/index.html"&gt;circuits&lt;/a&gt; that implement PWM.  My favorite method uses &lt;a href="http://www.4qdtec.com/pwmmod.html"&gt;two comparators&lt;/a&gt;.  The details are excruciatingly painful and may deserve their own article someday.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/led_pwm.gif" alt="LED PWM modulator"/&gt;&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;The first example uses the standard op-amp oscillator circuit to generate a triangular waveform which is level-shifted and fed to a comparator (e.g. LM339) to give the PWM waveform.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;&lt;a class="anch" name="purchase"&gt;&lt;/a&gt;Purchasing LEDs&lt;/h3&gt;

&lt;p&gt;LEDs are available all over the Internet.  Recommending a single source or particular LEDs is hard as prices, projects, and the LEDs themselves may vary.  If you are planning on starting an LED lighting project, it is best to do some research.  For smaller applications, like a reading light, it may be more cost-effective to skip out on the top-of-the-line and buy a few more (relatively) cheaper LEDs.  If you want to build a moonlight for your fish-tank, then you don&amp;#8217;t need all those lumens blinding your fish!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.digg.com/mods/DIY_LED_lighting_Guide"&gt;Digg! this article&amp;#8230;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 25 Feb 2006 20:36:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:66392483-d524-4e49-b89f-f10e841f0f61</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide</link>
      <category>Tutorials</category>
      <category>schematics</category>
      <category>led</category>
      <category>exclusive</category>
      <enclosure type="image/gif" url="http://superpositioned.com/files/led_pwm.gif" length="9314"/>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Chadd</title>
      <description>&lt;p&gt;If you are looking for PWM LED circuit, I would suggest using a micro controller, such as the PIC16505. This will allow you to control your pulse width and duty cycle as needed. I have seen one company who works with the PIC Micro ( &lt;a href="http://www.LunarAccents.com" rel="nofollow"&gt;http://www.LunarAccents.com&lt;/a&gt; ), but if you have training in electronics technology you might be able to implement a simple PIC circuit on your own!  &lt;/p&gt;</description>
      <pubDate>Thu, 22 Mar 2007 22:39:35 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:65c3e49d-9d2f-476e-97f5-721aade88ac1</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-206</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by FryGuy</title>
      <description>&lt;p&gt;Resistor power dissipation is just that.  Its is the power the resistor has to get rid of for the given current flowing threw it. So depending on the resistors value and the current flow, determines the resistor wattage you need. &lt;/p&gt;

&lt;p&gt;Basically the lower the resistance the lower the wattage of the resistor can be for a given current. The resistor is acting as more of a conductor then a load so it don&amp;#8217;t need to get rid of power (P= V x I). &lt;/p&gt;</description>
      <pubDate>Sat, 24 Feb 2007 21:25:22 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:a864a79e-21ba-41cb-9ca8-353822c64967</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-199</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by J</title>
      <description>&lt;p&gt;If a resistor is dissipating 1/4W, it can it supply 1/4W to the load?&lt;/p&gt;</description>
      <pubDate>Sun, 05 Nov 2006 10:35:33 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:fa61caae-d01f-41df-97e0-aa989d7fe8d8</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-195</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Hogan</title>
      <description>&lt;p&gt;What a fascinating read this is.  My electronics knowledge is limited but nevertheless I have got the gist of this.  The use of opposed polarity LED strings is particularly interesting. Does anyone have any ideas for employing this technique for bicycle lighting using a hub generator? The one I have in mind produces 6vAC at 3w.&lt;/p&gt;</description>
      <pubDate>Thu, 26 Oct 2006 03:36:19 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:920037a1-5cf0-4a25-afd0-5faec81ba08f</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-190</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by jo</title>
      <description>&lt;p&gt;can you suggest an electonic diagram for pulser which I can control the time and the hight (voltage) of the pulse to operate several LED lines
jo
&lt;a href="mailto:yf_ta@yahoo.com" rel="nofollow"&gt;yf_ta@yahoo.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 17 Jul 2006 07:52:55 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:c4b5ebbd-bb0f-45e8-8c04-c027c302f6bc</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-166</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by homemade power</title>
      <description>&lt;p&gt;Really detailed info Thanks. My experience - LED&amp;#8217;s are great put only for certain purposes. Most people make the mistake of trying to light a room with them which they are always unhappy with.&lt;/p&gt;</description>
      <pubDate>Mon, 26 Jun 2006 07:35:32 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:919a6c03-977c-4294-b467-01d1ab8e54cf</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-169</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by njh</title>
      <description>&lt;p&gt;Could you use a normal light dimmer with the mains powered circuit to dimmer the LEDs?  (I have neither the LEDs nor the dimmer to try it, but the only objection I can see is that the tail of the cycle may not provide enough voltage to light the leds.)&lt;/p&gt;

&lt;p&gt;A capacitor before the bridge rectifier would have the same effect as the resistor, but not waste any (much) power.&lt;/p&gt;

&lt;p&gt;There are plenty of circuits floating around to deliver constant current using a transistor or two, which might work better with the standard dimmer.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:34:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:cde59279-0348-4e67-9029-42ee7570d9ad</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-126</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Tim Buchheim</title>
      <description>&lt;p&gt;You can indeed have two strands of oppositely-pointing LEDs in parallel connected to an AC voltage source.  I have some LED Christmas lights (made by Phillips) which are constructed this way.  (Had I known in advance that they were built this way, I probably wouldn&amp;#8217;t have bought them.)&lt;/p&gt;

&lt;p&gt;The flicker is a bit annoying, though.  (It&amp;#8217;s fine at a distance .. such as on your roof.  But for indoor use it can be annoying if you&amp;#8217;re sensitive to flicker.  (It&amp;#8217;s not quite as annoying as a CRT with a 60 Hz refresh rate, but it&amp;#8217;s still pretty annoying.)&lt;/p&gt;

&lt;p&gt;I imagine the flicker would be quite a bit worse for those in Europe who have 50 Hz AC.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Mar 2006 13:16:33 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:e36e8e3c-56f8-4882-abe6-8e7024988d96</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-84</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by onlyocelot</title>
      <description>&lt;p&gt;mervyn asks about specifics for driving &amp;#8216;a&amp;#8217; luxeon led. There&amp;#8217;s a bunch of different luxeon LED&amp;#8217;s, and all sorts of free information about them in PDF&amp;#8217;s at &lt;a href="http://www.lexeonstar.com" rel="nofollow"&gt;www.lexeonstar.com&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;There are so many different configurations and individual emitters that it&amp;#8217;s hard to generalize. However, in the sample led circuits, clicking on the resistor generally takes you to:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.luxeonstar.com/resistor-calculator.php" rel="nofollow"&gt;http://www.luxeonstar.com/resistor-calculator.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;which asks for how much battery voltage you are supplying, how much voltage wants to be dropped across the LED (from the data sheets) and what the operating current of the LED is. It gives back calculated values for standard resistance and wattage, actual resistance and wattage, and tells what the actual current that will flow in the  LED and its power dissipation. Very helpful.&lt;/p&gt;

&lt;p&gt;You can get the answer to your questions by choosing which Luxeon LED emitter (or star or array) you want to use, mining the datasheet for the appropriate information as above, choosing the driving schematic you want to follow and calculating using their calculator. The rest is easy 8^)&lt;/p&gt;</description>
      <pubDate>Wed, 01 Mar 2006 07:05:05 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:3dfae5c2-fc58-4740-9c44-c021329a89de</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-83</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by mervyn</title>
      <description>&lt;p&gt;hi .. any one know how many volt battery need to light up luxeon led?? and what is the minimum volt and resistor need to light up 3 pcs luxeon V led in series with battery???&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</description>
      <pubDate>Wed, 01 Mar 2006 01:54:36 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c4d9a227-3028-4274-8334-82dd7c2d6b43</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-82</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Matthew</title>
      <description>&lt;p&gt;I just wanted to thank everyone for the wonderful comments again!&lt;/p&gt;

&lt;p&gt;Don&amp;#8217;t worry about missing the math!  I had already done the math and knew the offending quote was incorrect.  Yet I failed to edit it out&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 08:51:15 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:6393c3d1-71ff-4461-a85b-537bca32648d</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-81</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by onlyocelot</title>
      <description>&lt;p&gt;Ooops. Shoulda done the math! &lt;em&gt;blush&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Frac raises the question of using AC and putting diodes on facing in opposite directions: &lt;/p&gt;

&lt;p&gt;If the string is across 12Vac (not that hard to do with transformers), and consists of a resistor in series with two strings of LEDs, one with anodes to the left and the other with anodes to the right, then, indeed, each substring of diodes will be lit for a half-cycle. Each of the strings will flash on 60 times a second, but because the other excursion of the AC power signal lights the other string &amp;#8216;in between&amp;#8217;, the actual pulse rate (assuming all 6 LEDs are in the same area, pointed in the same direction) will be 120Hz. Essentially, this is an interleave system like TV, at twice that rate, so as long as motion isn&amp;#8217;t involved, it will appear solidly lit (ie, there won&amp;#8217;t be a perception of blinking at all.)&lt;/p&gt;

&lt;p&gt;Now, there will be some effects from the fact that it is AC instead of DC (ie, rate-of-change), but since the current integrates to less than 1/2*RMS voltage (i.e. .707v average/2) and the frequency seen by each diode is 60Hz, the total effect felt will be considerably less heat than with DC, so you should be able to expect much longer lifetimes. In short, you&amp;#8217;ll get less light, but stress the diodes less than with straight DC applied. Plus, the off-half-cycle allows for cooling!&lt;/p&gt;

&lt;p&gt;In essence, you&amp;#8217;re applying a half-wave rectified current to each LED, which starts to flow at just over the &amp;#8216;diode drop&amp;#8217; voltage * 3 (i.e., if the diode drop is .6v (good for most silicon diodes), then you have to get 1.8v across the three diodes to start conduction: the resistor will be dropping a voltage equal to flowing current times its resistance, so the conduction starts at an applied voltage just above 1.8v with very little current, and rises as the voltage rises to peak.) Power comes from V*I, but with half-wave rectified V and I, it is considerably less than 1/2 of the power you&amp;#8217;d get from a constant DC.&lt;/p&gt;

&lt;p&gt;Ideally, you could maximize the light output from such an arrangement by simply clipping the applied mains voltage at 12V with a pair of zeners (they&amp;#8217;d have to be pretty hefty ones!). This approximates a square-wave with about 10% of the sine wave as the rise and fall times on each excursion. The benefits of this are that the rise and fall times wouldn&amp;#8217;t cause much greater rate-of-change problems than the half-wave rectified voltages do, the LED&amp;#8217;s would be turned as on as they get very soon after the polarity change, and thus putting out light for very nearly the entire half cycle, at which point, they&amp;#8217;d go dark for a short time and the other string would light up. &lt;/p&gt;

&lt;p&gt;There are better ways of getting a nice 24v p-p square wave to apply than using the power mains directly, and much safer ones. However they are also going to require enough parts that you might as well just throw a real regulated DC supply at it, or get the PWM dimmer ability discussed later in the tutorial.&lt;/p&gt;

&lt;p&gt;As for Swingheim&amp;#8217;s track idea, if the track were driven by a constant voltage supply, and you put a resistor in series with one side of &lt;em&gt;each&lt;/em&gt; LED, a track arrangement could be made to work. &lt;/p&gt;

&lt;p&gt;Here&amp;#8217;s the design process:&lt;/p&gt;

&lt;p&gt;If the LEDs are 25ma, like the ones above, and want 3.6 volts to operate, and the constant-voltage supply runs at 6V (a not-very-hard to find value for regulated DC), then the resistor would need to drop 6v-3.6v=1.4v. R=E/I, so the resistor would want to be 56ohms. 56ohms is actually one of the standard values, but if you don&amp;#8217;t want to spend a fortune, you&amp;#8217;ll probably get 5% or even 10% resistors, which means (for 5%) the value can be as high as 58.8 and as low as 53.2ohms. In a simple resistor-diode string across a well-regulated voltage, the resistance voltage will be determined tightly by the LED voltage drop, so E is a constant for the resistor at 1.4v and the current will vary between 1.4v/53.1ohms=26.32ma and 1.4v/58.8ohms=23.80ma. The lower current means a dimmer LED (although not by much, just 5%, really) but the higher current means breakdown will happen sooner from overheating. To be safe, you should go with the next higher standard resistance, 62ohms, which at 5% will vary by +/-3.1ohm. The current extremes will be about 23.8ma to about 21.5ma. At the lower end, you&amp;#8217;ll get around 86% of the average for 56ohm resistors, and a reliable operation for the normal life of the LEDs. (And if it&amp;#8217;s noticeably dim, just put another light on the track!)&lt;/p&gt;

&lt;p&gt;The resistor&amp;#8217;s power dissipation won&amp;#8217;t be significantly different from the given DC example above, so it&amp;#8217;ll be around 32mw, around 1/30thW. 1/8W resistors are perfectly fine for that power level. Just cut one LED leg to 1/8th&amp;#8221;, cut one resistor lead to 1/8&amp;#8221;, solder them together side-by-side, and use the other resistor leg and diode leg as the &amp;#8216;hangers&amp;#8217; on the track!&lt;/p&gt;

&lt;p&gt;If you can get a good 4.5v supply, the resistor voltage will be lower (on the order of .9v), so the resistance can be lower (next standard size up from 36, which is 39ohms)and the current will average maybe a milliamp more, meaning more light from each LED.&lt;/p&gt;

&lt;p&gt;NOTE 1: Wall warts are notorious for giving their rated voltage under significant load, so a) going with a higher resistor value might make using wall warts safer and b) using wall warts isn&amp;#8217;t really safe for this application, anyway. Either throw away the power needed to load the wall wart into good regulation when no LEDs are bridging it, or get/make a real power supply!&lt;/p&gt;

&lt;p&gt;NOTE 2: I didn&amp;#8217;t mention it above, but if you have a well-calibrated ohmmeter, you may think you can just measure a bunch of 5% or 10% resistors at the 36 or 56ohm standard value, and only use the ones that are exactly right, but beware of the meter&amp;#8217;s limitations. Analog meters are usually 5% full scale accuracy &lt;em&gt;at best&lt;/em&gt;, so even if you&amp;#8217;ve had it calibrated to a mark at 56.0000 ohms, the next time you read 56ohms, it may read anything from 52 to 60! Digital meters &lt;em&gt;can be&lt;/em&gt; more accurate, but they still have electronics made up of 5% parts&amp;#8230; so be conservative!&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 07:54:57 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ef75138e-c0d1-4f2a-9062-85e60c2b37a7</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-80</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Matthew</title>
      <description>&lt;p&gt;One of the links in the articles points you toward &lt;a href="http://ourworld.compuserve.com/homepages/Bill_Bowden/page10.htm#lineled.gif" rel="nofollow"&gt;AC Line Powered LEDs&lt;/a&gt;.  This section of the article describes exactly how to run one (or two) &amp;#8216;flickering&amp;#8217; LEDs from an AC line.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 07:39:56 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:cc5f5916-fcd6-4991-819c-f8bc6d022f8a</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-79</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Frac</title>
      <description>&lt;p&gt;DeadlyDad - you&amp;#8217;re right, of course. I just went and took a quick peek at the diagram and saw the three LEDs drawn. The concept still seems sound, though, correcting it for 25 x 2.&lt;/p&gt;

&lt;p&gt;The flicker would actually increase the LEDs lifespan. They don&amp;#8217;t really have a heating cycle like a bulb. Most electronics &amp;#8220;flicker&amp;#8221; LEDs to conserve battery life and, in the case of multi character displays, only light one character at a time.&lt;/p&gt;

&lt;p&gt;I now also realize that the flicker of the whole set of LEDs would be at 120hz, since each half is lit on half the cycle.&lt;/p&gt;

&lt;p&gt;I also think you could probably get the over all brightness very close to or slightly brighter than having them all turned on at once. Since each LED is off for half a cycle, you could probably drive it to a higher voltage (a little past its rating). Since it get&amp;#8217;s the rest period every half-cycle, it&amp;#8217;s life would not be significantly reduced.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 07:08:40 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:494adcde-d420-47dd-80a4-88765495c44f</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-78</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by DeadlyDad</title>
      <description>&lt;p&gt;&lt;b&gt;Frac:&lt;/b&gt;  While I don&amp;#8217;t consider myself any sort of electronics expert, wouldn&amp;#8217;t you have to have 25 one way and 25 the other, otherwise wouldn&amp;#8217;t you have 12 or 13 receiving 120 volts on each half of the cycle?  I&amp;#8217;m also not too sure what effect having the voltage cycle from 0-3.6V and back sixty times a second would have on the LEDs&amp;#8217; lifespan.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 04:46:07 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c63141b0-c007-4ef2-8c10-0c1ca861534a</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-77</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Frac</title>
      <description>&lt;p&gt;As LEDs are diodes, could you not use LEDs on AC without a rectifier? In your example, put three forward facing and three backwards facing. Three will be on when the other three are off (more or less - it&amp;#8217;s a sine wave, so they&amp;#8217;ll all be off as the wave crosses zero volts). In many applications, the 60hz flicker would be  inconsiquential.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 18:29:06 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:235310ab-4cfc-4bdf-aa24-53a1f98226e0</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-76</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by DaveG</title>
      <description>&lt;p&gt;&lt;strong&gt;Swingheim&lt;/strong&gt;: because LEDs are not all created equal, and in a parallel situation the current will take the &amp;#8216;path of least resistance&amp;#8217; causing one of the LEDs to probably burn out.. followed by the next .. followed by.. you get the picture? Now if you can get your hands on very similarly rated LEDs (ie: same manufacturing batch) then you can do it, but it&amp;#8217;s not that easy still. The best way to actually do it is to run a few in series (call it a chain), with a resistor for ballast, and then have multiple &amp;#8216;tracks&amp;#8217; of these chains connected in parallel. This seems to do the job.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 18:28:16 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9bd09158-aeaf-4025-bca5-9127fac9d508</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-75</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Matthew</title>
      <description>&lt;p&gt;&lt;strong&gt;Kevin&lt;/strong&gt;: All LEDs are &amp;#8216;bi-directional.&amp;#8217;  I may write a tutorial on the physics of this in the near future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;skc&lt;/strong&gt;: Good point on flourescents.  Changed my wording a little.  Temperature in LEDs is definately a problem.  However, I meant that LEDs do not run as hot as incandescent lighting.  This is very desirable around small children, animals, or for a reading lamp.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Drew&lt;/strong&gt;: Although resistors are by far the simplest solution, this is a great point.  I may follow up on alternate solutions someday.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 14:19:52 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9c998c79-0142-4797-8c68-80cace9d7e35</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-74</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Swingheim</title>
      <description>&lt;p&gt;I am a programmer by nature, and have only dabbled in electronics, so forgive my lack of understanding.&lt;/p&gt;

&lt;p&gt;An obvious question comes to mind: Why not run the LEDs in parallel, and not a series?&lt;/p&gt;

&lt;p&gt;I would want to build a &amp;#8220;track&amp;#8221; that I could plug in any number of LEDs to my liking, without having to worry about changing out resistors, etc.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 13:38:25 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:88d0a6ab-26f4-4707-91d3-680c39e10390</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-73</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Drew</title>
      <description>&lt;p&gt;I would point out that using a resistor to &amp;#8216;ballast&amp;#8217; led is not the best way. In the top schematic, the resistor is dissipating P=I^2*R watts which comes out to 0.03 W which is 10% of the 0.3 W used. &lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 12:05:45 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:b300e36b-977b-451b-87d2-450f900ca76a</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-72</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by skc</title>
      <description>&lt;p&gt;&amp;lt;&amp;lt; No other lighting source outputs as many lumens per watt. &gt;&gt;&lt;/p&gt;

&lt;p&gt;Fluorescent tube are better.
&lt;a href="http://www.lightingfacts.com/Fluorescent%20Efficiency.htm" rel="nofollow"&gt;http://www.lightingfacts.com/Fluorescent%20Efficiency.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt; a four foot &amp;#8220;cool white&amp;#8221; or &amp;#8220;warm white&amp;#8221; fluorescent tube uses 40 watts and produces about 3200 lumens of light &gt;&gt;&lt;/p&gt;

&lt;p&gt;LED: 35 lumens/watt
Fluorescence: 80 lumens/watt&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt; Another advantage to LEDs is their operating temperature. Most available today can be function for hours and remain cool to the touch. &gt;&gt;&lt;/p&gt;

&lt;p&gt;Temperature IS a problem with LED, today we can not increase LED light because of temperature.  If temperature is too high, the LED get permanent damages. LED build to light are bigger and bigger, with dissipators to evacuat heat.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.michaelcarden.net/luxeon/luxeon3.php" rel="nofollow"&gt;http://www.michaelcarden.net/luxeon/luxeon3.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt; A Luxeon star is a LED emitter bonded to a small piece of circuit board material with an aluminium backing designed to dissipate heat. &gt;&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 08:32:53 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9b8a5943-be54-4af7-ae62-f67a5f300866</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-69</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Kevin</title>
      <description>&lt;p&gt;Where can you buy Bi-directional LED&amp;#8217;s?
Not the two color LED&amp;#8217;s but the one&amp;#8217;s that can be used for sensor applications.  Thanks&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 07:49:09 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:3f514c6f-7889-4a0d-bbe4-ece56ef03eae</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-68</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by Matthew</title>
      <description>&lt;p&gt;Thank you for the extremely relevant comments.  Great recommendations!&lt;/p&gt;

&lt;p&gt;However, the quote incorrectly calculated the power dissipated in the resistor.  The voltage over the resistor is only 1.2V, not 12V.  Therefore, the power dissipated by the resistor is only 0.03 Watts.  (I have updated the quote and notified the corresponding site.)  A quarter Watt resistor will more than suffice in this case.&lt;/p&gt;

&lt;p&gt;P.S. Sorry the ajax comments take so long to post.  I had to turn on spam bot checking which added a ton of lag.  I think I need to make the waiting indicator more noticeable (or add a dialog).&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 06:34:21 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:fe91519a-97cb-4e71-b3ed-bf028e357e11</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-71</link>
    </item>
    <item>
      <title>"DIY LED lighting Guide" by onlyocelot</title>
      <description>&lt;p&gt;Not to stand on tradition or anything, but if, in the first quote, the current through the ballast resistor is .3W (i.e., 1/3W) then a 1/4W resistor is too small. In standard sizes, you&amp;#8217;d need a minimum of a 1/2W resistor.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Editors Note: The information in the quote was incorrect.  The current through the ballast resistor is in fact 0.03 Watt.  In this case, a 1/4 Watt resistor will suffice.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Additionally, it&amp;#8217;s common practice to &amp;#8220;derate&amp;#8221; resistors, and although it&amp;#8217;s not as necessary now as it used to be (50 years ago, a 1/2W resistor might or might not reliably operate when drawing 1/2W) it is still a sensible thing to do. Derating means to presume that the power rating is conservative, and specify a resistor that can handle from 2 to 10 times more current than the most you will put through it. &lt;/p&gt;

&lt;p&gt;Part of the reason for derating is so that a component (like a series resistor, the failure of which will disable the whole string) will not fail if more than rated current is applied for a short time. This is not a problem with LEDs: they don&amp;#8217;t have an inductive inrush or kick, the current through them rises almost instantly to the ballasting resistor&amp;#8217;s E/R value and stays there. Hence, under normal circumstances, the resistor will see (in the quoted case) 1/3W when the string is energized, and won&amp;#8217;t be subjected to high-rate-of-change or out-of-spec current swings (barring induced currents from nearby motors, power lines, or nuclear blasts!)&lt;/p&gt;

&lt;p&gt;On the other hand, running some resistors &amp;#8216;full bore&amp;#8217;, ie, at or near rated power, can change their values over time, and if the value decreases, the current will increase, resulting in premature burn-out of the LEDs. Things get more complicated with AC-DC conversion, since now you have diodes that can fuse or break, resulting in waveforms that the simple RC filter might not remove, resulting in rate-of-change effects that heat up the ballast resistor more than straight DC might.&lt;/p&gt;

&lt;p&gt;To properly ballast a string of three LEDs, as in the first stated case, then, a 1W resistor is advisable. &lt;/p&gt;

&lt;p&gt;In any case, the addition of a series fuse, rated at the acceptable current plus about 5% is wise: if one of the LED&amp;#8217;s gets shorted, its 3.6v drop will disappear, and instead of 1.2V across the 50ohm resistor, you&amp;#8217;ll get 4.8v, effectively quadrupling the current, and burning out the other two LEDs. With a fuse rated at 30ma (yes, they do make them that small), a short will not damage anything but the fuse. In the second schematic, with the parallel strings of series resistor and LEDs, one fuse per string is more advisable than one higher-rating fuse for the entire lot. A fast-acting fuse is appropriate. In singles from Newark, for instance, a 30ma fast-blow fuse can cost from 50 cents to 1.50 each, which, when compared to three high-output white LEDs is currently a good bet. (When the price of high-output White LEDs gets down to 10cents a piece, then it makes sense to use the LEDs as the fuse 8^)&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 06:17:30 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:94eee855-2127-43dd-b7e5-182bd3405ff4</guid>
      <link>http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide#comment-70</link>
    </item>
  </channel>
</rss>
