Decoders Lab Task
Decoders Lab Task
Equipment Required
IC’s as required
Logic Trainer
Multimeter
Cutter
Single Core Wire
Tweezer
Pair of Pliers
Theory
Decoders are used to translate information from one form to another form. A decoder is a
combinational circuit that converts binary information from n-input lines to a maximum of 2n
unique output line. If the n-bit coded information has unused combinations, the decoder may
have fewer than 2n outputs. The decoder presented here are called n-to-m-line decoders,
where m < = 2n, their purpose is to generate the 2n (or fewer) min-terms of n input variables.
The name decoder is also used in conjunction with other code converters such as BCD-to-
seven-segment decoder.
2 4 line decoder has two input lines, four output lines and may or may not have enable
lines. For each possible input combination, there are three outputs that are equal to 0 and only
one that is equal to 1. The output whose value is 1 represents the minterm equivalent of the
binary number presently available in the input lines. Hence decoders are also called min-term
generators. As decoder can implement more than one function easily.
Diagram
2 inputs 4 Outputs
2 4 Decoder
Procedure
1. Use the pre- lab for Boolean expression and make the connections.
2. Connect the Digital Logic Trainer to 220V Ac power supply
3. Turn on the trainer and verify the voltage of the power supply using the multi-meter.
It should be exactly +5V.
4. Insert the required IC’s on the trainer’s breadboard.
5. Select the logic switches for the Inputs and mark them carefully.
6. Select the LED’s for output mark it carefully.
7. Connect Vcc (of all IC’s) to +5V available in the trainer.
8. Connect GND (of all IC’s) to ground available in the trainer.
9. Now turn on the power.
10. Proceed in a sequential order to complete the whole Functional Table given below.
11. Note down all outputs carefully.
Functional Table
Complete the table given below carefully by examining and carrying out the operations
mentioned in the theory.
Inputs Outputs
I1 I0 D0 D1 D2 D3
0 0
0 1
1 0
1 1
In Case of Trouble
Conclusion
Exercise
1. Add an enable line for 2 4 decoder. Write the name of enable line.
2. Draw the block diagram of 2 4 decoder. Mention all inputs, outputs and enable line
clearly.
D0 =
D1 =
D2 =
D3 =
IC 74LS138
Logic Trainer
Multimeter
Cutter
Single Core Wire
Tweezer
Pair of Pliers
Theory
Decoders are used to translate information from one form to another form. A decoder is a
combinational circuit that converts binary information from n-input lines to a maximum of 2n
unique output line. If the n-bit coded information has unused combinations, the decoder may
have fewer than 2n outputs. The decoder presented here are called n-to-m-line decoders,
where m < = 2n, their purpose is to generate the 2n (or fewer) min-terms of n input variables.
The name decoder is also used in conjunction with other code converters such as BCD-to-
seven-segment decoder.
3 8 line decoder has three input lines, eight output lines and may or may not have enable
lines. For each possible input combination, there are seven outputs that are equal to 0 and
only one that is equal to 1. The output whose value is 1 represents the minterm equivalent of
the binary number presently available in the input lines. Hence decoders are also called min-
term generators. As decoder can implement more than one function easily.
Diagram
8 Outputs
3 inputs
3 8 Decoder
Logic Diagram
1. Use the pre- lab for Boolean expression and make the connections.
2. Connect the Digital Logic Trainer to 220V Ac power supply
3. Turn on the trainer and verify the voltage of the power supply using the multi-meter.
It should be exactly +5V.
4. Insert the required IC’s on the trainer’s breadboard.
5. Select the logic switches for the Inputs and mark them carefully.
6. Select the LED’s for output mark it carefully.
7. Connect Vcc (of all IC’s) to +5V available in the trainer.
8. Connect GND (of all IC’s) to ground available in the trainer.
9. Now turn on the power.
10. Proceed in a sequential order to complete the whole Functional Table given below.
11. Note down all outputs carefully.
Functional Table
Complete the table given below carefully by examining and carrying out the operations
mentioned in the theory.
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 1 1
Conclusion
PRE LAB - EXPERIMENT NO. 2: 3-LINE-TO-8-LINE
DECODER
NOTE
Obtain data sheet of all the IC’s required in the Lab from Lab Staff
Exercise
1. Draw the pin diagram of 3 8 decoder. Mention all inputs, outputs and enable line
clearly.
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 1 1
D1 =
D2 =
D3 =
D4 =
D5 =
D6 =
D7 =
4. Draw the logic diagram of 3 8 Decoder.
Equipment Required
IC 7447 / IC 7448
Seven Segment Display
Logic Trainer
Multimeter
Cutter
Single Core Wire
Tweezer
Pair of Pliers
Theory
A seven-segment is used for displaying any one of the decimal digits 0 through 9. Usually the
decimal digit is available in BCD. A BCD to seven segment decoder accepts a decimal digit
in BCD and generate the corresponding seven-segment code.
The IC 7447 is a BCD to seven segment decoder/driver. It has four inputs for the BCD digit.
The 4-bit BCD digit is converted to a seven segment code with outputs a through g. The
outputs of the 7447 is applied to the inputs of seven segment display.
The seven segment display IC contains the seven LED (light emitting diode) segments on top
of the package. A 47 ohm resistor to Vcc is needed in order to supply the proper current to
the selected LED’s segments.
Different seven segment display may have different things. So it is mentioned to consult the
particular details of all the IC’s to be used.
Diagram
Figure 9-1-2: (a) Segment designation (b) Numeric designation for display.
Table 9-1-1: Truth table for BCD to seven segment decoder
Procedure
NOTE
Inputs 1010 through 1111 have no meaning in BCD. Depending upon the decoder, these
values may cause either a blank or meaningless pattern or as mentioned in the data sheets.
Observe and record the output displayed patterns of the six unused input combinations.
In Case of Trouble
Conclusion
1. Draw the block diagram of a BCD to seven-segment-decoder. Mention all input lines
and output lines clearly.
3. Draw the Karnaugh Map and write Boolean expression for output a.
4. Draw the Karnaugh Map and write Boolean expression for output b.
5. Draw the Karnaugh Map and write Boolean expression for output c.
6. Draw the Karnaugh Map and write Boolean expression for output d.
7. Draw the Karnaugh Map and write Boolean expression for output e.
8. Draw the Karnaugh Map and write Boolean expression for output f.
9. Draw the Karnaugh Map and write Boolean expression for output g.
SECTION B: IC 7447
Exercise
5. What do understand by the term common cathode type seven segment indicator?
6. How will you make connections of seven segment of common cathode type? Draw
the figure.
7. What do understand by the term common anode type seven segment indicator?
8. How will you make connections of seven segment of common anode type? Draw the
figure.