Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Building Multiplexer and Demultiplexer using SN-7400 Series ICs – DE Part 16

By Hai Prasaath K August 17, 2018

In the previous tutorial, encoder and decoder circuits were built using SN-7400 series logic gate ICs. The multiplexer and demultiplexer are also combinational circuits similar to encoder and decoder. A multiplexer is a circuit that accepts many inputs and channelize digital data to only one output. The combinational circuit of a multiplexer is similar to encoder with only difference that the multiplexer has select inputs  that determine from which input the data should be channelized to the output. Like encoder, a multiplexer circuit can be built using AND, NOT and OR gates.

A demultiplexer functions exactly opposite of a multiplexer, i.e. a demultiplexer accepts only one input and channelize data to many outputs. The combinational circuit of demultiplexer is similar to decoder except that demultiplexer has select inputs that determine to which output line input binary data must be channelized. Like decoder, demultiplexer circuit can be built using AND gates and NOT gates.

The multiplexers are used in telephony, communication systems and computer memories. They are also used as parallel to serial data converters. The demultiplexers are used in communication systems, computers chips for connecting ALU with registers and in serial to parallel converters. In communication systems, since the data communication is always bidirectional, both multiplexer and demultiplexer are used together. In such systems, the multiplexer and demultiplexer used are designed to be compatible to each other.

In this tutorial, a 4-input multiplexer and a 4-output demultiplexer are designed. The 4-input multiplexer has 4 input lines, 2 select inputs and one data input. The 4-output demultiplexer has one data input, 2 select inputs and 4 outputs.

Components Required –

Arduino and ESP8266 based IoT Vehicle Tracking Device Circuit

Fig. 1: List of components used for making SN-7400 Series IC based Multiplexer and Demultiplexer

Circuit Diagram –

The multiplexer has the following circuit diagram –

Arduino and ESP8266 based IoT Vehicle Tracking Device Circuit

Fig. 2: Circuit Diagram of 4:1 Multiplexer

The demultiplexer has the following circuit diagram – 

1:4 Demultiplexer Circuit Diagram

Fig. 3: Circuit Diagram of 1:4 Demultiplexer

Circuit Connections –

The multiplexer and demultiplexer are also combinational circuits. Their output depends only on the current value of inputs. Each circuit has a unique truth table from which the respective boolean expression for each output can be derived. The minimized boolean expression is then converted into logic gate diagram which is built on a breadboard using 7400 series ICs.

The following logic gate ICs are used in the construction of the circuits –

7411 IC – The 7411 IC is triple 3-input AND gate IC. The IC has the following pin configuration –

Fig. 4: Table listing pin configuration of 7411 IC

The IC has the following pin diagram –

7411 Pin Diagram

Fig. 5: Pin Diagram of 7411 IC

The IC requires a supply voltage of 5V which can be tolerated up to 5.25V. The voltage at the inputs of AND gates must be 2V for high logic and 0V for low logic. The output of the AND gates has a voltage of 3.4 V for high logic and up to 0.8 V for low logic. The IC operates on positive logic system. The propagation delay while transiting from LOW to HIGH level at the output ranges between 4 to 18 ns while propagation delay while transiting from HIGH to LOW level at the output ranges between 3 to 18 ns.

7432 IC – The 7432 IC has quad 2-input OR gates. The IC has the following pin configuration –

Fig. 6: Table listing pin configuration of 7432 IC

 The IC has the following Pin Diagram –

7432 Pin Diagram

Fig. 7: Pin Diagram of 7432 IC

The IC requires a supply voltage of 5V which can be tolerated up to 7V. The voltage at the inputs of OR gates must be 2V for high logic and 0V for low logic. The output of the OR gates has a voltage of 3.4 V for high logic and 0.35 V for low logic. The IC operates on positive logic system. The propagation delay while transiting from LOW to HIGH level at the output comes 3 to 15 ns while propagation delay while transiting from HIGH to LOW level at the output also comes 3 to 15 ns.

7404 IC – The 7404 IC has six inverting gates. The IC has the following pin configuration –

Fig. 8: Table listing pin configuration of 7404 IC

 The IC has the following Pin Diagram –
7404 Pin Diagram

Fig. 9: Pin Diagram of 7404 IC

The IC requires a supply voltage of 5V which can be tolerated up to 7V. The voltage at the inputs of NOT gates must be 2V for high logic and 0.8 V for low logic. The output of the NOT gates have a voltage of 3.4 V for high logic and 0.2 V for low logic. The IC operates on positive logic system. The propagation delay while transiting from LOW to HIGH level at the output is 22 ns while propagation delay while transiting from HIGH to LOW level at the output is 15 ns.

It must be noted that the selected ICs have compatible input, output and supply voltage levels as they are taken from a common family (74XX series) of digital ICs.

How the circuit works –

For constructing the multiplexer and demultiplexer circuit, first of all, their truth table must be known. From the truth table, the boolean expressions for each output line can be derived. The boolean expression relates the output variables with the input variables by respective boolean equation. The derived boolean equations can be realized by interconnecting logic gates accordingly. The multiplexer and demultiplexer circuits are constructed as follow –

Multiplexer – Multiplexer means transmitting a large number of information units over a smaller number of channels or lines. A digital multiplexer is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line. The selection of a particular input line is controlled by a set of selection lines. Normally there are 2n input lines and n number of selection lines whose bit combination determines which input must be selected. A 4-input multiplexer is designed here which has 4 inputs, 2 select inputs and one output line. It has the following truth table –

Fig. 10: Truth Table of 4:1 Multiplexer

The multiplexer has the following function table –

Fig. 11: Function Table of 4:1 Multiplexer

From the truth table, the multiplexer can be constructed using AND gates, NOT gates and OR gates. Since there are two select pins and data from each input is routed through one AND gate, 3-input AND gates are required for the circuit. Here, for constructing the multiplexer circuit, 7404 IC for NOT gate, 7411 IC for AND gate and 7432 IC for OR gate are used.    

4:1 Multiplexer Circuit

Fig. 12: Prototype of 4:1 Multiplexer

Multiplexers are used in various applications where data from many input channels need to be transmitted on a single line. The multiplexers are used in the following electronic applications –

Communication systems – Communication system is a set of system that enables communication between two points or locations like transmission system, relay and tributary station, and communication networks. The efficiency of communication system can be increased considerably using multiplexer. Multiplexer allows the process of transmitting different type of data such as audio, video at the same time using a single transmission line.

Telephone network – In telephone networks, multiple audio signals are integrated on a single line for transmission with the help of multiplexers. In this way, multiple audio signals can be isolated and eventually, the desired audio signals reach the intended recipient.

Computer memories – Multiplexers are used to implement huge amount of memory into the computer systems by reducing the  number of copper lines required to connect the memory to other parts of the computer circuit at the same time.

Transmission from the computer system of a satellite – Multiplexer can be used for the transmission of data signals from the computer system of a satellite or spacecraft to the ground system using the GPS (Global Positioning System) satellites.

Demultiplexer – The function of a Demultiplexer is opposite to multiplexer function. It takes information from one line and distributes it to a given number of output lines. For this reason, the demultiplexer is also known as a data distributor. A decoder can also be used as demultiplexer.

In the 1: 4 demultiplexer circuit, the data input line goes to all of the AND gates. The data select lines enable only one gate at a time and the data on the data input line passes through the selected gate to the associated data output line. The 1:4 demultiplexer has the following truth table –

Fig. 13: Truth Table of 1:4 Demultiplexer

The demultiplexer has the following function table –

Fig. 14: Function Table of 1:4 Demultiplexer

From the truth table, the demultiplexer can be constructed using AND gates and NOT gates. Since there are two select pins and one data input, 3-input AND gates are required for the circuit. Here, for constructing the demultiplexer circuit, 7404 IC for NOT gate and 7411 IC for AND gates are used.    

1:4 Demultiplexer Circuit

Fig. 15: Prototype of 1:4 Demultiplexer

The demultiplexer is used to connect a single source to multiple destinations. The main application of demultiplexer is in communication systems where multiplexer are also used at the transmission end. Most of the communication systems are bidirectional i.e. they send and receive data both ways (transmitting and receiving signals). Hence, for most of the applications, the multiplexer and demultiplexer work in sync. Demultiplexers are also used for reconstruction of parallel data and ALU circuits. The demultiplexers have the following applications –

Communication Systems – Communication systems use multiplexer to carry multiple data like audio, video and other form of data using a single line for transmission. This process makes the transmission easier.  The demultiplexer receives the output signals of the multiplexer and converts them back to the original form of the data at the receiving end. The multiplexer and demultiplexer work together to carry out the process of transmission and reception of data in a communication system.

ALU (Arithmetic Logic Unit) – In an ALU circuit, the output of ALU can be stored in multiple registers or storage units with the help of demultiplexer. The output of ALU is fed as the data input to the demultiplexer. Each output of demultiplexer is connected to multiple registers where data can be stored in them.

Serial to Parallel Converter – A serial to parallel converter is used for reconstructing parallel data from incoming serial data stream.  In this technique, serial data from the incoming serial data stream is given as data input to the demultiplexer at the regular intervals. A counter is attaching to the control input of the demultiplexer. This counter directs the data signal to the output of the demultiplexer where these data signals are stored. When all data signals have been stored, the output of the demultiplexer can be retrieved and read out in parallel.

Testing the circuits –

The circuits designed above can be tested by giving supply voltage to the ICs by a battery via 7805 voltage regulator. The same voltage can be dropped to 2V level using a variable resistor for HIGH logic while providing LOW logic through ground. The output signals can be checked by connecting LEDs at the output pins of each combinational circuit. The circuits can be checked by verifying truth tables for each circuit.

In the next tutorial, learn about sequential logic circuits.

Circuit Diagrams

1-4-Line-Demultiplexer-Circuit-Diagram
4-1-Line-Multiplexer-Circuit-Diagram


Filed Under: Digital Electronics, Tutorials

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • The GaN revolution must now happen?
  • How to find the resonance frequency and impedance of a planar spiral coil in HFSS?
  • System for measuring the amount of Joules delivered from a capacitor discharge.
  • PhD for Electronics Designers
  • connector model question

RSS Electro-Tech-Online.com Discussions

  • The Analog Gods Hate Me
  • Impact of Tariffs on PCB Fab
  • More fun with ws2812 this time XC8 and CLC
  • I Wanna build a robot
  • Wierd makita battery

Featured – LoRa/LoRaWan Series

  • What is the LoRaWAN network and how does it work?
  • Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication
  • How communication works between two LoRa end-node devices

Recent Articles

  • The top five AI startups to watch in 2025
  • STMicroelectronics unveils SoC based on secure MCU
  • Nexperia’s 48 V ESD diodes support higher data rates with ultra-low capacitance design
  • Taoglas releases Patriot antenna with 18 integrated elements covering 600 to 6000 MHz
  • Amphenol RF introduces SMPM to SMPM assemblies on RG-178 cable

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe