Professional Documents
Culture Documents
Integrated Circuits
Lab Manual
Prepared By
Senior Lecturer
Electrical and Electronics Engineering,
St.Xavier’s Catholic College of Engineering,
Kanyakumari District,
Pin Code 629807.
AIM:
To familiarize with logic gate IC packages and to verify the truth tables of
the logic gates. Also to familiarize with the digital IC trainer kit.
AND GATE
A B Z OB
0 0 0
0 1 0
1 0 0
1 1 1
OR GATE
A B Z OB
0 0 0
0 1 1
1 0 1
1 1 1
THEORY:
LOGIC GATES:
In digital electronics, a gate is a logic circuit with one output and one or
more inputs. Logic gates are available as integrated circuits (ICs).
AND GATE:
OR GATE:
It performs logical addition. Its output will become high if any of the
inputs is in logic high. 7432 is a quad two input OR gate.
NOT GATE:
NOT GATE
A Z OB
0 1
1 0
NAND GATE
A B Z OB
0 0 1
0 1 1
1 0 1
1 1 0
NAND GATE:
NOR GATE:
EXOR GATE:
Its output will be high if and only if one input is in high state.7486 is
aa quad two input EXOR gate.
PROCEDURE:
1. Test all the components and IC packages using a digital IC tester. Also
assure whether the connecting wires are in good condition by checking for the
continuity using a Multimeter or a trainer kit. Continuity of wires can be tested
using a trainer kit by shorting a 5 V supply in the trainer to an LED of the panel.
If wires are good, LED will glow.
2. Verify the dual-in-line package (DIP) pin out of the IC before feeding the
inputs.
3. Set up the circuits and observe the outputs. Enter the input and output states
in truth table corresponding to the input combinations.
NOR GATE
A B Z OB
0 0 1
0 1 0
1 0 0
1 1 0
EXOR GATE
A B Z OB
0 0 0
0 1 1
1 0 1
1 1 0
IC TRAINER KIT:
RESULT:
REALISATION OF FLIPFLOPS
AIM:
1. To realize different types of Flip flops using logic gates and to verify
their truth tables.
2.To familiarize with flip flop ICs 7473 , 7474,7476
THEORY:
Flip flop is a simple two state device capable of storing single bit of
information. A flip flop has two outputs. One for normal value and other for
complemented value. Flip flops are also called as latches. They are the main
storage devices in sequential logic circuits.
SR FLIP FLOP
1 4
3 6 330 ohm
UA
S 2 5 UB
Q
9 12
11 330 ohm
UC 8
R 10 13 UD
Q'
UA – UB → 7400 G
Output
Input
Theoretical Practical
1
R S Q Q Q Q1
0 0 No Change
1 0 0 1
0 1 1 0
1 1 For Bidden
S 2
330 ohm
UA 1
3
Q
5
4 330 ohm
R UB
6
Q'
UA – UB → 7402
G
CLOCKED SR FLIP FLOP
S 1 4
3 6 330 ohm
UA
2 5 UB
Q
C/K G
9 12
11 330 ohm
UC 8
R 10 13 UD
Q'
UA – UB → 7400
G
Output
Input
Theoretical Practical
1
CK R S Q Q Q Q1
0 0 No Change
1 0 0 1
0 1 1 0
1 1 For Bidden
two NAND gates or two NOR gates. It has two control inputs namely set unit and
reset unit. This flip flop is also known as direct coupled RS Flip flop.
‘S’ and ‘R’ stands for set and reset. There are four input
combinations possible at the inputs. But S=R=1 is forbidden since the output
uncertain. When the initial state is to be assigned, two separate inputs called
preset and clear are used. They are active low inputs.
JK Flip flop:
converting it to a JK FF.
JKFF. Racing is nothing but the toggling of the output more than once during a
positive clock edge. MSJKFF is created by cascading two JKFFs. The clock fed
to the first stage (Master) is inverted and fed to the second stage (Slave). This
enables that the slave follows the master eliminating the chance of racing.
D FLIP FLOP
D 330 ohm
2
4 J S Q 15
1 CP _
C/K 16 K Q 14
G
1
R 330 ohm
3
2
74LS76
1/6 7404 G
Output
Input
Theoretical Practical
1
D Q Q Q Q1
0
1
T FLIP FLOP
T
330 ohm
7
9 J S Q 11
C/K 6 CP _
12 K Q 10
330 ohm G
R
8
74LS76
G
Output
Input
Theoretical Practical
1
T Q Q Q Q1
0
1
D Flip Flop:
T Flip Flop:
PROCEDURE:
RESULT:
CODE CONVERTERS
AIM:
2 IC 7486 1
5 Bread Board 1
B0 U1C G0
10 330 ohm
8
9
G
B1 U1B
5 330 ohm
6 G1
4
G
B2 U1A
2 330 ohm
3
1 G2
G
B3 330 ohm
G3
Tabulation:
Gray Code
Binary Code
Theoretical Practical
B3 B2 B1 B0 G3 G2 G1 G0 G3 G2 G1 G0
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
are applied.
1. The MSB in the Gray code is the same as the corresponding digit in a
binary number.
2. Going from left to right, add each adjacent pair of binary digits to get the
G0 U1C
10
B0
330 ohm
8
9
G
G1 U1B
5 330 ohm
6 B1
4
G
G2 U1A
2 330 ohm B2
3
1
G3 330 ohm
B3
G
Tabulation:
Binary Code
Gray Code
Theoretical Practical
G3 G2 G1 G0 B3 B2 B1 B0 B3 B2 B1 B0
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
To convert from Gray code to binary, the following rules are applied.
1. The most significant digit in the binary number is the same as the
2. Add each binary digit generated to the Gray code digit in the next
To design the Gray to binary code converter, set up the truth table
and get simplified expressions using Karnaugh maps for each binary bits as a
function of Gray code number differs from the preceding number by a single
bit.
PROCEDURE:
1. Test all the components and IC packages using Multimeter and digital IC
tester.
2. Verify the truth tables of the circuit by feeding the input bit combinations.
RESULT:
AIM:
Demultiplexer circuit.
2 IC 7411 2
3 IC 7432 1
4 IC 7404 1
7 Bread Board 1
Pin Diagram:
Circuit Diagram:
S1 So
7404 7404
1 2 3 4
74LS11
Do 1
2 12
13 74LS32
1
3
2
74LS11
3
D1 4 6
5 74LS32
9 330 ohm
8
10
74LS11
9
D2 10 8 G
11 74LS32
4
6
5
74LS11
D3 1
2 12
13
Tabulation:
THEORY:
Multiplexer:
The term multiplex means “many into one”. Multiplexing is the process of
transmitting a large number if information over a single line. A digital
multiplexer (MUX) is a combinational circuit that selects one digital information
from several sources and transmits the selected information on a single output
line. A multiplexer is also called a data selector since it selects one of many
inputs and steers the information to the output.
The multiplexer has several data input lines and a single output line. The
selection of a particular input line is controlled by a set of selection lines. The
selection lines decide the number of input line of a particular multiplexer. If the
number of n input lines is equal to 2m, then m select lines are required to select
one of the n input lines. For eg., to select 1 out of 4 input lines, two select lines
are required to select 1 of 8 input lines three select lines are required and so on.
Circuit Diagram:
D S1 S2
7404 7404
1 2 3 2
74LS11
1 330 ohm
2 12
13
G
74LS11
3 330 ohm
4 6
5
G
74LS11
9 330 ohm
10 8
11
G
74LS11
1 330 ohm
2 12
13
Tabulation:
Demultiplexer
PROCEDURE:
(i) Test the ICs using a digital IC tester before conducting the
experiment.
(ii) Connections are made as per the circuit diagram.
(iii) Verify the truth tables of the circuit by feeding the inputs.
RESULT:
ASYNCHRONOUS COUNTERS
AIM:
THEORY:
A counter is a circuit that produces a set of unique output combinations
in relation to the number of applied input pulses. The number of unique outputs
In asynchronous counters, the flip flops are not given the clock
flip flops used. Four JK flip flops must be used in toggle mode to count 16 states
Circuit diagram:
Qo Q1 Q2 Q3
S S S S
clock J Q J Q J Q J Q
CP _ CP _ CP _ CP _
K Q K Q K Q K Q
R R R R
1/2 7476 1/2 7476 1/2 7476 1/2 7476
5V
Tabulation:
OUT PUT
Clock
Theoretical Practical
Pulse
Q3 Q2 Q1 Q0 Q3 Q2 Q1 Q0
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
In the circuit set up, all flip flops are clocked by the Q output of the
preceding flip flop. JK inputs of all the flip flops are connected to a high state.
7476 is a dual JK Master Slave flip flop with preset and clear. A ripple counter
comprising of n flip flops can be used to count up to 2n pulses. A four flip flop
circuit gives a maximum cunt of 24 =16. The counter gives a natural binary
Q1,Q2 and Q3 remains unaffected. With second clock pulse, Q0 becomes 0 and Q1
becomes 1. At the arrival of 15th clock pulse all the Q outputs will become 1.At
the 16th clock pulse all Q outputs become reset and cycle repeats.
In this circuit, the succeeding flip flops are clocked by the Q output of
preceding flip flops. The outputs are taken from Q outputs. Initially all output
are set. At the arrival of 16th clock pulse all q outputs becomes reset and cycle
continues.
Circuit diagram:
Qo Q1 Q2 Q3
S S S S
clock J Q J Q J Q J Q
CP _ CP _ CP _ CP _
K Q K Q K Q K Q
R R R R
1/2 7476 1/2 7476 1/2 7476 1/2 7476
5V
Tabulation:
OUT PUT
Clock
Theoretical Practical
Pulse
Q3 Q2 Q1 Q0 Q3 Q2 Q1 Q0
0 1 1 1 1
1 1 1 1 0
2 1 1 0 1
3 1 1 0 0
4 1 0 1 1
5 1 0 1 0
6 1 0 0 1
7 1 0 0 0
8 0 1 1 1
9 0 1 1 0
10 0 1 0 1
11 0 1 0 0
12 0 0 1 1
13 0 0 1 0
14 0 0 0 1
15 0 0 0 0
PROCEDURE:
1. Test all ICs using a digital tester. Also test all the wires for continuity
using a Multimeter or IC trainer. In IC trainer, by shorting any supply
point to an LED the continuity of a wire can be verified.
2. Set up the circuit for 4 bit ripple counter. Connect all the PRESET pins to
+5V to disable it.
3. Tie up all CLEAR pins together.
4. Use monopulse/debouncer to feed the clock manually.
5. Clear all FFs initially connecting common CLEAR to logic low input. After
the usage of CLEAR pins it opens. Apply monopulses. Counter starts
counting up. (Before setting up the down counter, shift the output LEDs to
Q¯ outputs and repeat steps 2 to 5. The down counting can be observed).
6. Move clock inputs of every flip flop except FF0 from Q outputs to the
Q ¯ outputs. Preset all FFs. Apply monopulses. Counter will start counting
downwards.
Note:
1. CLEAR and PRESET are active low inputs.After the use of these pins
either connect them to logic high or keep them open.
2. Select 7476 instead of 7473 if the presetting is required.
RESULT:
AIM:
2 Function Generator 1
3 CRO 1
4 Op-amp LM741 1
5 Resistor 1K 2
6 Resistor 10K 1
7 Resistor 2K 1
8 Bread Board 1
+15V
Vo
741
100mVpp=Vin
-15V
G
G
Model Graph
Vin
50mV
Vo
+Vsat
-Vsat
Tabulation
Time
No. of Amplitude Time/Div. No. of Frequency
Amp./Div. Period
Division (Volts) Division (Hz)
(ms)
Input
Output
THEORY:
shown in Fig.. That is, the output is driven into negative saturation when the
input signal passes through zero in positive direction. Conversely, when input
signal passes through zero in the negative direction, the output switches and
PROCEDURE:
(ii) Apply an input signal of 100mVpp and 1 KHz to the inverting input.
+Vsat to –Vsat.
Inverting Amplifier
Circuit Diagram
Rf
+15V
Ri
Vo
741
1 k
2Vpp=Vin
-15V
Model Graph
Vi
+1V
Vo
+V
-V
Tabulation Ri =
Inverting Amplifier:
This is one of the most popular op-amp circuits. The polarity of the input
voltage gets inverted at the output. If a sine wave is fed to the input of this
amplifier, the output will be an amplified sine wave with 180 degree phase shift.
The gain of the inverting amplifier is given by the expression A=Rf/Ri where Rf is
PROCEDURE:
(ii) Apply an input signal of 2Vpp and 1KHz to the inverting input.
Circuit Diagram
Rf
+15V
Ri
Vo
741
1 k
G -15V
2Vpp=Vin
G
Model Graph
Vi
+1V
Vo
+V
-V
Tabulation Ri =
Non-Inverting Amplifier:
This circuit provides a gain to the input signal without any change in
PROCEDURE:
(ii) Apply an input signal of 2Vpp and 1KHz to the inverting input. Observe
Voltage Follower
Circuit Diagram
+15V
Vo
741
-15V
Vin
Model Graph
Vi
+1V
Vo
+V
-V
Tabulation
Time
Amp./ No. of Amplitude Time/ No. of Practical Theoretical
Period
Division Division (Volts) Division Division Gain Gain
(ms)
Input
Output
Voltage Follower
voltage follower circuit. The name voltage follower came from the fact that
output is the replica of the input (ie) unity gain and no change in polarity. This
circuit will provide very high input impedance. It is used as a buffer to connect a
PROCEDURE:
(ii) Observe the output and input waveforms and calculate the gain.
NOTE:
signal sources.
RESULT:
ASTABLE MULTIVIBRATOR
(SQUARE WAVE GENERATOR)
AIM:
FORMULA:
Time, T = 2 RC ln (1+β/1- β)
Where β = R2/R1+R2
DESIGN:
Specification:
Where β = R2 / R1+ R2
Take R1 = R2 = 100 KΩ
T = 2RC ln 3
Let C = 0.2 µF
R = 2272 Ω
Select R = 2.2 KΩ
THEORY:
The output of the op-amp is forced to swing repetitively between positive
saturation +Vsat and negative saturation –Vsat resulting in square wave output.
This circuit is also called as free running multivibrator or square wave generator.
voltage is negative and vice versa. The differential voltage Vd = Vc - Vsat where
zero. This happens when Vc = + Vsat. The moment Vd becomes positive due to
further charging of the capacitor, output changes to –Vsat. Now capacitor starts
to discharge to zero and recharges towards –Vsat. Now Vd decreases and crosses
zero. This happens when Vc = Vsat. The moment Vd becomes negative again,
If β is made ½, T = 2.2 RC
frequency in the audio frequency range. Higher frequencies are limited by the
Circuit Diagram
R
2.2 k
+15V
Vo
741
C -15V R1 100 k
R2 100 k
G G
Model Graph
Amp
Vo
+ Vsat Vc
+ Vsat
Time
- Vsat
- Vsat
Tabulation
0.2
0.3
PROCEDURE:
2. The output square waveform is traced and its frequency is checked for
RESULT:
Aim:
2 Resistor 2.2k 2
3 Capacitor 0.1μf 2
4 Potentiometer 10k 1
5 Op-amp LM 741 1
6 CRO 1
7 Bread Board 1
Design:
Specification:
Choose R = 2.2K Ω
Circuit Diagram:
2.2 k
0.1μf
0.1uF +15V
Vo
741
-15V
2.2 k 0.1μf
0.1uF
10k
G G
Formula:
THEORY:
the feedback network need not provide any phase shift. The circuit can be
viewed as a Wien bridge with a series RC network in one arm and parallel RC
network in the adjoining arm. Resistors Ri and Rf are connected in the remaining
two arms. The condition of zero phase shift around the circuit is achieved by
From the analysis of the circuit, it can be seen that the feed back factor
β=1/3 at the frequency of oscillation. Therefore, for the sustained oscillation, the
Model Graph:
Amp
Vm
Time
Tabulation:
Time Practical
No. of Amplitude Time/Div. No. of
Amp./Div. Period Frequency
Division (Volts) Division
(ms)
PROCEDURE:
(iii) The output is given to the CRO. The sine wave is generated by varying
the potentiometer.
(iv) Note down the time period and calculate the frequency.
RESULT:
AIM:
To set up and study a half wave rectifier and full wave rectifier using Op-
Amp.
2 Function Generator 1
3 CRO 1
4 Op-amp LM741 2
5 Resistor 1.2 K 4
6 Diode IN4001 2
7 Bread Board 1
Pin Diagram:
Circuit Diagram:
Vin
Model Graph:
Vin
50mV
V1
-50mV
50mV
V2 t
THEORY:
becomes negative and the diode D1 gets forward biased. At this moment, diode
PROCEDURE:
voltage follower.
2. Set up half wave rectifier and feed 100 mVpp, sine wave at the input.
3. Observe the negative going and positive going half cycles of the output.
Circuit Diagram:
Vin
Model Graph:
Vin
50mV
-50mV
50mV
Vo t
upon the polarity of input voltage; one in inverting mode and other in the non-
inverting mode.
conduct. A close examination will prove that both the amplifiers are functioning
in inverting mode. When Vin becomes negative, D1 turns off and D2 turns on.
The equivalent circuit diagram will show that A1 works as inverting amplifier and
PROCEDURE:
RESULT:
AIM :
of 1ms.
.
Sl. No. Items Range Quantity
1 Dual Power Supply (0-15)V 1
2 Function Generator 1
3 CRO 1
4 Timer LM555 1
5 Resistor 480ohm 1
6 Resistor 10k 1
7 Capacitor 0.01 μf 1
8 Capacitor 0.1μf 1
9 Diode IN4001 1
10 Bread Board 1
11 Connecting Wires Required
Design:
Let Tt = 3 msec
and Ci = 0.1µf.
Choose Ci = 0.1µf
Pin Diagram:
THEORY:
very low. When the negative going trigger passes through Vcc/3, the FF is set i.e.
Q = 0. This makes transistor Q1 off. The capacitor starts charging towards Vcc,
which was earlier clamped to zero. After a time period, the capacitor voltage is
greater than (2/3)Vcc and thereby discharging the capacitor C rapidly to ground
seconds.
Circuit Diagram
Model Graph
Trigger 10V
Vo
Vc
PROCEDURE:
1. Set up the circuit after verifying the condition of the IC using analog IC
tester.
trigger.
RESULT:
THANK YOU