B 7 Segment Display Decoder
B 7 Segment Display Decoder
AIM:
To Construct 7 Segment Display Circuit Using Decoder and 7 Segment LED
and test it.
APPARATUS:
THEORY:
Step 1: The first step of the design involves analysis of the common cathode 7-
segment display. A 7-segment display consists of an arrangement of LEDs in an ‘H’
form. A truth table is constructed with the combination of inputs for each decimal
number. For example, decimal number 1 would command a combination of b and c (refer
the diagram given below).
Step 2: The second step involves constructing the truth table listing the 7 display input
signals, decimal number and corresponding 4 digit binary numbers.
The truth table for the decoder design depends on the type of 7-segment display. As we
mentioned above that for a common cathode seven-segment display, the output of
decoder or segment driver must be active high in order to glow the segment.
78
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
The figure below shows the truth table of a BCD to seven-segment decoder with
common cathode display. In the truth table , there are 7 different output columns
corresponding to each of the 7 segments.
Suppose the column for segment a shows the different combinations for which it is to be
illuminated. So ‘a’ is active for the digits 0, 2, 3, 5, 6, 7, 8 and 9.
Table 1 Truth Table for 7-segment display
From the above truth table, the Boolean expressions of each output functions can be
written as
a = F1 (A, B, C, D) = ∑m (0, 2, 3, 5, 7, 8, 9)
b = F2 (A, B, C, D) = ∑m (0, 1, 2, 3, 4, 7, 8, 9)
c = F3 (A, B, C, D) = ∑m (0, 1, 3, 4, 5, 6, 7, 8, 9)
d = F4 (A, B, C, D) = ∑m (0, 2, 3, 5, 6, 8)
e = F5 (A, B, C, D) = ∑m (0, 2, 6, 8)
f = F6 (A, B, C, D) = ∑m (0, 4, 5, 6, 8, 9)
g = F7 (A, B, C, D) = ∑m (2, 3, 4, 5, 6, 8, 9)
79
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
Step 3: The third step involves constructing the Karnaugh’s map for each output term
and then simplifying them to obtain a logic combination of inputs for each output.
K-Map Simplification
The below figures shows the k-map simplification for the common cathode seven-
segment decoder in order to design the combinational circuit.
80
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
Step 4: The final step involves drawing a combinational logic circuit for each output
signal. Once the task was accomplished, a combinational logic circuit can be drawn
using 4 inputs (A,B,C,D)and a 7- segment display (a,b,c,d,e,f,g) as output.
81
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
CIRCUIT DIAGRAM:
Fig 12.b.4 Pin Diagram of IC74LS47 and pin connections of 7 segment display
82
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
PROCEDURE:
1. +5V DC is applied at Vcc (pin no 16) of each IC w.r.t ground (pin no8).
2. I/Ps are applied (at pin no’s l,2,6 and 7) and output is taken from (pin no 9 to
15).
3. I/P’s are applied from toggle switches and o/p is observed at o/p indicators.
83
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
PRECAUTIONS:
1. The open circuit voltage of the power supply must be stable and close to
5V.
2. Correct components should be connected on the bread board with proper
polarities.
3. A multimeter reading greater than VDD indicates an open connection in the
circuit. Verify the circuit before proceeding.
4. Use multimeter probe tip to gently ease the IC out of breadboard. The mid-
section groove of the breadboard can be used to gently lift the IC. Using
bare hands might cause IC pins to break.
5. In case the logic gate outputs do not make sense, check your circuit
thoroughly. If the problem is still not resolved, get the IC tested by the
technician.
84
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21
DIET-Dept of ECE 7 Segment Display
RESULT:
……………………………………………
Signature of the Course coordinator
VIVA QUESTIONS
1) What are applications of Seven Segment Decoder?
2) Explain about BCD Code.
3) What is the logic expression for ‘a’?
4) What is the logic expression for ‘c’?
5) What is the logic expression for ‘d’?
*****
85
Switching Theory and Logic Design Lab II B.Tech ECE, I Semester AY:2020-21