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

Interfacing of 8051 With 7 Segment Display

This document discusses interfacing an 8051 microcontroller with a 7-segment display. It describes how a 7-segment display works by illuminating different LED segments to display numbers from 0 to 9. There are two types of 7-segment displays: common cathode and common anode. In common cathode displays, the cathode connections are joined to ground and segments are illuminated by applying a logic 1 to the anodes. In common anode displays, the anode connections are joined to logic 1 and segments are illuminated by applying ground to the cathodes. The document provides images showing which LED segments are used to display each number and includes a table of hex values for displaying numbers during simulation.

Uploaded by

sayali
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
223 views

Interfacing of 8051 With 7 Segment Display

This document discusses interfacing an 8051 microcontroller with a 7-segment display. It describes how a 7-segment display works by illuminating different LED segments to display numbers from 0 to 9. There are two types of 7-segment displays: common cathode and common anode. In common cathode displays, the cathode connections are joined to ground and segments are illuminated by applying a logic 1 to the anodes. In common anode displays, the anode connections are joined to logic 1 and segments are illuminated by applying ground to the cathodes. The document provides images showing which LED segments are used to display each number and includes a table of hex values for displaying numbers during simulation.

Uploaded by

sayali
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Interfacing of 8051 with 7 segment display

Theory –
The 7-segment display consists of seven LEDs arranged in a rectangular
fashion. Each of the seven LEDs is called a segment because when
illuminated the segment forms part of a numerical digit (both Decimal and
Hex) to be displayed. An additional 8th LED is sometimes used within the
same package which is the indication of a decimal point(DP), when two or
more 7-segment displays are connected together numbers greater than ten
can be displayed.
So by forward biasing the appropriate pins of the LED segments in a
particular order, some segments will be glowing and others will remain as it
is, allowing the desired character pattern of the number to be generated on
the display. This then allows us to display each of the ten decimal digits 0
to 9 on the same 7-segment display.
Now accordingly terminals are taken common, so there are two types of
display:
1. Common Cathode display
2. Common Anode display

1. The Common Cathode (CC) –


In the common cathode display, all the cathode connections of the LED
segments are joined together to logic “0” or ground. The individual
segments are illuminated by application of a “HIGH”, or logic “1” signal via
a current limiting resistor to forward bias the individual Anode terminals (a-
g).
Image source : www.electronics-tutorials.ws
2. The Common Anode (CA) –
In the common anode display, all the anode connections of the LED
segments are joined together to logic “1”. The individual segments are
illuminated by applying a ground, logic “0” or “LOW” signal via a current
limiting resistor to the Cathode of the particular segment (a-g).
Image source : www.electronics-tutorials.ws
In general, common anode displays are more popular as many logic
circuits can sink more current than they can source. Also note that a
common cathode display is not a direct replacement in a circuit for a
common anode display and vice versa, as it is the same as connecting the
LEDs in reverse, and hence light emission will not take place.
Depending upon the decimal digit to be displayed, the particular set of
LEDs is forward biased. For instance, to display the numerical digit 0, we
will need to light up six of the LED segments corresponding to a, b, c, d, e
and f. Then the various digits from 0 through 9 can be displayed using a 7-
segment display as shown below.
Image source : www.electronics-tutorials.ws

Refer the table given below to know the hex values for displaying a
specific number on the 7 segment display during the simulation.

Image source : aimagin.com

You might also like