0% found this document useful (0 votes)
0 views

4.8 LED Display

The document discusses LED displays, focusing on the 7-segment display, which is commonly used due to its low cost and ease of interfacing. It explains the two types of 7-segment displays: common anode and common cathode, detailing their connection to microprocessors. Additionally, it provides information on how to control the display using BCD codes and the logic required to illuminate the segments.

Uploaded by

KEERTHANA K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

4.8 LED Display

The document discusses LED displays, focusing on the 7-segment display, which is commonly used due to its low cost and ease of interfacing. It explains the two types of 7-segment displays: common anode and common cathode, detailing their connection to microprocessors. Additionally, it provides information on how to control the display using BCD codes and the logic required to illuminate the segments.

Uploaded by

KEERTHANA K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

SUBJECT CODE

TYPE THE SUBJECT NAME HERE

UNIT NO 4

4.8 LED DISPLAY

III V

20ESEC502
MICROPROCECSSORS AND MICROCONTROLLERS
20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

There are several technologies used to make these digit-oriented displays but we
are discussing only the two major types.

These are
light emitting diodes (LED) and
liquid-crystal displays (LCD).

Figure: 7-segment display


20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

5 by 7 dot-matrix displays such as that shown in below figures can be used.

Figure: 5*7 dot matrix display

The 7-segment type is the least expensive, most commonly used and easiest to interface with, so we
will concentrate on how to interface with this type.
20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

7-segment display, it is composed of 8 LEDs, 7 segments are arranged as a rectangle for symbol
displaying and there is an additional segment for decimal point displaying. In order to simplify
connecting, anodes and cathodes of all diodes are connected to the common pin so that there are
Common Anode displays.
Common Cathode displays.
Segments are marked with the letters from A to G, plus DP, as shown in the figure below. On
connecting, each diode is treated separately, which means that each must have its own current limiting
resistor.

.
20ESEC5021

MICROPROCESSORS AND MICROCONTROLLERS

7 – SEGMENT TYPES
There are two types of seven segment display available,
Common anode display and
Common cathode display

As far we know all the segments are LEDs. Basically LED have Anode & Cathode. In order to simplify
connecting, anodes and cathodes of all diodes are connected to the common pin.
❑In Common Anode display, anodes of the all LEDs are connected to Vcc, cathodes are connected
to microprocessor port pins via 8255.
❑In Common Cathode display, cathodes of the all LEDs are connected to Gnd, anodes are connected to
microprocessor port pins via 8255.

.
20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

7 – SEGMENT TYPES

DIODE DATA STATUS

COMMON CATHODE 1 ON

0 OFF

COMMON ANODE 0 ON

1 OFF

DISPLAY FORMAT
Let us consider Common Anode display to understand well, the following table represents the
connection format of the Common Anode display

D7 D6 D5 D4 D3 D2 D1 D0
DP G F E D C B A
.Logic ‘0' in the above format will turn ON that particular segment. Logic ‘1' will keep the segment OFF.
The data for turning ON the display is through 8255.
20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

7 – SEGMENT DISPLAY INTERFACING:


Here common anode seven segment display is used because the output current of the microprocessor
is not sufficient enough to drive the LED’s. The circuit diagram shows the connections of seven
segment to the processor. The pins ‘a’ to ‘g’ of the Seven Segment are connected to the Port B of the
microprocessor. The common pin of the seven segment is connected to Vcc.

.
20ESEC502

MICROPROCESSORS AND MICROCONTROLLERS

The 7447 converts a BCD code applied to its inputs to the pattern of lows required to display the
number represented by the BCD code. This circuit connection is referred to as a static display because
current is being passed through the display at all times.

Since the seven segment display works on negative logic, we will have to provide logic 0 to the
corresponding pin to make an LED glow. Table below shows the hex values used to display
the different digits.
DIGIT a b c d e f g HEX
Value
0 0 0 0 0 0 0 1 0x40
1 1 0 0 1 1 1 1 0xF9
2 0 0 1 0 0 1 0 0x24
3 0 0 0 0 1 1 0 0x30
4 1 0 0 1 1 0 0 0x19
5 0 1 0 0 1 0 0 0x12
6 0 1 0 0 0 0 0 0x02
7 0 0 0 1 1 1 1 0xF8
. 8 0 0 0 0 0 0 0 0x00
9 0 0 0 1 1 0 0 0x10

You might also like