# Light-emitting diode

(Difference between revisions)

A light emitting diode is the most popular kind of optoelectronics.

To make the LED light up, you need a power supply (any voltage) and a resistor.

The resistance required is as follows: R = (U_power - U_led) / I_max

Example: a LED with voltage drop of Uled=1.2V and a max current of I_max=0,020A (20mA) to be powered by a 5V DC source needs:

R = (5-1.2)/.02 = 190 ohm

You then connect a 190 ohm resistance in series with the LED to make it work.

##  throwies

Several other wiki discuss how to turn LEDs into "throwies"(little blinking LED devices that attach to outdoor structures via magnets):

##  sensor

A few people use LEDs in an unusual way: as sensors.

##  light pipe

Many people want and blinking/glowing spot *here*, controlled by a nearby circuit board *there*. One approach is to put a LED directly on the circuit board *there*, and guide the light from that LED to *here* using a light pipe.

Some commercial off-the-shelf light pipes; and some tips on building custom light pipes from transparent acrylic, aluminum foil, or 3D printed materials:

• "LED light pipes" [1]
• "LED light pipes" [2]
• "Build Your Own Light Pipe" [3]
• "3D printed light pipes" [4]
• "3D Printing Light Pipes" [5]
• "Using t-glase for Light-Pipes" [6]
• "Light Guide Techniques" [7]
• "Optical light pipes" [8]
• "Light Pipe Selector Guide" [9]
• "LED light pipes" [10]

##  5.0v - 3.3V voltage drop via red LED

The average red LED has a 1.7V voltage drop. This property can be (ab)used to power very small 3.3V IC's from a 5.0V power supply -- put the LED in series with the 5V line. There probably won't be enough power used to light the LED properly, but this does not matter for the voltage drop property.