Multiplexed display – the basics

One multiplexed LED switched on.

Multiplexing is a technique used to connect devices – typically LEDs (for displays) or buttons (for keyboards) – in a matrix of addressable rows and columns. The advantage is simplification of hardware due to the reduced number of pins required. Multiplexed displays using seven-segment LEDs remain popular due to low cost and high brightness.

Multiplexed LED display.
Figure 1. An LED matrix display. Each LED can be turned on individually by closing the appropriate row and column switches. In practice some form of current limiting is required.
One multiplexed LED switched on.
Figure 2. By closing switches 2 and 6 we can turn on LED 7 alone. Current flows through (1), (2) and (3).

A practical circuit uses tranistorised switches. Each row is switched on in sequence (S1, then S2 and then S3) and the corresponding switches S4, 5, 6 and 7 closed in synch to switch on the desired LEDs. To fool the eye into seeing a continuous display the sequencing is typically done at more than 50 times per second.

In the example of Figure 1, only seven lines are required to switch twelve LEDs. The pin-count saving increases with larger displays as the pin-count (for a square matrix) is the square root of the number of LEDs. This reduces the pins required on the controller, reducing cost and circuit board complexity.

Since the LEDs are now on for only a fraction of the time it is necessary to pulse them with higher current. See LED current rating for more details.

Sneak paths

Multiplexed LEDs 3 x 2 sneak paths
Figure 3. If reverse currents are possible through the LEDs then unexpected problems can result.

Figure 3 shows a problem that can occur on higher voltage supplies if reverse current flow is possible. (This can happen on keyboard matrices if diodes are not used to prevent it.) In this case we might expect that with S2 and S4 closed that only L5 will light. There are, however, sneak paths as shown in blue on the diagram and ghosting may appear on other LEDs. With non bi-directional LEDs this will not be a problem.

Alphanumeric multiplexed display

A multiplexed seven-segment LED display.
A six-character sixteen-segment alpha-numeric display and two-digit seven-segment multiplexed LED display on a DigiTech RP335 guitar effects unit. Exposure time 1/15 s.
Multiplexed LED alpha-character display photographed at high speed.
A 1/2000 s photo of the same display catches the alpha character ‘N’ lit up on one of the sixteen-segment displays.
Multiplexed seven-segment LED display pair photographed at high speed.
Another 1/2000 s shot of the same display catches the two seven-segment numeric displays lit simultaneously.

The fact that the two 7-segment displays are on simultaneously suggests that these displays are wired in seven “columns” (six for the alpha displays and one for the pair of digits) and sixteen “rows” (one per starburst segment). The alpha characters require sixteen data lines so it makes sense to connect the two seven-segment displays to fourteen of these and strobe them all at once.

This video demonstrates the multiplexing display using a video camera under varying background illumination.

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