You are on page 1of 7

Lab Report No: 07

Course Code: CSE-224


Course Title: Digital Electronics Lab
Experiment Name: Design and implementation Encoder and
Decoder.

Submitted to
Md. Toukirul Hassan, Lecturer
Department of CSE
Daffodil International University.

Submitted By
Mehedi Firoz
ID: 191-15-2475
PC-F
Department of CSE
Daffodil International University
Date: 30-07-2020.
Experiment No: 07

Experiment Name: Design and implementation Encoder and


Decoder.

Theory: An Encoder is a combinational circuit that performs the


reverse operation of Decoder. It has maximum of 2^n input
lines and ‘n’ output lines, hence it encodes the information from 2^n
inputs into an n-bit code. It will produce a binary code equivalent to
the input, which is active High. Therefore, the encoder encodes 2^n
input lines with ‘n’ bits. A digital or binary decoder is a digital
combinational logic circuit which can convert one form of digital code
into another form. BCD to 7-segment display decoder is a special
decoder which can convert binary coded decimals into another form
which can be easily displayed through a 7-segment display

Components:
1.Various type of IC- 6. Switch.
7404(NOT), 7408(AND), 7432(OR) 7. Wire etc.
2. Breadboard Board.
3. LED light.
4. Resistor.
5. Power supply
Figure of circuit:
Screenshot from Simulator:
Encoder:

Decoder:
Procedure:

Step 1: Install the components of onto the breadboard of AT-700


and properly link the
connections. Use two 2-input AND gates to implement a 3-input
AND gate. Remember to connect
each IC’s pin 14 to “+5V” of DC power supply of AT-700 and pin
7 to “GND”.

Step 2: Connect the Data switches “0”, “1” and “2” to points En,
w0 and w1
respectively. Then connect 8 bit LED Display’s “0”, “1”, “2” and
“3” to the points Y0, Y1, Y2 and Y3 of
respectively.

Step 3: Change Data Switches “0”, “1” and “2” between “0” and
“1” position and observe the
situation of 8 bit LED Display “0”, “1”, “2” and “3”. The LED is
light that indicates the output is in the
logic 1 condition. When LED is dark, it indicates that the output
is in the logic 0 condition.

Step 4: Install the components of onto the breadboard of AT-700


and properly link the
connections. Remember to connect each IC’s pin 14 to “+5V” of
DC power supply of AT-700 and pin
7 to “GND”.

Step 5: Connect the Data switches “0”, “1”, ”2” and “3” to points
w0, w1, w2 and w3 of fig.
respectively. Then connect 8 bit LED Display’s “0” and “1” to the
points Y0 and Y1
respectively.

Step 6: Change Data Switches “0”, “1”, “2” and “3” between “0”
and “1” position and observe the
situation of 8 bit LED Display “0” and “1”. The LED is light that
indicates the output is in the logic 1
condition. When LED is dark, it indicates that the output is in the
logic 0 condition.

Result:
We can see that the circuit of the simulator shows same values of
truth table

Observation:
Circuit should be connected carefully according to the pin configuration. We
should use 5 volts as supply voltage otherwise the glow of LED can’t be
detected.

You might also like