DECODERS
DECODERS
DECODERS
SIII EE
DECODERS
INTRODUCTION TO DECODERS
• A decoder is a digital combinational logic circuit which can convert one
form of digital code into another form.
3
Introduction to Seven Segment Displays
Most often Seven-Segment Displays are used
to display the digits in digital watches,
calculators, clocks, measuring instruments and
digital counters, etc.
5
TYPES OF 7 SEG DSPLYS
• Common Cathode
• In such type of 7-segment display, all the cathodes of the 7 LEDs are
connected together to form a common terminal. It should be connected to
GND or logic ‘0’ during its operation.
• To illuminate any LED of this display, you need to supply logic ‘1’ to its
corresponding input pin.
• Common Anode
• In such type of 7-segment display, all the anode terminals of 7 LEDs are
connected together to form common anode terminal. This terminal should
be connected with Vcc or logic ‘1’ during its operation.
• To illuminate any LED of this display, you need to supply logic ‘0’ to its
corresponding input pin.
6
Common Cathode & Anode
Displays
7
7-Segments or 7 LEDs in a Display
8
Seven Segment Display
9
Table showing which segment must be ON to
display which number
10
BCD to 7-Segment Decoder IC & Pin outs
The commonly used IC for BCD to 7-segment decoding is 7447. The pin
configuration of 7447 is given in the figure below.
11
BCD to 7-Segment Decoder Circuit
BCD inputs
12
Encoders
• What are Encoders?
• Encoders are digital ICs used for encoding. By
encoding, we mean generating a digital binary
code for every input. An Encoder IC generally
consists of an Enable pin which is usually set
high to indicate the working. It consists of 2^n
input lines and n output lines with each input
line being represented by a code of zeros and
ones which are reflected at the output lines.
13
Decoders
• What are Decoders?
• Decoders are digital ICs which are used for
decoding. In other words, the decoders decrypt or
obtain the actual data from the received code, i.e.
convert the binary input at its input to a form, which
is reflected at its output. It consists of n input lines
and 2^n output lines. A decoder can be used to
obtain the required data from the code or can also be
used for obtaining the parallel data from the serial
data received.
14