Report
Report
Objective
To study the logic function of AND gate and become familiar with some of its application.
Description:
The AND gate is a basic digital logic gate that implements logical conjunction from mathematical logic –
AND gate behaves according to the truth table above. A HIGH output (1) results only if all the inputs to
the AND gate are HIGH (1).
Component :
1.74LS08 IC
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
1.5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the
most common power supplies in use today. In general, a 5VDC output is obtained from
a 50VAC or 240VAC input using a combination of transformers, diodes and transistors.
2.Breadboard: A breadboard is a simple device designed to create circuits without the
need for soldering. Two larger pieces of wire down each side are typically used to
connect a power source to the board.
3.7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND gates. Each of the four
AND gates are independent. Each gate has one output, two inputs and three pins. The AND
gates carry out logic AND operation. Logic gates are available in the form of ICs
Pin Diagram:
Solution of the Diagram:
1.Insert the positive side of the breadboard to the positive terminal of the battery. The
negative side of the breadboard should have been grounded.
2.Carefully insert the 7408 (AND gate) chip onto the breadboard, being careful not to
bend the pins on the chip. The chip is placed so that it crosses the middle of the board.
Make sure that the circle or notch is at the top of the circuit.
3.Provide power to the chip by connecting pin 14 to the positive rail.
4.Ground the chip by connecting pin 7 to the ground rail.
5.Connect the input pins 1 and 2 to the inputs from the two switches.
6.Connect the output pin 3 to the LED.
Description:
An OR gate is a digital logic gate that gives an output of 1 when any of its inputs are 1, otherwise 0. An
OR gate performs like two switches in parallel supplying a light, so that when either of the switches is
closed the light is on.
Component :
1.74LS32 IC
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
Description of the component:
1.5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the
most common power supplies in use today. In general, a 5VDC output is obtained from
a 50VAC or 240VAC input using a combination of transformers, diodes and transistors.
2.Breadboard: A breadboard is a simple device designed to create circuits without the
need for soldering. Two larger pieces of wire down each side are typically used to
connect a power source to the board.
3.74LS32 (OR gate): IC 7432 is a logic gate IC which consist of four OR Gates. The OR gate performs
logical OR operation. The OR gates come in form of DIP package ICs. Each gate has three terminal two
inputs and one output.
Pin Diagram:
1.Insert the positive side of the breadboard to the positive terminal of the battery. The
negative side of the breadboard should have been grounded.
2.Carefully insert the 7432 (OR gate) chip onto the breadboard, being careful not to
bend the pins on the chip. The chip is placed so that it crosses the middle of the board.
Make sure that the circle or notch is at the top of the circuit.
3.Provide power to the chip by connecting pin 14 to the positive rail.
4.Ground the chip by connecting pin 7 to the ground rail.
5.Connect the input pins 1 and 2 to the inputs from the two switches.
6.Connect the output pin 3 to the LED.
Input & Output:
Objective
To study the logic function of NOT gate and become familiar with some of its application.
Description:
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It is
also known as an inverter. If the input variable is A, the inverted output is known as NOT A.
Component:
1.74LS04 IC
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
1.5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
2.Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
3.7404 (NOT gate): 7404 is a NOT gate IC. It consists of six inverters which perform logical invert
action. The output of an inverter is the complement of its input logic state.
Pin Diagram:
1.Insert the positive side of the breadboard to the positive terminal of the battery. The
negative side of the breadboard should have been grounded.
2.Carefully insert the 7404 (NOT gate) chip onto the breadboard, being careful not to
bend the pins on the chip. The chip is placed so that it crosses the middle of the board.
Make sure that the circle or notch is at the top of the circuit.
3.Provide power to the chip by connecting pin 14 to the positive rail.
4.Ground the chip by connecting pin 7 to the ground rail.
5.Connect the input pins 1 to the inputs from the one switches.
6.Connect the output pin 2 to the LED.
Component:
1.74HC00 IC
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
Pin Diagram:
Solution of the Diagram:
1.Insert the positive side of the breadboard to the positive terminal of the battery. The
negative side of the breadboard should have been grounded.
2.Carefully insert the 74HC00 (NAND gate) chip onto the breadboard, being careful not
to bend the pins on the chip. The chip is placed so that it crosses the middle of the
board. Make sure that the circle or notch is at the top of the circuit.
3.Provide power to the chip by connecting pin 14 to the positive rail.
4.Ground the chip by connecting pin 7 to the ground rail.
5.Connect the input pins 1 and 2 to the inputs from the two switches.
6.Connect the output pin 3 to the LED.
Experiment Name:
To implement a NOR gate.
Objective:
Understanding how to construct any combinational logic function & to study the realization of
NOR gate.
Required Component:
1.74LS02 IC
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
Description of The Components:
1.5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
2.Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
3.7402(NOR gate): 7402 IC is a device containing four independent gates each of which
performs the logic NOR function. 7402 package options include: plastic small outline, ceramic
chip carriers, flat packages, plastic and ceramic DIPs. The SN7402, SN74LS02 and SN74S02
are characterized for operation from 0°C to 70°C.
Pin Diagram:
Solution of The Diagram:
1.Insert the positive side of the breadboard to the positive terminal of the battery. The negative
side of the breadboard should have been grounded.
2.Carefully insert the 7402 (NOR gate) chip onto the breadboard, being careful not to bend the
pins on the chip. The chip is placed so that it crosses the middle of the board. Make sure that
the circle or notch is at the top of the circuit.
3.Provide power to the chip by connecting pin 14 to the positive rail.
4.Ground the chip by connecting pin 7 to the ground rail.
5.Connect the input pins 1 and 2 to the inputs from the two switches.
6.Connect the output pin 2 to the LED.
Objective
To study the logic function of exclusive OR (X-OR) gate and become familiar with some of its
application
Description
The Exclusive-OR gate or XOR gate is achieved by combining standard logic gates together. XOR gate is
used extensively in error detection circuits, computational logic comparators and arithmetic logic
circuits. The Exclusive OR gate gives an output only if its two inputs are dissimilar, namely if one of them
is high (one) and the other is low (zero).
Circuit Diagram
Constructing the circuit using three gates in the 7404 HEX, 7432 QUAD OR gate, 7408 QUAD AND gate.
Using two sections of the DIP switch to set the inputs to 0 or 1 and fill in the Truth Table with the output
logic levels. Using the Logic Probe to determine logic levels. Algebraically XOR output can be written as
X= AB’ + A’B and can be implemented as shown below
An X-OR gate is a two input, one output logic circuit, whose output assumes a logic 1 state when one
and only one of its two inputs assumes a logic 1 state. Under the condition when both the inputs are
same either 0 or 1, the output assumes a logic 0 state. Since an X-OR gate produces an output 1 only
when the inputs are not equal, it is called as an anti-coincidence gate or inequality detector. Then we
can define the operation of a digital 2-input X-OR gate as being:
“If either A true and B false or A false and B true, then Q is true”
Input/Output
A truth table showing the input and output of X-OR gate is given below-
Input Output
A B Q
0 0 0
0 1 1
1 0 1
1 1 0
Objective
To study the logic function of exclusive NOR (X-NOR) gate and become familiar with some of its
application.
Description
An XNOR Gate is a type of digital logic gate that receives two inputs and produces one output. Both
inputs are treated with the same logic, responding equally to similar inputs. Sometimes referred to as an
"Equivalence Gate," the gate's output requires both inputs to be the same to produce a high output.
5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
DIP Switch: DIP is short for Dual In-Line Package. A DIP switch is a set of electrical switches
packaged in a small box or housing. They are designed to be mounted on printed circuit boards
to provide a range of electrical inputs to an electronic device based on the position of the
individual switches.
7404 (Inverter): 7404 is a NOT gate IC. It consists of six inverters which perform logical invert
action. The output of an inverter is the complement of its input logic state.
7432 (OR gate): IC 7432 is a logic gate IC which consist of four OR Gates. The OR gate performs
logical OR operation. The OR gates come in form of DIP package ICs. Each gate has three
terminal two inputs and one output.
7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND gates. Each of the four
AND gates are independent. Each gate has one output, two inputs and three pins. The AND
gates carry out logic AND operation. Logic gates are available in the form of ICs.
Circuit Diagram
Constructing the circuit using three gates in the 7404 HEX, 7432 QUAD OR gate, 7408 QUAD
AND gate. Using two sections of the DIP switch to set the inputs to 0 or 1 and fill in the Truth
Table with the output logic levels. Using the Logic Probe to determine logic levels. Algebraically
XNOR output can be written as X= AB + A’B’ and can be implemented as shown below
An X-NOR gate is a two input, one output logic circuit, whose output assumes a logic 0 state when one
and only one of its two inputs assumes a logic 1 state. Under the condition when both the inputs are
same either 0 or 1, the output assumes a logic 1 state. Since an X-NOR gate produces an output 1 only
when both inputs are equal, it is called as an equality detector. Then we can define the operation of a
digital 2-input X-NOR gate as being:
“If both A true and B false or true, then Q is true”
Input/Output
A truth table showing the input and output of X-NOR gate is given below-
Input Output
A B Q
0 0 1
0 1 0
1 0 0
1 1 1
7.Experiment Name: Implementation of Half Adder.
Objective
To study the logic function of Half Adder and become familiar with some of its application.
To verify logic truth tables from the voltages measured.
Description
A half adder is a type of adder, an electronic circuit that performs the addition of numbers. The half
adder is able to add two single binary digits and provide the output plus a carry value. It has two inputs,
called A and B, and two outputs S (sum) and C (carry).
5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
DIP Switch: DIP is short for Dual In-Line Package. A DIP switch is a set of electrical switches
packaged in a small box or housing. They are designed to be mounted on printed circuit boards
to provide a range of electrical inputs to an electronic device based on the position of the
individual switches.
7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND gates. Each of the four
AND gates are independent. Each gate has one output, two inputs and three pins. The AND
gates carry out logic AND operation. Logic gates are available in the form of ICs.
7486 (X-OR gate): 7486 is a 14pin IC which is use to perform EXCLUSIVE-OR gate logic function in
circuit, 7486 having 1 VCC and 1 GND pin, and 8 input pins and 4 output pins. Input/output pins
are placed in pair of 3 pins, one IC can connect up-to 4 devices .
Circuit Diagram
Constructing the circuit using two gates in the 7408 QUAD AND gate and 7486 QUAD XOR gate.
Using two sections of the DIP switch to set the inputs to 0 or 1 and fill in the Truth Table with
the output logic levels. Using the Logic Probe to determine logic levels. Algebraically Half Adder
outputs can be written as Sum= A ⊕ B and Carry= AB and can be implemented as shown
below
Solution of Half Adder diagram
A Half Adder is a two input, one output logic circuit where the circuit performs the binary addition of
two numbers. Half Adder requires one X-OR gate and one AND gate for its construction. Here we
perform two operations Sum and Carry, thus we need two K-maps one for each to derive the
expression.
Input/Output
A truth table showing the input and output of Half Adder is given below-
Input Output
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Experiment Name :
To implement Full Adder .
Objective:
Understanding how to construct a full adder & to study the realization of full
adder.
Required Component:
1.2 piece of 74LS08 IC, 1 piece of 74LS32 IC, 2
piece of 74LS86 IC.
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
Description of The Components:
1.5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are
one of the most common power supplies in use today. In general, a 5VDC
output is obtained from a 50VAC or 240VAC input using a combination of
transformers, diodes and transistors.
2.Breadboard: A breadboard is a simple device designed to create circuits
without the need for soldering. Two larger pieces of wire down each side
are typically used to connect a power source to the board.
3.7432 (OR gate): IC 7432 is a logic gate IC which consist of four OR
Gates. The OR gate performs logical OR operation. The OR gates come in
form of DIP package ICs. Each gate has three terminal two inputs and one
output.
4.7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND
gates. Each of the four AND gates are independent. Each gate has one
output, two inputs and three pins. The AND gates carry out logic AND
operation. Logic gates are available in the form of ICs.
5. 7486(XOR gate): 7486 is a 14pin IC which is use to
perform EXCLUSIVE-OR gate logic function in circuit, 7486 having 1
VCC and 1 GND pin, and 8 input pins and 4 output pins. Input/output
pins are placed in pair of 3 pins(2 pin for input and 1 for result/output), one
IC can connect up-to 4 devices.
Diagram:
Required Component:
1.74LS148 IC.
2. Power supply (5v).
3. LED.
4. Breadboard and.
5.Connecting wires.
Block Diagram:
Objective
To study the logic function of Decoder and become familiar with some of its application.
To verify logic truth tables from the voltages measured.
Description
5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
DIP Switch: DIP is short for Dual In-Line Package. A DIP switch is a set of electrical switches
packaged in a small box or housing. They are designed to be mounted on printed circuit boards
to provide a range of electrical inputs to an electronic device based on the position of the
individual switches.
7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND gates. Each of the four
AND gates are independent. Each gate has one output, two inputs and three pins. The AND
gates carry out logic AND operation. Logic gates are available in the form of ICs.
7404 (Inverter): 7404 is a NOT gate IC. It consists of six inverters which perform logical invert
action. The output of an inverter is the complement of its input logic state.
Circuit Diagram
Constructing the circuit for 3*8 Line Decoder using two gates in the 7408 QUAD AND gate and
7404 HEX. Using two sections of the DIP switch to set the inputs to 0 or 1 and fill in the Truth
Table with the output logic levels. Using the Logic Probe to determine logic levels.
Y0=A0'.A1'.A2'
Y1=A0.A1'.A2'
Y2=A0'.A1.A2'
Y3=A0.A1.A2'
Y4=A0'.A1'.A2
Y5=A0.A1'.A2
Y6=A0'.A1.A2
Y7=A0.A1.A2
From above expressions for different input value we will get the true output.
Input/Output
A truth table showing the input and output of 3*8 Line Decoder is given below-
Enable Input Output
E A0 A1 A2 Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
0 * * * 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 1
1 0 0 1 0 0 0 0 0 0 1 0
1 0 1 0 0 0 0 0 0 1 0 0
1 0 1 1 0 0 0 0 1 0 0 0
1 1 0 0 0 0 0 1 0 0 0 0
1 1 0 1 0 0 1 0 0 0 0 0
1 1 1 0 0 1 0 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0 0 0
Experiment Name :
To implement a 4:1 Multiplexer .
Objective:
1. To determine the 4-to-1 multiplexer.
2. To learn working principle of multiplexer
3. To use of multiplexer.
Pin Diagram:
Circuit Diagram:
Objective
To study the logic function of Multiplexer and become familiar with some of its application.
To verify logic truth tables from the voltages measured.
Description
Demultiplexer means generally one into many. A demultiplexer is a logic circuit with one input and many
outputs. By applying control signals, we can steer the input signal to one of the output lines. The ckt. has
one input signal, m control signal and n output signals. Where 2n = m. It functions as an electronic
switch to route an incoming data signal to one of several outputs
Required Equipment and Description
5V DC Power Supply: 5V power supplies (or 5VDC power supplies) are one of the most
common power supplies in use today. In general, a 5VDC output is obtained from a 50VAC or
240VAC input using a combination of transformers, diodes and transistors.
Breadboard: A breadboard is a simple device designed to create circuits without the need for
soldering. Two larger pieces of wire down each side are typically used to connect a power
source to the board.
DIP Switch: DIP is short for Dual In-Line Package. A DIP switch is a set of electrical switches
packaged in a small box or housing. They are designed to be mounted on printed circuit boards
to provide a range of electrical inputs to an electronic device based on the position of the
individual switches.
7408 (AND gate): IC 7408 is a logic gate chip with four two-input AND gates. Each of the four
AND gates are independent. Each gate has one output, two inputs and three pins. The AND
gates carry out logic AND operation. Logic gates are available in the form of ICs.
7404 (Inverter): 7404 is a NOT gate IC. It consists of six inverters which perform logical invert
action. The output of an inverter is the complement of its input logic state.
Circuit Diagram
Constructing the circuit for 1*4 Demultiplexer using two gates in the 7408 QUAD AND gate and
7404 HEX. Using two sections of the DIP switch to set the inputs to 0 or 1 and fill in the Truth
Table with the output logic levels. Using the Logic Probe to determine logic levels.
Y3= S1S0I
Y2= S1S0’I
Y1= S1’S0I
Y0= S1’S0’I
From above expressions for different input values we will get the true output.
Input/Output
A truth table showing the input and output of Half Adder is given below-
Input Output
S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 I
0 1 0 0 I 0
1 0 0 I 0 0
1 1 I 0 0 0