LED pinouts – 2, 3, 4-pin and more

Most LEDs are simple single device with two leads but packages with two or more LEDs are common and there are various LED pinouts in use.

Simple LED test circuit

Simple LED test circuit.
Simple LED test circuit. ‘LUT’ stands for ‘LED under test’!

Most LEDs will light at less than 5 V and can tolerate 5 V reverse voltage. A 5 V supply is available from a USB supply or, for example, an Arduino.  You can use a higher voltage such as a 9 V battery and double the value of R1 but you might damage sensitive devices on reverse voltage.

See Testing unknown LEDs for more on this topic.

Note that LEDs usually have no two pins the same length. This is for two reasons:

  1. It helps identify the pins.
  2. It helps during assembly as pins can be inserted one at a time from longest to shortest without having to align all the pins simultaneously.

2-pin

The most common type of LED is the 2-pin, 5 mm, round lens type. Generally these are a single LED. Polarity is indicated by the long lead (+ / anode) or the flat on one side of the base (- / cathode).

2-pin LED.
A typical 2-pin LED.
led-2-pin-variations
The two-pin package can contain a single or two back-to back LEDs.

Be aware that bi-colour LEDs are also sold in this package. Some are dual-colour so that reversing the current through them changes the colour. Others may have both LEDs the same colour and this can be useful in AC applications as it can conduct on both cycles of the mains and eliminates the need for a rectifier.

The bi-colour LED’s datasheet will specify which way round to connect to ensure the correct colour.

3-pin

3-pin-bi-colour-green-red-5mm
A 3-pin LED.

The three-pin LED is usually a pair of LEDs of different colours sharing a common anode or common cathode. Either LED can be turned on independently or blended to create a combination.

A bi-colour 3-pin LED.
A bi-colour, 3-pin, common-cathode LED.

4-pin

RGB LED.
The popular RGB, 4-pin, LED allows generation of colours across the visible spectrum.

The 4-pin package is most commonly seen on RGB (red-greeen-blue) LEDs. Common cathode and common anode versions are available.

led-4-pin
An RGB LED in a 4-pin package. Note that this one has a common cathode.

6-pin

full-colour-rgb-6-pin

RGB 6-pin LED.
RGB with individual pinouts allows common anode, common cathode configuration as well as series connection of the LEDs.

When the number of pins reaches six all sorts of strange variations are possible. One sensible one is to bring out each LED anode and cathode on individual pins. This allows a single part to be used for common anode, common cathode and series LED configurations.

A slightly strange 6-pin, RB-GB, LED, has two separate 3-pin LEDs in one package.

RB-GB LED package.
This package consists of a red-blue pair and a green-blue pair in one package. Note two, independent common cathodes.
rgb-6-pin-pinout
Kingbright LF5WAEMBGMBW, 6-pin, RB-GB LED has two 3-pin LEDs in one package. Both have a blue LED. Note the pin length orientation clue.
Please link to us if you find the information helpful ...<br>Tweet about this on Twitter
Twitter
Share on Facebook
Facebook
Pin on Pinterest
Pinterest
Digg this
Digg
Share on LinkedIn
Linkedin
Share on Reddit
Reddit
Share on StumbleUpon
StumbleUpon
Share on Tumblr
Tumblr