Вы находитесь на странице: 1из 49

DIGITAL LOGIC & CIRCUIT LAB MANUAL 1

NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

EXPT NO. TITLE OF THE EXPERIMENT PAGE NO.

1 Universal Gates 2

2 Basic gates, Code Convertor & Parity Generator and 7


checker.
3 Adder, Subtractor & Magnitude comparator circuits. 13

4 Decoder, Encoder, Multiplexer & De-Multiplexer. 18

5 Latches, S-R FF, J-K FF, D-FF , T-FF & M-S J-K Flip Flops. 24

Shift Left & Sift Right registers, SISO, SIPO, PISO & PIPO
6 29
Shift registers.

Synchronous & Asynchronous Up/Down, Mod-N &


7 35
Mod<N Counters.

8 Astable & Monostable Multivibrators using Timer- 555 40

Digital to Analog Converters (DAC) and Analog to


9 44
Digital Converters (ADC).

10 Design of Combinational Logic Circuits Using Multisim 49

11 Design of Sequential Logic Circuits Using Multisim

12 Mini Project

LIST OF EXPERIMENTS:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 2
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

EXPERIMENT - 1

Universal Gates
OBJECTIVES: (i) Identification and verification of NAND gate (IC chip #7400) and NOR gate
(IC chip #7402).
(ii) Construction and Verification of all other gate (AND, OR, NOT, XOR &
XNOR) USING
a) Only NOR gate
b) Only NAND gate
MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 NAND Gate IC IC #7400 2
2 NOR Gate IC IC #7402 2
3 LED - 1
4 Resistor 330 Ω 1
5 Breadboard - 1
6 DC Power Supply 5 Volt 1
7 Connecting Wires - -
THEORY:

OBJECTIVE-1

NAND Gate: The NAND gate is a contraction of AND-NOT. The output is high when both
inputs are low and any one of the input is low .The output is low level when both inputs are
high.

Pin Diagram Of IC # 7400 (Quad 2 Input NAND Gate) :

NOR Gate: The NOR gate is a contraction of OR-NOT. The output is high when both inputs
DIGITAL LOGIC & CIRCUIT LAB MANUAL 3
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

are low. The output is low when one or both inputs are high.

Pin Diagram of IC # 7402 IC (Quad 2 Input NOR Gate)

OBJECTIVE-2

Universal Gates: Universal Gates are those gates from which all other gates can be made.
NAND & NOR gates are called as Universal gates.

NOT Gate Using NAND:

A Y =A'

AND Gate Using NAND:

A
B
Y=A B

OR Gate Using NAND:

Y=A+B
B

XOR Gate Using NAND:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 4
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

A'
B

Y = A'B+AB'
A
B'
XNOR Gate Using NAND Gate:

A'
B'

A A'B' + AB
B

NOT Gate Using NOR:

A
Y =A'

AND Gate Using NOR:

B Y=A B

OR Gate Using NOR:

B Y=A+B
XOR Gate Using NOR:

A'
B'
Y= A'B +AB'
A
B

XNOR Gate Using NOR:


A'
B

A A'B' + AB
B'

PROCEDURE:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 5
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

1. Collect the components necessary to accomplish this experiment.


2. Plug the IC chip into the breadboard.
3. Connect the supply voltage and ground lines to the chips. PIN7 = Ground
and PIN14 = +5V.
4. According to the pin diagram of each IC mentioned above, wire only one
gate to verify its truth table.
5. Connect the inputs of the gate to the input switches of the LED.
6. Connect the output of the gate to the output LEDs.
7. Once all connections have been done, turn on the power switch of the
Breadboard.
8. Operate the switches and fill in the truth table ( Write "1" if LED is ON and
"0" if LED is OFF. Apply various combination of inputs according to the truth table
and observe the condition of Output LEDs.
OBSERVATION TABLES:

Truth Table of NAND Gate Truth Table of NOR Gate

INPUT OUTPUT
-----
A B Y= A+B
0 0 1
0 1 0
1 0 0
1 1 0

Truth Table 0f NOT Using NAND/NOR Gate Truth Table Of AND Using NAND/NOR Gate

INPUT OUTPUT
A B Y= AB
0 0 0
0 1 0
1 0 0
1 1 1

Truth Table of OR Using NAND/NOR Gate


DIGITAL LOGIC & CIRCUIT LAB MANUAL 6
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

INPUT OUTPUT
A B Y= A+B
0 0 0
0 1 1
1 0 1
1 1 1

Truth Table of XOR Using NAND/NOR Gate

INPUT OUTPUT Truth Table of XNOR Using NAND/NOR Gate


A B Y= A XOR B
0 0 0 INPUT OUTPUT
0 1 1 A B Y= A XNOR B
1 0 1 0 0 1
1 1 0 0 1 0
1 0 0
1 1 1

PRECAUTION: 1. All the connections should be made properly.


2. Identify all the pins of the IC before making the connection.

RESULT: Truth table of NAND and NOR gates are checked and other gates using NAND
/NOR gates are constructed and verified.

EXPERIMENT - 2

Basic gates, Code Convertor & Parity Generator and checker.


DIGITAL LOGIC & CIRCUIT LAB MANUAL 7
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

OBJECTIVES:
(i) Identification & verification of NOT (7404), AND (7408) OR (7432) & XOR (7486)
gates.
(ii) Designing, construction and verification of Binary to Gray convertor and Grey to
Binary convertor.
(iii) Design, construction and verification of 3-bit Parity Generator and 4-bit odd parity
checker circuit.

MATERIAL REQUIRED:
Sl. No. Equipment/ Component Name Specification Qty.
1 NOT Gate IC # 7404 1
2 AND Gate IC # 7408 1
3 OR Gate IC # 7432 1
4 XOR Gate IC # 7486 1
5 LED - 3
6 Resistor 330 Ω 3
7 Breadboard - 1
8 DC Power Supply 5 Volt 1
9 Connecting Wires - -
THEORY:

OBJECTIVE -1:

NOT Gate: The NOT gate is called an inverter. The output is high when the input is low.
The output is low when the input is high.

Pin Diagram of IC # 7404 (Hex Inverter):

AND Gate: The AND gate performs a logical multiplication commonly known as AND
function. The output is high when both the inputs are high. The output is low level when any
one of the inputs is low.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 8
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Pin Diagram of IC # 7408 (Quad 2 Input AND Gate):

OR Gate: The OR gate performs a logical addition commonly known as OR function.


The output is high when any one of the inputs is high. The output is low level when both
the inputs are low.

Pin Diagram of IC # 7432 (Quad 2 Input OR Gate):

OBJECTIVE-2:

3 Bit Binary To Gray Code Converter:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 9
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Truth Table:

Binary Input Gray Code O/P


B2 B1 B0 G2 G1 G0
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 1
0 1 1 0 1 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 1 0 1
1 1 1 1 0 0

Logic Functions: G2 = B2

G1 = B2 XOR B1

G0 = B1 XOR B0

Logic Diagram:

B2 G2

G1
B1

G0
B0

3 Bit Gray To Binary Code Converter:

Truth Table:

Gray Code Input Binary Code O/P


G2 G1 G0 B2 B1 B0
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 1
0 1 1 0 1 0
1 0 0 1 1 1
1 0 1 1 1 0
1 1 0 1 0 0
1 1 1 1 0 1

Logic Functions: B2 = G2

B1 = B2 XOR G1

B0 = B1 XOR G0
DIGITAL LOGIC & CIRCUIT LAB MANUAL 10
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Logic Diagram:

G2
B2

G1 B1

B0
G0

OBJECTIVE- 3:

3 Bit Even/Odd Parity Generator:

Basic Principle to generate the parity bit is “the module sum of even number of 1’s is
0 and the module sum of odd number of 1’s is 1. Parity Generator generates a bit to pair
with the code group so as to make the number of 1’s either odd or even as desired at the
transmitter side.

Truth Table:

Input Output
X Y Z Peven Podd
0 0 0 0 1
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 0

Logic Functions: Peven = X Y Z

Podd = X (Y Z)

Logic Diagram for 3 Bit Even Parity Generator:

X
Y
P
Z even

Logic Diagram for 3 Bit Odd Parity Generator:

X
Y
P
Z odd
DIGITAL LOGIC & CIRCUIT LAB MANUAL 11
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

4 Bit Even/Odd Parity Checker:

At Receiver, checks each code group to see that the total number of 1’s (including
Parity bit) is consistent with the agreed upon type of Parity (with Transmitter).

Logic Diagram:

X
Y

P
(Parity Bit) P
checker
1 (Even)
0 (Odd)

PROCEDURE:

1. Connect the circuit as shown in the circuit diagram.


2. Before switching ON power Supply, make sure that the connections are correct.
3. Apply the input logic as per Truth table in terms of +5 volts for state-1 and 0 volts for
state-0.
4. Observe the Output state.
5. Verify the truth table.
6. Repeat steps from 3 to 5 for all possible combination .
OBSERVATION TABLES:

Truth Table of NOT Gate: Truth Table of AND Gate:

INPUT OUTPUT
A B Y= AB
0 0 0
0 1 0
1 0 0
1 1 1

Truth Table of OR Gate: Truth Table of 3 Bit Binary to Gray Code Converter

Binary Input Gray Code O/P


B2 B1 B0 G2 G1 G0
0 0 0 0 0 0
0 0 1 0 0 1
DIGITAL LOGIC & CIRCUIT LAB MANUAL 12
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

0 1 0 0 1 1
0 1 1 0 1 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 1 0 1
1 1 1 1 0 0
Truth Table of 3 Bit Gray to Binary Code
Converter Truth Table of 3 Bit Even/Odd Parity Generator

Input Output
X Y Z Peven Podd
0 0 0 0 1
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 0

Truth Table of Parity Checker:

Input Output
X Y Z P Pchecker
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1

PRECAUTION: All connections should be made properly.

RESULT: Binary to Gary code, Gary to binary code converter and parity generator and
checker circuits are constructed and their truth tables are verified.
EXPERIMENT – 3

Adder, Subtractor, Magnitude comparator circuits.


OBJECTIVES:

(i) Design, construction and verification of Half Adder and Half Subtractor circuit.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 13
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

(ii) Design, construction and verification of Full Adder and Full Subtractor circuit.
(iii) Design, construction and verification of 1-bit and 4-bit Magnitude comparator.
MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 NOT Gate IC # 7404 1
2 AND Gate IC # 7408 1
3 OR Gate IC # 7432 1
4 XOR Gate IC # 7486 1
5 LED - 2
6 Resistor 330 Ω 2
7 Breadboard - 1
8 DC Power Supply 5 Volt 1
9 Connecting Wires - -
THEORY:
OBJECTIVE-1:
Half Adder: It adds two binary digits (A & B) results Sum output (S) and a Carry Output (C).
Truth Table:
Input Output
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1

Logic Functions: S = A B and C = AB

Logic Diagram:

A
S
B

Half Subtractor: It subtracts two binary digits (X & Y) results Difference output (D) & a
Borrow Output (B).

Truth Table:
Input Output
X Y D B
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
DIGITAL LOGIC & CIRCUIT LAB MANUAL 14
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Logic Functions: D = X Y and B = X’Y

Logic Diagram:

X
D
Y

OBJECTIVE-2:

Full Adder: It adds three binary digits (A, B & Cin). Cin is the carry resulted from the
previous addition. It gives a sum Output (S) and a Carry output (C out).

Truth Table:

Input Output
A B Cin S Cout
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1

-- -- -- -- -- --
Logic Functions: S = A B Cin + A B Cin + A B Cin + A B Cin
-- -- -- -- --
= Cin (A B + A B) + Cin (A B + A B)

= Cin A B

-- -- --
Cout = A B Cin + A B Cin + A B Cin + A B Cin
-- --
= Cin (A B + A B) + A B

= Cin (A B) + A B

Logic Diagram of Full Adder:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 15
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

A
B
S
Cin

Cout

Full Subtractor: It subtracts three binary digits (X, Y & Bin). Bin is the borrow input. It gives
a Difference Output (D) and a Borrow output (Bout).

Truth Table:

Input Output
X Y Bin D Bout
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1

-- -- -- -- -- --
Logic Functions: D = X Y Bin + X Y Bin + X Y Bin + X Y Bin
-- -- -- -- --
= Bin (X Y + X Y ) + Bin (X Y + X Y)

= Bin X Y
-- -- -- -- --
Bout = X Y Bin + X Y Bin + X Y Bin + X Y Bin
------------ ---
= Bin (X Y ) + X Y

Logic Diagram of Full Subtractor:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 16
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

X
Y
D
Bin

Bout

OBJECTIVE-3:

Magnitude Comparator:

It is a combinational logic circuit that compares two input binary quantities and
generates output to indicate which one has greater magnitude.

Truth Table of 1 bit Magnitude Comparator:

Input Output
A B A>B A=B A<B
0 0 0 1 0
0 1 0 0 1
1 0 1 0 0
1 1 0 1 0
Logic Functions: A > B = A’B

A=B = A’B’ + AB = A XNOR B

A < B = AB’

Logic Diagram:

A<B

A
A=B
B

A>B

4 Bit Magnitude Comparator:

7485 is a 4 Bit Magnitude Comparator IC. A0, A1, A2, A3 and B0, B1, B2, B3 are the
two binary inputs to be compared.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 17
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Pin Diagram of 7485 IC:

15 A3 (A>B)OUT 5
1 B3 (A=B)OUT 6
13 A2 (A<B)OUT 7
14 B2
12 A1
11
10
B1
A0
7485N
9 B0
4 (A>B)IN
3 (A=B)IN
2 (A<B)IN

PROCEDURE:

1. Verify the gates.


2. Make the connections as per the circuit diagram.
3. Switch on VCC and apply various combinations of input according to truth table.
4. Note down the output readings for half/full adder and half/full subtractor,
Sum/difference and the carry/borrow bit for different combinations of inputs
verify their truth tables.
5. Also verify the truth table of Parity Generator & Checker & Magnitude comparator
circuits.

PRECAUTION:

1. All the connections should be made properly.


2. IC should not be reversed.

RESULT: Combinational logic circuits like Half-adder, Full-adder, Half-subtractor,


Fullsubtractor, Parity Generator, Parity Checker & Magnitude Comparator
are constructed and truth tables are verified.

EXPERIMENT – 4
Decoder, Encoder, Multiplexer & De-Multiplexer
OBJECTIVES: (i) Construction and verification of BCD to 7-segment decoder using IC #7447.
(ii) Construction and verification of 8 to 3 line Encoder circuits.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 18
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

(ii) Verification of 4:1 MUX, 8:1 MUX & 16:1 MUX.


(iii) Verification of 1:4 DMUX, 1:8 DMUX
MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 NOT Gate IC # 7404 1
2 AND Gate IC # 7408 1
3 OR Gate IC # 7432 1
4 BCD to 7 Segment Decoder Driver IC #7447 1
IC
5 8:1 MUX IC IC # 74151 1
6 16:1 MUX IC IC # 74150 1
7 1:8 DEMUX IC IC # 74138 1
5 7 Segment Display (Common - 1
Anode type)
5 LED - 4
6 Resistor 330 Ω 4
7 Breadboard - 1
8 DC Power Supply 5 Volt 1
9 Connecting Wires - -
THEORY:
OBJECTIVE 1:
BCD to 7 Segment Decoder Driver:

7447 is a BCD to 7 Segment decoder driver IC.


D C B A are the BCD inputs. D is MSB and A is LSB of the BCD input.
a, b, c, d, e, f, g are active low outputs of the IC.
Display test is an active low input. When Display Test = 0, all the output of the ICs becomes
low. This input is used to test all the segments of display working or not.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 19
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Blank output and Blank input are used to blank the digit zero on the display.
VCC 5V

U2
7 Com
13
A OA U3
A 1 12
B OB SEVEN_SEG_COM_K
2
B C OC
11
6 10
C D OD
9 AB CDE FG
D 3 OE
15
5 LT OF
14
4 RBI OG
BI/RBO
7447N

CIRCUIT DIAGRAM OF SEVEN SEGMENT DISPLAY USING IC 7447

OBJECTIVE-2 8 to 3 line Encoder:

OBJECTIVE-3
MULTIPLEXER: It selects one input among many at a time and sends it to the output line.
For an n – input MUX, m select inputs are required, where n = 2m.
4:1 MUX: 4 inputs (I0, I1, I2, I3) and 2 select inputs (S0, S1)
Block Diagram of 4:1 MUX:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 20
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Logic Function: Y = S1’ S0’ I0 + S1’ S0 I1 + S1 S0’ I2 + S1 S0 I3


Logic Circuit diagram of 4:1 MUX:
S1 S0

I0

I1

I2 Y

I3

8:1 MUX: 74151 is 8:1 multiplexer IC.

4 I0 Y 5
3 I1
2 I2 ~W 6
1 I3
15 I4
14 I5
13 I6
12 I7
11 S0
10 S2
9 S1
7 E

74151N 8 10
E0 W
7 E1
16:1 MUX: 74150 is 16:1 multiplexer IC 6
5
E2
E3
4 E4
3 E5
2 E6
1 E7
23 E8
22 E9
21 E10
20 E11
19 E12
18 E13
17 E14
16 E15
15 A
14 B
13 C
11 D
9 G
OBJECTIVE - 4
74150N
DEMULTIPLEXER: Accepts a single input and distributes it
on one among several outputs
according to selector input value.
1:4 DEMUX: 2 select inputs and 4 output lines.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 21
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Block Diagram:

Logic Function: D0 = S1’ S0’ I D1 = S1’ S0 I D2 = S1 S0’ I D3 = S1 S0 I


Logic Circuit Diagram of 1:4 DEMUX:
S1 S0

I
Y0

Y1

Y2

Y3

74138 IC can be used as 1:8 DEMUX.


PROCEDURE:
1. Connect the circuit as shown in the circuit diagram.
2. Before switching ON power supply, make sure that the connection are correct.
3. Verify the displayed digit with decimal equivalent of applied input BCD code.
4. For Multiplexer and De-multiplexer, apply the input logic state code mentioned in
observation Table in terms of +5 volts for state-1 and 0 volts for state-0.
5. Observe the output states.
6. Repeat steps from 4 to 5 for all possible combination.

OBSERVATION TABLES:
OBJECTIVE – 1: BCD to 7 Segment Decoder

BCD Input 7 Segment Display Output Decimal


Digit
DIGITAL LOGIC & CIRCUIT LAB MANUAL 22
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Display
D C B A a b c d e f g
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
.
.
.
.
1 0 0 1

OBJECTIVE – 2: Truth Table of 8 to 3 line Encoder

OBJECTIVE – 3: Truth Table of 4:1 Multiplexer Truth Table of 8:1 Multiplexer

Select
Output
Inputs
S1 S0 Y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
DIGITAL LOGIC & CIRCUIT LAB MANUAL 23
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Select Inputs Output


S2 S1 S0 Y
0 0 0 I0
0 0 1 I1
0 1 0 I2
0 1 1 I3
1 0 0 I4
1 0 1 I5
1 1 0 I6
1 1 1 I7

OBJECTIVE – 3: Truth Table of 1:4 De-Multiplexer:

Data Select
Outputs
Input Inputs
I S1 S0 Y0 Y1 Y2 Y3
1 0 0 1 0 0 0
1 0 1 0 1 0 0

1 1 0 0 0 1 0

1 1 1 0 0 0 1

PRECAUTION: All the connections should be made properly.

RESULT: By 7447 and seven segment display, the display of decimal digits from 0 to 9
is done and the truth tables of multiplexer and de-multiplexer are verified.

EXPERIMENT – 5

Latches, S-R FF, J-K FF, D-FF , T-FF & M-S J-K Flip Flops.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 24
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

OBJECTIVES:
(i) Construction and Verification of a Latch circuit using NAND/NOR gates.
(ii) Construction and Verification of S-R Flip Flop using above Latch circuits.
(iii) Verification of J-K Flip Flop using IC # 7476 (Dual J-KFF)
(iv) Construction and Verification of D-Flip Flop and T-Flip Flop using J-K FF(IC #7476).
(v) Construction and Verification of Master Slave J-K Flip Flop.

MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 NAND Gate IC # 7400 1
2 NOR Gate IC # 7402 1
3 NOT Gate IC # 7404 1
4 J K FF IC # 7476 1
5 LED - 2
6 Resistor 330 Ω 2
7 Breadboard - 1
8 DC Power Supply 5 Volt 1
9 Connecting Wires - -
THEORY:

OBJECTIVE-1:

LATCH: 1 Bit information can be locked or latched. It consists of two inverters. There
is no provision to get any desired digital information we wish to store in the latch.

Latch circuit using NAND Gates:

Latch circuit using NOR Gates:


Q'
Q

Q'

OBJECTIVE – 2

S -R FLIP-FLOP:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 25
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

S
Q

CLK

Q'
R

Clock input determines when the state of the flip-flop to be changed.

OBJECTIVE – 3

J-K FLIP-FLOP: 7476 is a dual negative edge triggered J-K Flip-flop IC.

Pin Diagram of 7476 IC:

Block Diagram of J-K FF:

2
~PRE
4 J Q 15
1 CLK
16 1K ~Q 14

~CLR

OBJECTIVE – 4

D Flip-flop using J-K (7476 IC):


DIGITAL LOGIC & CIRCUIT LAB MANUAL 26
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

2
~PRE
D 4 15
J Q
1 CLK
16 1K ~Q 14

~CLR
3

T Flip-flop using J-K (7476 IC):

2
~PRE
4 15
T J Q
1 CLK
16 1K ~Q 14

~CLR
3

OBJECTIVE – 5:

Master Slave J-K FF:

PROCEDURE:

1. Connections are made as per the circuit diagram


DIGITAL LOGIC & CIRCUIT LAB MANUAL 27
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

2. Switch on the power supply

3. Apply different combinations of inputs and observe the outputs.

OBSERVATION TABLES:

OBJECTIVE- 1: LATCH

Q Q’
0 1
1 0

OBJECTIVE-2: Truth Table of S-R FF

CLK S R Qn+1 Qn+1’


1 0 0 Qn Q n’ No Change
1 0 1 0 1 Set
1 1 0 1 0 Reset
1 1 1 1 1 Invalid
Qn+1 = Next Output State, Qn = Present Output State

OBJECTIVE-3: Truth Table of J-K FF

PRE CLR CLK J K Qn+1 Qn+1’


0 1 Π x x 1 0 Set
1 0 Π x x 0 1 Reset
1 1 Π 0 0 Qn Q n’ No Change
1 1 Π 0 1 0 1 Set
1 1 Π 1 0 1 0 Reset
1 1 Π 1 1 Qn’ Qn Toggle
OBJECTIVE-4: Truth Table of D FF

CLK D Q Q’
Π 0 0 1
Π 1 1 0

Truth Table of T FF

CLK T Qn+1 Qn+1’


Π 0 Qn Qn’ No change

Π 1 Qn’ Qn Toggle
DIGITAL LOGIC & CIRCUIT LAB MANUAL 28
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

OBJECTIVE-5: Truth Table of Master Slave J-K FF

CLK J K Qn+1 Qn+1’


Π No Change
0 0 Qn Q n’
Π 0 1 0 1 Set

Π 1 0 1 0 Reset

Π 1 1 Qn’ Qn Toggle

PRECAUTIONS: All the connections should be made properly.

RESULT: Latch using NAND and NOR gates, and different flip-flops are constructed and
verified their truth tables.

EXPERIMENT – 6

Shift Left & Sift Right registers, SISO, SIPO, PISO & PIPO Shift registers.

OBJECTIVES: (i) Verification of D-FF using IC # 7474 (Dual D- FF).


(ii) Construction and verification of a 2-bit Shift Right Register using IC # 7474.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 29
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

(iii) Construction and verification of a 2-bit Shift Left Register using IC # 7474.
(iv) Verification of SISO, SIPO, PISO & PIPO Shift Registers.

MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 D Flip flop IC # 7474 1
2 AND Gate IC # 7408 1
3 NOT Gate IC # 7404 1
4 OR Gate IC # 7432 1
5 LED - 2
6 Resistor 330 Ω 2
7 Breadboard - 1
8 DC Power Supply 5 Volt 1
9 Function Generator (Clk Pulse) 3 MHz 1
10 Connecting Wires Single Strand -
THEORY:

OBJECTIVE-1: D Flip-flop:

7474 is D Flip-flop IC. It consists of two positive triggered D Flip-flops.


Pin Diagram of 7474 IC:

Block Diagram of D Flip-flop:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 30
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

4
~PRE1
2 D1 Q1 5

3 CLK1 ~Q1 6

~CLR1
1

OBJECTIVE-2: 2 Bit Shift Right Register using D Flip-flops:


4 Q1 4
Q2
~PRE1 ~PRE2
Data Input Data Output
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

~CLR1 ~CLR2
1 1

OBJECTIVE-3: 2 Bit Shift left Register using D Flip-flops:

Data
Output
4 4
Data
~PRE1 Q1 Input ~PRE2
Q2
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

~CLR1 ~CLR2
1 1

OBJECTIVE- 4:

Serial In Serial out (SISO) Shift Register:

4 4
Q2
~PRE1 ~PRE2
Serial Data Input Serial Data Output
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

~CLR1 ~CLR2
1 1

Serial in Parallel out (SIPO) Shift Register:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 31
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Parallel Output Data

4 Q1 4
Q2
~PRE1 ~PRE2
Serial Data Input
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

~CLR1 ~CLR2
1 1

Parallel In Serial Out (PISO) Shift Register:

Shift/Load = 0, input data D1 & D2 load into the Flip-flop.

Shift/Load = 1, data shifted from one flip-flop to other.

____
Shift/Load
D2

D1
4 4
Q2
~PRE1 ~PRE2
Serial Data Out
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

CLK ~CLR1 ~CLR2


1 1

Parallel in Parallel out (PIPO) Shift Register:

Parallel Input Data

D1 D2
4 4
~PRE1 ~PRE2
2 D1 Q1 5 2 D2 Q2 5

3 CLK1 ~Q1 6 3 CLK2 ~Q2 6

~CLR1 ~CLR2
1 1

Q1 Q2
Parallel Output Data

PROCEDURE:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 32
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Serial In Serial Out (SISO):

1. Connections are made as per circuit diagram.


2. Load the shift register with 2 bits of data one by one serially.
3. At the end of 2nd clock pulse the first data ‘d1’ appears at Q2.
4. Apply another clock pulse; the second data ‘d2’ appears at Q2.
5. Thus the data applied serially at the input D1 comes out serially at Q2.

Serial In Parallel Out (SIPO):

1. Connections are made as per circuit diagram.


2. Apply the data at serial data i/p.
3. Apply one clock pulse at clock (Right Shift) observe this data at Q1.
4. Apply the next data at serial i/p.
5. Apply one clock pulse at clock, observe that the data on Q1 will
shift to
Q2 and the new data applied will appear at Q1.

Parallel In Serial Out (PISO):

1. Connections are made as per circuit diagram.


2. Apply the desired 2 bit data at D1 and D2.
3. Keeping the control input Shift/Load = 0 apply one clock pulse.
The data
applied at D1 and D2 will appear at Q1 and Q2 respectively.
4. Now keep the control input Shift/Load = 1, apply clock pulses
one by
one and observe the Data coming out serially at Q2.

Parallel In Parallel Out (PIPO):

1. Connections are made as per circuit diagram.


2. Apply the 2 bit data at D1 and D2.
3. Apply one clock pulse at clock input, the 2 bit data at D1 and D2 appears at Q1 and
Q2 respectively.

OBSERVATION TABLES:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 33
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

OBJECTIVE-1: Truth table of D Flip-flop:

PRE CLR CLK D Q Q’


1 1 Π 0 0 1
1 1 Π 1 1 0

OBJECTIVE-2: For 2 Bit Right Shift Register

CLK Data Q1 Q2
0
1 0
0
Π 1 1

Π 1

For 2 Bit Left Shift Register

CLK Q1 Q2 Data

0 1
0

Π 1 1
0

Π 1 1

OBJECTIVE-3: Serial in Serial out Shift Register

Serial Serial Data


CLK Data I/P Q1 O/P
(D1) (Q2)

1 0 0
Π 1 1 0
Π 1 1 1

Serial in Parallel out Shift Register


Serial Parallel Data
CLK
Data I/P o/p
D1 Q1 Q2
1 0 0
Π 1 1 0
Π 1 1 1
DIGITAL LOGIC & CIRCUIT LAB MANUAL 34
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Parallel in Serial out Shift Register

Serial
Parallel Data
Data
Input
Output
Shift/Load CLK D1 D2 Q1 Q2
0 1 1 0 0
0 Π 1 1 1 1
1 Π 0 0 0 1

Parallel in Parallel out shift Register

Parallel Data Parallel Data


Input Output
CLK D1 D2 Q1 Q2
1 1 0 0
Π 1 1 1 1

PRECAUTION: All the connections should be made properly.

RESULT: Shifting of data bits in various types of shift registers observed.

EXPERIMENT – 7

Synchronous & Asynchronous Up/Down, Mod-N & Mod<N Counters.


OBJECTIVES:
(i) Construction and verification of 2-bit Ripple counter using J-K FF.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 35
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

(ii) Construction and verification of Mod-3 up and Mod-3 down synchronous counter.
(iii) Construction and verification of 2-bit Ring counter using J-K FF.
(iv) Construction and verification of 2-bit twisted Ring (Johnson) counter using J-K FF.

MATERIAL REQUIRED:

Sl. No. Equipment/ Component Name Specification Qty.


1 J K FF IC # 7476 1
2 LED - 2
3 Resistor 330 Ω 2
4 Breadboard - 1
5 DC Power Supply 5 Volt 1
6 Function Generator (Clock Pulse) 3 MHz 1
7 Connecting Wires Single Strand -
THEORY

OBJECTIVE-1: Ripple Counter:

Ripple counter is the simplest type of counter in which flip-flops are not clocked
simultaneously. The output of previous FF becomes the clock input for next FF. The inputs J
and K of the FF are connected to logic 1.

2 Bit Ripple Counter Using J-K Flip-flop:

2 Flip-flops are required.

Logic Circuit Diagram:

Q0 Q1

1 1 1 1
~PRE ~PRE

J0 Q0 J1 Q1

CLK CLK

K0 ~Q0 K1 ~Q1
CLK
~CLR ~CLR

1
1

Counting Table:

CLK Q1 Q0 Counting
State
0 0 0
Π 0 1 1
Π 1 0 2
Π 1 1 3
DIGITAL LOGIC & CIRCUIT LAB MANUAL 36
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

OBJECTIVE-2: Mod 3 UP Synchronous Counter:

Synchronous counters are the counters which are clocked such that each FF in the
counter is triggered at the same time.

For Mod 3 Counter, 2 FFs are required.

Design

Step -1 : State Transtion Diagram

Step-2:

Present Next Required Flip-Flop


Counting State Counting Inputs
State
Q1 Q0 Q1 Q0 J1 K1 J0 K0

0 0 0 1 0 X 1 X

0 1 1 0 1 X X 1

1 0 0 0 X 1 0 X

Step-3: Using K-map, Find the desired value for J0, K0, J1 & K1

For J1 For K1

Q0
Q1 0 1
0 0 1
1 X X
DIGITAL LOGIC & CIRCUIT LAB MANUAL 37
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

J1 = Q0 K1 = 1

For J0 For K0

Q0
Q1 0 1
0 1 X
1 0 X J0 = Q1’ K0 = 1

LOGIC CIRCUIT DIAGRAM (3 Bit Up Synchronous Counter):

Q0 Q1

1 1
~PRE ~PRE

J0 Q0 J1 Q1
CLK CLK
K0 ~Q0 K1 ~Q1
CLK 1 ~CLR
1 ~CLR

1
1

Similar way we can design the circuit for Mod 3 down synchronous counter

Logic Circuit Diagram (3 Bit down synchronous counter):

Q0 Q1

1 1
~PRE ~PRE

J0 Q0 J1 Q1
CLK CLK
K0 ~Q0 K1 ~Q1
CLK 1 1
~CLR ~CLR

1
1

OBJECTIVE-3: 2 Bit Ring Counter

Ring Counter is a SISO shift register with the output of last flip-flop is connected back
to input of the first flip-flop.

Logic Circuit Diagram:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 38
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Q0 Q1

1 1
~PRE ~PRE

J0 Q0 J1 Q1
CLK CLK
K0 ~Q0 K1 ~Q1
CLK
~CLR ~CLR

1
1

Counting Table:

PRE1 CLR1 CLK Q1 Q0


Initial 0 1 X 1 0
Setting
1 1 Π 0 1
1 1 Π 1 0
1 1 Π 0 1
OBJECTIVE- 4: 2 Bit Twisted Ring (Johnson)
Counter

In this, output of each flip-flop stage is connected to the input of next stage but Q’
output of last stage is connected to input of first stage.

Logic circuit diagram:

Q0 Q1

1 1
~PRE ~PRE

J0 Q0 J1 Q1
CLK CLK

K0 ~Q0 K1 ~Q1
CLK
~CLR ~CLR

1
1

Counting Table:

CLK Q1 Q0
0 0
Π 0 1
Π 1 1
Π 1 0
PROCEDURE: Π 0 0
DIGITAL LOGIC & CIRCUIT LAB MANUAL 39
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

1. Connections are made as per the logic circuit diagram.

2. Switch on the power supply.

3. Apply clock pulses and note the outputs after each clock pulse of counters.

4. Verify the counting table.

PRECAUTIONS:

1. All the connections should be made properly.

2. IC should not be reversed.

RESULT: Asynchronous and Synchronous counters are constructed and their counting tables
are verified.

EXPERIMENT -8

Astable & Monostable Multivibrators using Timer- 555

OBJECTIVES: 1. Construction of Astable MV using Timer-555 and measuring the following


parameters on CRO and compare them with their theoretical values:
a) Charging time TON = 0.693 (RA + RB)C1 (Theoretical)
DIGITAL LOGIC & CIRCUIT LAB MANUAL 40
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

b) Discharging time TOFF = 0.693 RB C1 (Theoretical)


c) Total time period and Frequency, T = (TON+TOFF), f = 1/T
d) % Duty cycle = (TON / T )x 100
2. Construction of Monostable MV using Timer-555 and measuring the time
period and frequency of waveform on CRO and compare them with their
theoretical values.
a) Time period TP = 1.1 RC (theoretical)
b) Frequency f = 1 / TP

MATERIAL REQUIRED:

Sl.
Equipment/ Component Name Specification Qty.
No.
1 555 Timer 555 1
2 Potentiometer 100KΩ 2
3 Capacitor 0.01µF 2
4 Breadboard - 1
5 Cathode Ray Oscilloscope 30 MHz 1
6 DC Power Supply 5 Volt 1
7 Connecting Wires Single Strand -
THEORY:
OBJECTIVE -1
Pin Diagram of 555 Timer:

GND + Vcc

Discharge
Trigger
IC 555
Threshold
output
Control voltage
Reset
ASTABLE MULTIVIBRATOR
An astable multivibrator is a multivibrator with no stable state. It has two states and
both of them are quasi-stable. The moment it is connected to the supply, it keeps on
switching back and forth between its quasi-stable states.
Astable Multivibrator Using 555 Timer:
Circuit Diagram:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 41
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Vcc = 5V/12V

RA
33kohm
8

4 VCC
RB RST
7 3
Vout
30-60Kohm
6 DIS OUT
2 THR 555
TRI
5 TIMER
CON
GND
1
0.01uF
0.01uF

Fig. ASTABLE MULTIVIBRATOR USING TIMER 555

The capacitor C1 charges through the resistance RA and RB and discharges through the
resistance RB only. The capacitor charges and discharges between 1/3 Vcc to 2/3 Vcc.
Charging time of the capacitor is given by = TON = 0.693 (RA+RB) C1
Discharging time of the capacitor = TOFF = 0.693 RB C1
Time Period = T = TON +TOFF = 0.693 (RA + 2 RB) C1
Frequency of Oscillation = f = 1 / T.
% of Duty Cycle = (TON/ T) x 100.

PROCEDURE:

1. Connect the circuit diagram as shown in the circuit diagram.


2. Before switch ON the power supply, make sure that the connections are correct.
3. Connect the C.R.O. probe at terminals 3 and ground.
4. Observe the output waveform for different RB (Take RB = 30 K ohm and 60 K
ohm).
5. Tabulate the reading of TON, TOFF and T in Observation Table.
6. Calculate % duty cycle.
OBSERVATION TABLE:
At Vcc =5 V and RA = 33 KΩ.
DIGITAL LOGIC & CIRCUIT LAB MANUAL 42
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Sl No RB Theoretical Measured Time Peroid Time Period % Duty


Value Value Cycle
(K) (Theoritical (Measured
from CRO
Value) = (TON/
TON TOFF TON TOFF Value)
T) x 100
(ms) (ms) (ms (ms T = TON +TOFF
T = TON +TOFF
) )

1 30

2 60

OBJECTIVE – 2

MONOSTABLE MULTIVIBRATOR:

It has one stable state. When triggered, it changes from its stable state to quasi-
stable state and returns back to its stable state.

MONOSTABLE MULTIVIBRATOR USING 555 TIMER.

Circuit Diagram:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 43
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

+Vcc

8
50%
4 VCC
RST
7 3
6 DIS OUT Vout
2 THR
C TRI
5
8200pF CON
GND
Trigger 1
C2
2200pF

Fig. MONOSTABLE MULTIVIBRATOR USING TIMER 555

When Timer 555 is connected in monostable mode, trigger input is given through pin 2.

Time Period of the pulse =TP = 1.1 RC, frequency = f = 1/ TP

PROCEDURE:

1. Connect the circuit diagram as shown in the circuit diagram.


2. Before switch ON Power Supply, make sure that the connections are correct.
3. Connect the C.R.O. probe at terminals 3 and ground.
4. Observe the output waveforms for different values of R.
5. Tabulate the reading of Pulse Width as TP in observation table.

OBSERVATION TABLE:

Sl R Theoretical Pulse Measured Pulse


Width Width
No. (K)
TP=1.1 x Rx C From CRO

1 30

2 40

3 50

PRECAUTION: Don’t Exceed the Vcc rating of 555 Timer.

RESULT: Verified the working of 555 Timer as Astable and Monostable mutivibrator and
DIGITAL LOGIC & CIRCUIT LAB MANUAL 44
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Measured the Pulse period and duty cycle of the waveform.

EXPERIMENT – 9

Digital to Analog Converter (DAC) and Analog to Digital Converter (ADC).


OBJECTIVES: 1. Construction & Verification of D/A converters using following methods.
a) Weighted Resistor type
b) R-2R ladder network type
2. Construction & Verification of A/D Converter using following methods.
a) Counter type
b) Successive Approximation type.

MATERIAL REQUIRED:

Sl.
Equipment/ Component Name Specification Qty.
No.
1 DAC Trainer Kit - 1
2 ADC Trainer Kit - 1
3 Digital Multimeter - 1
4 DC Power Supply 0-30V 1
THEORY: OBJECTIVE -1:

4 Bit Weighted Resistor Type DAC:

Circuit Diagram:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 45
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA
Vref = 5V
R/2
GND
B3
Vcc
R

B2
2R
Vout

B1
4R Vee

B0 8R

Op-amp is connected in the inverting mode.

4 Binary inputs (B0, B1, B2 and B3) results, 24 = 16 analog output values.

Working:

Voltage across 8R resistor due to B0 input is Vref x B0.

Vout due to B0 input will be V1 = - (Vref/16).B0

Voltage across 4R resistor due to B1 input is Vref x B1.

Vout due to B1 input will be V2 = - (Vref/8).B1

Voltage across 2R resistor due to B2 input is Vref x B1.

Vout due to B2 input will be V3 = - (Vref/4).B2.

Voltage across R resistor due to B3 input is Vref x B3.

Vout due to B3 input will be V2 = - (Vref/2).B3.

According to superposition principle,

o/p voltage op-amp (Vout) due to all four inputs (B0, B1, B2 and B3) is

= V1 +V2+ V3 + V4
= - Vref { (B0/16) + (B1/8) + (B2/4) + (B3/2)}

R – 2R Ladder type DAC

Circuit Diagram:
DIGITAL LOGIC & CIRCUIT LAB MANUAL 46
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

2R

Vcc
R R R 2R

2R 2R 2R 2R
2R
Vout

B1 Vee
B3 B2 B0

GND

Vref = 5V

The Output voltage is given as

Vout = - Vref { B3 + (B2/2) + (B1/4) + (B0/8)}

PROCEDURE:

1. Connect the wires in the Trainer kit as per the circuit diagram.
2. Connect reference voltage point Vref to +5 Volt.
3. Apply different combination of 4 bit binary inputs (B0, B1, B2 and B3) and
measure the analog voltage at the output of op-amp (Vout) by multimeter.
4. Tabulate the readings in the observation table.

OBSERVATION TABLE FOR DAC:

Vref = 5 Volt

Digital Inputs Analog Output Voltage


Vout in Volt Vout in Volt
B3 B2 B1 B0
(Theoretical Value) (Practical Value)
0 0 0 0
0 0 0 1
0 0 1 0
.
.
.
.
1 1 1 1

OBJECTIVE – 2
DIGITAL LOGIC & CIRCUIT LAB MANUAL 47
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

ANALOG TO DIGITAL CONVERTER:

Counter Type ADC:

The Counter type ADC is the basic type of ADC which is also called as digital ramp
type ADC or stair case approximation ADC. This circuit consists of N bit counter, DAC and Op-
amp comparator as shown in below figure.

The N bit counter generates an n bit digital output which is applied as an input to the
DAC. The analog output corresponding to the digital input from DAC is compared with the
input analog voltage using an op-amp comparator. The op-amp compares the two voltages
and if the generated DAC voltage is less, it generates a high pulse to the N bit counter as a
clock pulse to increment the counter. The same process will be repeated until the DAC
output equals to the input analog voltage.
If the DAC output voltage is equal to the input analog voltage, then it generates low
clock pulse and it also generates a clear signal to the counter and load signal to the storage
resistor to store the corresponding digital bits. These digital values are closely matched with
the input analog values with small quantization error.
The maximum conversion of Counter type ADC is = (2N-1) T
Where, T is the time period of clock pulse.
If N=2 bit then the Tmax = 3T.

Successive Approximation Type ADC:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 48
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

PROCEDURE:

1. Connect the wires in the Trainer kit as per the circuit diagram.
2. Apply analog voltage at the input and observe digital output from the output
LEDs of the trainer kit.
3. Tabulate the readings in the observation table.

OBSERVATION TABLE FOR ADC:

For Counter type ADC:

Analog Input Digital Outputs


Voltage (Vi in Volt) D3 D2 D1 D0

For Successive Approximation Type ADC:


DIGITAL LOGIC & CIRCUIT LAB MANUAL 49
NATIONAL INSTITUTE OF TECHNOLOGY, PATNA

Analog Input Digital Outputs


Voltage (Vi in Volt) D7 D6 D5 D4 D3 D2 D1 D0

PRECAUTION: Connection in the kit should be made properly.

RESULT: Verified the conversion of digital input to analog voltage through weighted resistor
and R-2R ladder type DAC. Also verified the conversion of analog voltge into digital
quantity by counter type and successive approximation method.

Вам также может понравиться