BCD To 7-Segment Display Decoder
BCD To 7-Segment Display Decoder
Typically 7-segment displays consist of seven individual coloured LEDs (called the segments),
within one single display package. In order to produce the required numbers or HEX characters
from 0 to 9 and A to F respectively, on the display the correct combination of LED segments need
to be illuminated and BCD to 7-segment Display Decoders such as the 74LS47 do just that.
A standard 7-segment LED display generally has 8 input connections, one for each LED segment
and one that acts as a common terminal or connection for all the internal display segments. Some
single displays have also have an additional input pin to display a decimal point in their lower
right or left hand corner.
In electronics there are two important types of 7-segment LED digital display.
1. The Common Cathode Display (CCD) In the common cathode display, all the cathode
connections of the LEDs are joined together to logic 0 or ground. The individual segments are
illuminated by application of a HIGH, logic 1 signal to the individual Anode terminals.
2. The Common Anode Display (CAD) In the common anode display, all the anode connections
of the LEDs are joined together to logic 1 and the individual segments are illuminated by
connecting the individual Cathode terminals to a LOW, logic 0 signal.
Electrical connection of the individual diodes for a common cathode display and a common
anode display and by illuminating each light emitting diode individually, they can be made to
display a variety of numbers or characters.
So in order to display the number 3 for example, segments a, b, c, d and g would need to be
illuminated. If we wanted to display a different number or letter then a different set of segments
would need to be illuminated. Then for a 7-segment display, we can produce a truth table giving
the segments that need to be illuminated in order to produce the required character as shown
below.
It can be seen that to display any single digit number from 0 to 9 in binary or letters
from A to F in hexadecimal, we would require 7 separate segment connections plus one
additional connection for the LEDs common connection. Also as the segments are basically a
standard light emitting diode, the driving circuit would need to produce up to 20mA of current to
illuminate each individual segment and to display the number 8, all 7 segments would need to be
lit resulting a total current of nearly 140mA, (8 x 20mA).
Obviously, the use of so many connections and power consumption is impractical for some
electronic or microprocessor based circuits and so in order to reduce the number of signal lines
required to drive just one single display, display decoders such as the BCD to 7-Segment Display
Decoder and Driver ICs are used instead.
The use of packed BCD allows two BCD digits to be stored within a single byte (8-bits) of data,
allowing a single data byte to hold a BCD number in the range of 00 to 99.
An example of the 4-bit BCD input ( 0100 ) representing the number 4 is given below.
In practice current limiting resistors of about 150 to 220 would be connected in series
between the decoder/driver chip and each LED display segment to limit the maximum current
flow. There are different display decoders and drivers available for the different types of
available displays, either LED or LCD. For example, the 74LS48 for common-cathode LED
types, the 74LS47 for common-anode LED types, or the CMOS CD4543 for liquid crystal
display (LCD) types.
Liquid crystal displays (LCDs) have one major advantage over similar LED types in that they
consume much less power and nowadays, both LCD and LED displays are combined together to
form larger Dot-Matrix Alphanumeric type displays which can show letters and characters as
well as numbers in standard Red or Tri-colour outputs.