9’s Complement Using Dual Multiplexer IC-74153

The objective of this 9’s complement using a dual multiplexer (IC-74153) is to fully understand and implement to generate 9’s complement.

The decimal number system comprises digits from 0-9 i.e., 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. The base or radix of the decimal number system is 10 because the total no of digits available in the decimal number system is 10. The 9’s complement of a number can be obtained by subtracting every digit of a number by 9.

Must Read 9’s Complement Using IC-7483


9's Complement Using Dual Multiplexer
9’s Complement Using Dual Multiplexer

Circuit Diagram

9's Complement Using Dual Multiplexer Circuit Diagram
9’s Complement Using Dual Multiplexer

Components Required

  • IC-74153 4:1 Dual Multiplexer
  • IC-7404 NOT Gate
  • Single Pole 2-Way Switch (x4)
  • Green LED (x3)
  • Red LED (x1)
  • +5V Power Supply
  • Wires
  • Breadboard

About Parts of 9’s Complement Using Dual Multiplexer

IC-74153 (Dual 4:1 Multiplexer)

This IC chip contains two units of 4:1 MUXs with two common select inputs (S0, S1), but two separate active-low enable inputs. The block diagram of 74153 is shown in figure (2). Two select inputs S1 and S0 simultaneously control both sections of this MUX, but the two sections can be enabled or disabled by two independent Enable inputs, EN1 and EN2.

If S1=1 and S0=1. For example, the data through the input lines and 1I3 and 2I3 will be passed to the output 1Y and 2Y respectively provided both the strobe inputs are at logic 0. The data at the other inputs are irrelevant at this time. Now, if both the strobe inputs are at logic 1, then the data through the input lines are irrelevant at that time.

The function table for any section of this chip is shown in Table (2).

Truth Table for IC-74153


The two outputs 1Y and 2Y can be described by the following equation.

The expanded equation for the two outputs 1Y and 2Y are,

IC-7404 NOT Gate

The IC-7404 is a logic gate IC. It consists of six NOT gates. We know that the NOT gate is also called an inverter because it does complement any inputs. When applying zero or low signal to the input, it gives 1 or high signal as in the output and vice versa. The pin diagram of the IC-7404 is shown in figure (3).

Truth Table for IC-7404


PCB Design

For removing messy wiring and give a clean look, I designed a PCB prototype for this project. It is also helpful for troubleshooting that runs great without any errors. To design this PCB board, I used EasyEDA as it is too easy to use. For ordering PCB for this, I prefer PCBWay.

Gerber file for 9’s Complement Circuit Using IC-74153 Dual Multiplexer Gerber.

PCB View

9's Complement Using Dual Multiplexer 2D View
2D View
9's Complement Using Dual Multiplexer 3D View
3D View

Order PCB From PCBWay

There are so many forums or communities for electronics online in today’s technical world, and one of the famous ones for PCB manufacturing is PCBWay. PCBWay is a place that brings manufacturers and customers together. They have more than a decade of experience in this field of fabrication, prototyping, and assembling PCBs. PCBWay has proved its focus on its customers’ needs in terms of cost-effectiveness, delivery, and quality.

How PCB Manufacturing Process Done in PCBWay

Standard quality for any product needs to be maintained using some parameters. PCBWay gives that opportunity through quality control in designing and manufacturing. At first, they ensure the accuracy, clarity, and validity of the PCB files that we sent to them.

Then all the boards will go through the most stringent tests other than the basic visual check. They adopt most of the testing and inspecting equipment used in the industry, such as Flying Probe Tester, X-Ray Inspection Machine, and Automated Optical Inspection (AOI) Machine. PCBWay has 50+ new engineers on a daily basis around the world using PCBs for their work, who trust for their reliable quality. They produce high-quality pink, orange, grey, and even transparent solder mask. Moreover, according to people’s needs, they can also provide Black core PCB. Check it out for a High-Quality PCB solder mask. There are some pictures below of the new colours of solder musks.

Features of PCBWay

PCB Prototyping & Manufacturing: PCBWay produces FR-4 and Aluminum boards and advanced PCBs like Rogers, HDI, Flexible and Rigid-Flex boards, at a very reasonable price. Just check this Instant Quote to order premium PCBs for your hobby projects.

PCB Assembly: It not only offers PCB Prototyping but also offers PCB Assembly service. You can order a full PCB board with attached components by uploading your file. SMT & THT assembly starts from only 30$ including free stencil and worldwide shipping. The components can be sourced and provided by PCBWay, or by the clients themselves.

Open Source Community: It not only offers PCB Prototype & Assembly service but also gives opportunities to students for sponsorships. I think this is so great. They feature their projects on the website also.

3D Printing & CNC: It also produces Rapid Prototyping like 3D printing, CNC Machining, Sheet Metal Fabrication, and Injection Molding. The quality of the product is too premium and reliable. And also the best part is that you will receive your order within a minimum of 3 days.

PCBWay Store: More boutique gift modules are waiting for you to discover, giving your creativity wings. You can order all types of electronic equipment, components, and many more with exciting offers. Go with the link and buy your needs, PCBWay Store.

Services: PCBWay offers great servicing of its products. It takes only 3 to 15 days according to the courier service to deliver your products. Also, it has a live support facility. Whenever you have any problems, you can always reach a live customer service person to respond to your emails or messages. They have the “Return and Refund” principle, for every unusable board caused by PCBWay, they will rebuild and refund the order soon.

Working Principle of 9’s Complement Using Dual Multiplexer

Now, according to the given experimental assignment, we have to implement 4:1 MUX to design a circuit for getting 9’s complement. But we do not derive any direct formulation from a MUX for a complement. So, the only way to derive it is to value a detailed comparison from the Truth Table (1). The table is given below.

Truth Table for BCD and 9’s complement comparison


The working principle and circuit connection for this project are very simple. Now we can start the comparison from the truth table above. From the truth table, it is seen that Z=Ā and Y=A1. Now, for using the 4:1 MUX, we have to find the select inputs.

Now, from Table (1), we can see that A2 and A1 are both in a perfect sequence of [00, 01,10 & 11] thus for our case we have to choose A2 and A1 as the select inputs. S1 and S0 of IC-74153 as shown in figure (1). Then we get Y1=W and Y0=X. The output Y is obtained directly from A1 and the output Z is obtained using one inverter with A0 as the input.

Now, for the remaining two-bit W and X, we have to compare the inputs with outputs from Table (1).

Input LinesCombinationFirst half (4:1)MUX
Second half (4:1)MUX

The calculation for the Current Limiting Resistance

We are using Green LEDs. The standard forward voltage across Green LED = 2.0V and the forward current is about = 20 mA. We are using 5V as the supply voltage.

The current limiting resistor, Rs = (5-2)/(2×10-3) = 150Ω.

So, the necessary value of the current limiting resistor is 150Ω and we are using a 220Ω practical value.

Example of 9’s Complement Using Dual Multiplexer

9's Complement Using Dual Multiplexer
9's Complement Using Dual Multiplexer

Leave a Comment