Components Survival Guide: LEDs Part 1

Mixed light emitting diodes
Red, blue, and green light emitting diodes. (Author: Dalia Svander | CC-BY-SA-3.0 )

LEDs (Light Emitting Diodes) have dominated artificial lighting after displacing many alternatives over the years.  Even though electricity can easily damage them, their properties make them a component nearly every hardware developer can easily use.  This project will cover:

Notice of Non-Affiliation and Disclaimer: As of the publication date, we are not affiliated with, associated with, authorized by, endorsed by, compensated by, or in any way officially connected with Arduino, Raspberry Pi Foundation, or Texas Instruments, or their owners, subsidiaries or affiliates. The names Arduino, Raspberry Pi, and MSP Launchpad, as well as related names, marks, emblems, and images are trademarks of their respective owners.

Technology Comparison

It’s helpful to first appreciate differences between LEDs and their close counterparts: incandescent lamps, and diodes that are not LEDs

LED versus Incandescent

A filament is effectively a resistor made of tungsten or molybdenum wire.  Incandescent sources rely on intense joule heating of a metal filament until it becomes hot enough to glow.

To some extent, a filament’s glow is a byproduct of its high temperature.  By comparison, LEDs use a more direct conversion of electricity to light.  Even the least-efficient LEDs may have more than double the efficacy of an incandescent source.

LED versus Non-Light Emitting Diodes

Conventional diodes (i.e. silicon rectifiers) and LEDs have similarities, such as:

  • Conducting current in one direction and resisting current in the reverse direction
  • Being polarized with a distinct anode and cathode pin
  • Using semiconductor effects rather than intense heat for their operations

Yet, an LED’s semiconducting junction has a direct bandgap that can directly produce light from electric charges.  Silicon rectifiers typically have an indirect bandgap, where the odds of light emission at any given time is low.

LED Digital Representations

Schematics often represent diodes as a collection of at least 3 visual objects:

  • A value such as a part number, color, package type, or (in simulators) the model name
  • A reference designator (i.e. instance number), beginning in “D” or “LED”
  • A symbol with an arrowhead aimed in the LED’s forward direction

The arrowhead indicates the direction of conventional charge flow (CCF) that can illuminate the LED.  Engineers now know that real-life electron flow (EF) happens in the opposite direction, so it is important to know which convention is being used.  In CCF terms, the anode must be at a higher voltage than the cathode for the LED to illuminate.

An LED has 2 terminals (pins) labelled anode and cathode.  The bar at the end of the arrowhead is located at the cathode.  Originally, the diode symbol represented the pointed metal wire and crystal grain of a point-contact rectifier.  Not every diode in the 21st century is a point-contact rectifier, but the symbol applies to many diodes, and 2 smaller arrows will indicate if the diode is light-emitting.

Figure 1: Light Emitting Diode Symbol Example (without enclosing circle)

Kits like the Arduino, Raspberry Pi, and MSP launchpads include built-in LEDs that the user’s own software can control.  The software programmer must know whether the software controls the LED anode or cathode, and not just assume outputting a “1” means “turn the light on.”

LED Current-Limiting Practices

LEDs may need current-limiting protection.  Otherwise: they will fail early, irreversibly change color, or fail immediately.  The simplest form of protection is a resistor in series with one or more LEDs (each arranged in series).  Advanced designs may use an LED driver chip to accomplish the same.

In either case, the LED conducts a forward current (ID).  This causes a forward voltage drop (VD) across the LED’s anode and cathode.  The equation below can approximate the relationship between ID and VD , however parameters IS and η are unspecified in LED datasheets.  The LED manufacturer will most often express the ID – VD relationship as a chart instead…

I_D=I_s\left(e^{\left(\frac{qV_D}{\eta k_BT}\right)}-1\right)

Where:

  • ID is the estimated forward current (unit: A)
  • IS is the saturation current (expect about 10-12 A to 10-18 A for an LED)
  • q is the elemental charge (approximately: 1.602 x 10-19 C)
  • VD is the diode forward voltage drop (unit: V)
  • η is the ideality factor (expect 2 < η < 8 for white LEDs) (unitless)
  • kB is the Boltzmann constant (1.380649 x 10-23 J·K-1)
  • T is the absolute temperature of the diode junction (unit: °K)

LED Color vs. Forward Voltage

Even if the LED package is already tinted a specific color, the color of the emitted light is controlled by the LEDs semiconductor and its temperature.  Generally, the shorter wavelengths are associated with larger forward voltages…

COLORWAVELENGTHFORWARD VOLTAGE
Near infrared1400 ~ 750 nm0.7 to 1.2 V
Red750 ~ 620 nm1.6 to 2.4 V
Orange620 ~ 590 nm1.8 to 2.2 V
Yellow590 ~ 570 nm1.6 to 2.8 V
Green570 ~ 495 nm1.8 to 2.8 V
Blue495 ~450 nm2.8 to 3.2 V
Ultraviolet C (germicidal LED)255 ~ 275 nm5.0 ~ 7.2 V
Table 1: Approximate Relationship Between Color, Wavelength, and LED Forward Voltage (at Test Current)

As of the early 21st century, many white LEDs are actually blue LEDs with additional materials that emit yellow light.  These blue-yellow emissions mix in the human eye to fool human vision into perceiving white light.

White LEDs will be covered in part 2 of this series.

Important Notice: This article and its contents (the “Information”) belong to Unboxing-tomorrow.com and Voxidyne Media LLC. No license is granted for the use of it other than for information purposes. No license of any intellectual property rights is granted.  The Information is subject to change without notice. The Information supplied is believed to be accurate, but Voxidyne Media LLC assumes no responsibility for its accuracy or completeness, any error in or omission from it or for any use made of it.  Liability for loss or damage resulting from any reliance on the Information or use of it (including liability resulting from negligence or where Voxidyne Media LLC was aware of the possibility of such loss or damage arising) is excluded.