Introduction: Using LED's and Laser Diodes

There are a lot of instructables about using LED's in cool and interesting ways, but not often is discussed how you should use LED's on a electronical level.

Since laser diodes are effectively a LED (Light Emitting Diodes) this will work for those as well.

There are a few things you need to know that will stop you from blowing up LED's which can be a pain, especially on the more expensive high power ones.

I'm specifically not going into which LED types produce more light, etc. This is just about hooking up LEDs.

Step 1: Which Specs Do You Normally Care About.

If you look at any (high power) LED or laser there are a few numbers that are almost always listed:

  • Operational or Forward voltage.
  • Operational or Forward current
  • Peak, pulse or 'absolute maximum' forward current
  • Reverse voltage

Each of these will get a small chapter explaining what is it and why would you care.

Step 2: Forward Voltage

A very common misconception is that LED's just need a voltage, just like a normal light bulb.

This is not the case, not matter how precise your voltage is, just supplying a LED with it will probably break it over time.

Also, providing a much higher voltage will not necessarily break it.

Forward voltage simply means the voltage that will drop over the LED when the normal operating current is applied.

Effectively this is the minimum voltage the LED can operate on.

Step 3: Forward Current

Here is where it gets interesting, the forward current of a LED is the current the LED can operate at.

You should never* go over this current if you want your LED to survive for any decent period.

Any LED needs a current limit to make sure that it never exceeds this current, which can take many shapes:

  • A special LED driver board, useful for high power LED's and just a few bucks on ebay.
  • A simple resistor, plenty of 'LED resistor calculators' out there that can help you select the correct one based on your power supply voltage, forward voltage and forward current.
  • A 'parasite' current limit, a current limit made by the components around it.
    • A battery or power supply that can't supply enough current, an example of this are LED throwies.
    • Current limit on microcontroller pins, some microcontrollers have a 'build in' current limit if the VCC becomes low.
    • LED driver chips, plenty chips that have internal current limiting for LED's.

Varying this current is also a good way to dim a LED, although PWM (turning it on and off really fast) allows for greater flexibility.

* Except with pulse currents, see the next chapter.

Step 4: Absolute Maximum Current.

This is useful value if you are driving a lot of LEDs.

For example if you are driving a LED matrix display you LED might not be on all the time, but only 1/10th ot the time for example.

At that point this current becomes interesting, if you have a 20mA LED and its maximum current is 0.2A you can drive the LED up to 200mA without a chance of breaking the LED.

This will make the display appear as bright as with the LED at 20mA continuously.

Step 5: Reverse Voltage

Not often a important value, but an get important when battery powering or using a LED on an AC voltage.

This is the maximum voltage the LED can have in reverse before it will break.

Most high power LED's this will be a very low value and will break instantly then exposed to that voltage.

Something to keep in mind when designing your battery holder or circuit.

There are several ways to protect against reverse voltages in a circuit.

A diode in series with the LED is an option, but for high power LED's this has to be a very powerful diode and will waste a lot of power.

A better idea is a diode anti-parallel on your LED, this diode will protect only your LED.
You should add a fuse that will break before the diode breaks otherwise the diode will just break and directly after that your LED will still suffer.

Step 6: What Can Go Wrong?

Therein lays the problem... Unless you grossly fail at getting it right the LEDs will supply light.

You will just notice that the LED banner spec of 10 000 or 50 000 hours is suddenly only 100 or 200 hours.
You start questioning the quality of the LED's when you should be questioning the LED drivers.

This is one of the main causes of death of LED's, either by accident* or on purpose** supplying too much current to LED's causing them to fail prematurely.

The other main cause is overheating, LED's and LED drivers like it very cool, if they are too hot to touch there is something really wrong.

* Sometimes because the inherent current limit in a system is removed, for example but putting better batteries in a cheap flashlight or using an AC adaptor instead of batteries.
Other causes can be swapping LED's by types with a lower forward voltage and forgetting to change the circuit accordingly.

** Often done by crap companies that just want to boast with '10W led' or 'high power' when they aren't but will work for long enough to question yourself and not the LED.


Migheli (author)2015-08-20


Millies (author)Migheli2015-12-06


Ralphxyz (author)2015-08-21

How are you measuring voltage in your first picture?

It looks like you have the meter in series with the circuit like you were measuring current.

Possible this will work I just have never seen it. Or am I just missing details?

Nice Instructable, could have used more depth but I save it for reference point.

SA007 (author)Ralphxyz2015-08-21

It looks a bit like series, but it is attached to both sides of the LED.

Measuring it in series is generally a bad idea.

kevinf15 (author)2015-08-13

"forward voltage" not current in the second to last sentence

SA007 (author)kevinf152015-08-14

Thank you for finding the mistake, I just corrected it.

therealtruth (author)2015-08-13

Under "Step #2: Forward Voltage"

near the bottom of step 2 it states


Forward current simply means the voltage that will drop over the LED when the normal operating current is applied"

The second word should be "voltage" not 'current', which it currently says. (pun intended)

SA007 (author)therealtruth2015-08-14

Thank you for finding the mistake, I just corrected it.

wobbler (author)2015-08-13

Although the above circuit will work, it's easier to just put the reverse diode across the LED. This has two advantages:

Firstly, it means you only need a diode which is rated at the same current as the LED, which means (for most LEDs) a simple 1n4001 or similar.

Secondly, it won't blow the fuse if the battery is reversed (you shouldn't actually even need a fuse). This means you can drive it directly from an AC voltage.

However, there are some advantages to putting a diode in series with the LED. The voltage drop across the series diode can actually make the resistor smaller and need to dissipate less power, so a lower wattage resistor might be able to be used.

SA007 (author)wobbler2015-08-14

Completely correct, but ofter you don't just have a single LED, but also things like a microcontroller, more LED's etc.

In this configuration other electronics are also protected.

HarveyS1 (author)2015-08-13

You should include a discussion of current regulators and PWM circuits.

Since foward Voltage of the LED is a function of the forward current, the current limiter resistance and power dissipation should be calculated at the intended operating current.

SA007 (author)HarveyS12015-08-14

True, but normally a LED is used at the operating current as listed in the datasheet.

PWM is not relevant, you are switching the LED on and off at the operational current. It will work exactly the same as a non-PWM'ed led, but you can control the brightness.

psalm (author)2015-08-13

Simply and good for newbies

dmhoke (author)2015-08-11

any notes on selecting the "anti-parallel" diode???

SA007 (author)dmhoke2015-08-12

A few things:

As placed in the schematic:

- The current rating should be greater than the fuse rating (if you place it on the right side of the resistor it can be lower, but is must still be more than the rating of the LED).

- The forward voltage should be lower than the allowed reverse voltage on the LED. This is usually not a problem, most diodes are 0.7V or lower and most LED can have 5+V volt in reverse, although high power LED's can be lower.

- If placed as in the schematic, the reverse voltage must be higher than the supply voltage, if the diode is placed to the right of the resistor it just needs to be higher than the forward voltage of the LED.

The difference between putting the diode before or after the resistor is the level of protection you want.

If you place it between the fuse and the resistor you are protecting the circuit, a reverse voltage will pop the fuse and keep the LED and possible surrounding electronics safe.

If you place it after the resistor you are just protecting the LED, a high voltage can still burn out the resistor before the fuse blows.

D6equj5 (author)SA0072015-08-13

A very useful few chapters and well worth remembering. Nice one.

mikenaly (author)dmhoke2015-08-12

A quick look at a diode datasheet shows they have both a working peak reverse voltage and rms reverse voltage. The circuit illustrating this shows that the diode is in parallel with the supply (Vcc) voltage. Simply make sure that the reverse voltage values are larger than the supply voltage so that you don't blow out the diode.

About This Instructable




More by SA007:Using LED's and Laser diodesMeasuring low resistance / 4-wire on the cheapPowering your project
Add instructable to: