LED: How to…

The LED is an amazing invention. In this tutorial, I will explain how to design a circuit using a voltage source, a resistor, and an LED.

LED circuit

LED circuit

The first step in designing a circuit with an LED is to know the characteristics of the LED being used. Most LEDs have some form of a datasheet. The most important information is forward voltage and forward current. The maximum of these values is also very important.

For this illustration we will assume that our red LED has a forward voltage (Vf) of 1.7 volts and a forward current (If) of 20 milliamps. The maximum Vf is 2.2 volts and the maximum If is 150 milliamps. The safe power dissipation for our LED is 100 milliwatts. Our voltage source will be a 9 volt battery. This concludes all of our known values.

The unknown values that we want to find include: the resistor value, power dissipated by the resistor, and power dissipated by the LED.

The resistance can be calculated using the formula: (Vsource – Vf(LED))/If(LED) where the voltages are in volts and the current is expressed in amps. This formula is a modified version of Ohm’s law, where resistance = voltage / current, only we are taking into account the voltage drop of the LED to find how much voltage we need to be dropped by the current limiting resistor.

For our circuit: (9v – 1.7v)/.02A (20mA) = 7.3v/.02A = 365 ohms. You might be able to get a 365 ohm resistor, but a common value in my collection is 390 ohms.

Our actual forward current can be calculated as (9v – 1.7v)/390 ohms = 18.7mA. The voltage dropped by the current limiting resistor is I*R. 18.7mA * 390 ohms = 7.293 volts, which rounds up nicely to 7.3V. We already knew this because of the previous calculation though. This only confirms our suspicions.

The power dissipated by our LED is I*Vf(LED). 18.7mA * 1.7V = 31.79mW. This falls safely into the maximum dissipation of 100mW noted on the datasheet. We could have possibly chosen a smaller value resistor and still be within this region.

Finally, we chose to use a 1/4 watt resistor. To find the power dissipated by the resistor we multiply the voltage drop of the resistor by the current in the circuit. P=IV(resistor). The power dissipated by the resistor = 18.7mA * 7.3V = 136.51mW. This is less than 250mW so we are still in the safe region for this resistor.

What would happen if we had chosen a 330 ohm resistor?

If = (9v – 1.7v)/330 ohms = 22.12mA
V(resistor) = 22.12mA * 330 ohms = 7.3V (we knew this)
P(LED) = 22.12mA * 1.7V = 37.6mW (this is safe)
P(resistor) = 22.12mA * 7.3V = 161.5mW (this is safe)

The maximum power dissipation is the most important value to watch. Exceeding this shortens the life of a LED. The only time you could meet the If(MAX) and not damage the LED is if you used PWM. If you were to use this LED at If(MAX) of 150mA, the LED would have to dissipate 255mW of heat. This is 2.5 times the LED’s normal dissipation. Death of the LED will follow closely.

LEDs arrived from China. LED Stage Lighting part II (Concept Only)

This blog is as far as we ever went with this project. Cheap LEDs have color differences, and we couldn’t get it right.

August 20, 2009 @ 2:05pm – The LED arrangement is great for dark rooms, but we need much more light. This plan is going to be “canned” and another solution is going to be sought. I am going to check out the high-power LEDs at the Ebay and see what’s shakin’. It’ll be another 2 weeks before anything else arises.
Continue reading

LED stage lighting…but not $400. Keep it cheap! (Concept Only)

Clint, the other tech-tut.com owner, and I have joined our powers together to begin designing an 8 can lighting system that would fit any budget. We were, and still are, hoping to keep it under $150. We have had estimates as high as $200, but we keep getting creative. The first money saving device was for Clint to build a computer program to control the settings instead of having a “breakout box” to do all the work. This means that we don’t have to buy a bunch of slider pots and switches, which add up in cost almost exponentially.
Continue reading