Name-Rohan Nain Roll No.-2020102023 Group 4 Lab Report-3: Part 1 - Multiplexer

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Name-Rohan Nain

Roll no.- 2020102023


Group 4
Lab Report-3
Objective: To design a Multiplexer, Demultiplexer and then verify them by connecting them
together.

Components Used:- 1. Arduino 2.Breadboard 3. Serial Monitor 4. Led’s, Resistors 5. Logic


Gates:- And-74HC11, Or-74HC32, NOT gate: 74HC04(Hex Inverter)

PART 1 – MULTIPLEXER

Procedure:- 1. Take input form input lines(using serial monitor ) I0-Blue(Pin-1) I2-Red(Pin-3)
I1-Purple(Pin-2) I3-Turquoise Blue(Pin-4)

2. Connect the circuit using following truth table using logic gates.
S1(Pin-7) S0(Pin-6) Y

0 0 I0

0 1 I1

1 0 I2

1 1 I3

Observation:-
S1(Pin-7) S0(Pin-6) Output(LED)
0 0 I0

0 1 I1

1 0 I2

1 1 I3

When the Output is I0 then whatever is the state of I0 according the led glows. Similarly for others.

Conclusion:- Multiplexer is successfully selecting lines.

LINK:-
PART 2 – DEMULTIPLEXER

Procedure:- 1. Write an Arduino code to give different combinations of inputs and select
lines and view them using LEDs at the output lines. 2. Verify the demultiplexer function by tabulating
the values of the output(s) for all input combinations 3.Use Serial monitor to give inputs to the
Arduino

S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 1

0 1 0 0 I 0

1 0 0 I 0 0

1 1 I 0 0 0

OBSERVATION:- Led glows if the output is 1. Led does not glows if output is 0. Truth table
observed for Demultipelexer:-
S1(Pin S0(Pin LED3 LED2 LED1 LED0
13) 12)
0 0 0 0 0 1

0 1 0 0 I 0

1 0 0 I 0 0

1 1 I 0 0 0

Conclusion:- The Truth Table for Demultipelxer is verified through this experiment
Link:
PART-3 :Assemble and test circuits designed
in Parts A and B

Procedure:- 1. Write a program to give different to mux and Demux 1. Connect VCC and
GND of both mux and demux to 5V and gnd pin . 2. Connect 4 output pins from to the input of mux
and give output of mux to the demux input. 3. Connect output of demux to 4 led’s corresponding to
I0,I1,I2,I3 as given in the diagram.

Observation:- Led glows if the output is 1. Led does not glows if output is 0.

Truth Table observed :-


S1(Pin S0(Pin LED3 LED2 LED1 LED0
13) 12)
0 0 0 0 0 1

0 1 0 0 I 0

1 0 0 I 0 0

1 1 I 0 0 0

Conclusion:- Hence Working of mux and demux is verified.

You might also like