Interfacing of 8051 With 7 Segment Display
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
Refer the table given below to know the hex values for displaying a
specific number on the 7 segment display during the simulation.