Hi Mentees! I welcome you on the behalf of The Engineering Projects. We are working on the series of blogs that contain a useful information about almost all the topics related to the Digital Logic designs. Today we’ll learnt about the Multiplexer. Let’s look about the blog in a glance:
- What are Multiplexers?
- What are the types of Multiplexers?
- What are the two input Multiplexers?
- How can we simulate the Circuit of 2 to 2 MUX in Proteus ISIS?
- How can we use the 2 to 1 MUX as OR, AND and NOT gates?
A Multiplexer is in important circuit and we define the Multiplexer as:
“A multiplexer is Logical Combinational Device that contain many inputs but it has the functionality to choose one of the required inputs to work on it and show the output to the user. The inputs may be digital or analogue“
The output of Multiplexer is depends upon the control or select input. The numbers of input lines are taken on the basis of the following formula:
Number of selection Lines= 2^n
where n is the numbers of numbers of inputs.
DID YOU KNOW??????????
A Multiplexer is also called Data Selector, universal Logic, Many to one Logic or parallel to serial convertor because it has the ability to select from numbers of inputs. It can be shortened as MUX or MPX.
Types of Multiplexers
Basically, we divide the multiplexers into two main types:
- Digital Multiplexers.
- Analog Multiplexers.
These two types are further classified into other types such as:
- Frequency Division Multiplexer.
- Time Division Multiplexer.
- Wavelength Division Multiplexer.
We have discussed its types in our Lecture.
As the name justifies, the 2 to 1 Multiplexer is the one where we have two inputs and only one output. Let’s find what are 2:1 MUX.
” The kind of Multiplexer or MUX that contains two inputs, one Selector and one Output is called 2-to-1 MUX or multiplexer. The inputs are usually named as D0 and D1, the selector is termed as S and the output is called Y.”
You can change the names of the inputs and output according to your choice.
Truth Table of 2-to-1 MUX
As we have discussed earlier, the inputs of Multiplexer depends upon a Selector S. therefore, when we design a Truth Table, we include a Selector also in it.
While designing a 2-to-1 MUX, we follow the expression given below:
Y=D0S’ + D1S
Considering the expression above we get the Truth Table of 2-to-1 Multiplexer as follow:
On the basis of above discussion, I am going to Produce a 2-into-1 MUX in Proteus ISIS.
Implementing 2-to-1 Multiplexer in Proteus ISIS
To Design a 2-to-1 Multiplexer, we need the following material:
- AND Gate
- OR Gate
- NOT Gate
- Logic Toggle
- Ground Terminal
- Grab the required Material from the Pick Library one after the other by Pressing a “P” button present at the screen.
- Hit and hold the Name of the chosen Logic Gates one by one and arrange them at the screen according to the given image:
- Get Three Logic Toggles and set them just before the Logic Gates.
- Arrange an LED below the OR Gate’s output.
- To have a ground Terminal, left click the mouse >Go to Place>Terminal>Ground.
- Join all the Components according to given image below:
- Pop the Play button just at the left corner of the screen and change the input.
NOTE: If your circuit shows the error of duplication, Simply change the names of gate by double clicking them and give them the desired name.
One can Use the 2-into-1 Multiplexer as the other Logic Gates. We discuss the usage of 2-into-1 MUX for the following Gates:
- AND Gate
- OR Gate
- NOT Gate
Let’s have a detailed way to use the 2-to-1 Multiplexer in the following way.
Implementing OR Gate through 2-to-1 Multiplexer in Proteus ISIS
The MUX Can easily be used to implement Basic Logic Gate. But before that Recall that what is an OR Gate.
“An OR Gate is a two input Logical Gate that give the output LOW only when both the outputs are LOW.”
Procedure for the conversion of 2-to-1 Multiplexer into OR Gate
- Fix the value of D0 to 1 all the time.
- Change the Value of the S and D2 according to the Truth Table given below and match the result.
Notice that the value of output is equals to the AND Gate.
Implementing AND Gate through 2-to-1 MUX in Proteus ISIS
Recall the definition of AND Gate:
” The AND Gate is the one that consist of two inputs and gives the input HIGH only when both the Inputs are HIGH.”
Follow the simple steps to use 2-to 1 MUX as an AND Gate.
Steps to use 2-into-1 MUX as AND Gate
- Set the value of D0 as 1.
- Change the values of S and D0 according to table and record your observations.
You can clearly see that the output is same as the AND Gate hence, you can use it as AND Gate.
NOT Gate through 2 to 1 MUX
Prior to start, Let’s refresh the definition of NOT Gate in our minds:
“The NOT Gate is a 1 input invertor Logic Gate that gives the output 1 when input is zero and vice versa.”
To use the 2 to 1 MUX as NOT Gate, just follow the steps:
- Set the D0 input as 0.
- Set D1 as 1.
- Change the value of S as 1 and zero one after the other.
- You will Observe that when S=1 the output is 0 and vice versa.
- Hence this is our required result.
You can check our website for the XNOR, XOR and NOR Gate from 2 to 1 MUX in our Tutorials.
Consequently, today we leaned interesting Circuits. We saw what are 2 to 1 Multiplexers. We made a circuit of the 2 to 1 MUX and from the circuit, we found how can we use them as OR, AND and NOT logic Gates along with the truth tables of each.