Digital Electronics Lab Experiments 2024
Digital Electronics Lab Experiments 2024
LAB EXPERIMENTS
EXPERIMENT NO: 1
Aim: - Introduction to Digital Electronics Lab- Nomenclature of Digital
Ics, Specifications, Study of the Data Sheet, Concept of Vcc and Ground,
Verification of the Truth Tables of Logic Gates using TTL Ics.
APPARATUS REQUIRED: Power Supply, Digital Trainer Kit., Connecting Leads,
IC‟s (7400, 7402, 7404, 7408, 7432, and 7486)
BRIEF THEORY:
AND Gate: The AND operation is defined as the output as (1) one if and only if all the
inputs are (1) one. 7408 is the two Inputs AND gate IC.A&B are the Input terminals &Y
is the Output terminal.
Y = A.B
OR Gate: The OR operation is defined as the output as (1) one if one or more than 0
inputs are (1) one. 7432 is the two Input OR gate IC. A&B are the input terminals & Y is
the Output terminal.
Y=A+B
NOT GATE: The NOT gate is also known as Inverter. It has one input (A) & one output
(Y). IC No. is 7404. Its logical equation is,
Y = A NOT B, Y = A‟
NAND GATE: The IC no. for NAND gate is 7400. The NOT-AND operation is known
as NAND operation. If all inputs are 1 then output produced is 0. NAND gate is inverted
AND gate.
Y = (A. B)‟
NOR GATE: The NOR gate has two or more input signals but only one output signal. IC
7402 is two I/P IC. The NOT- OR operation is known as NOR operation. If all the inputs
are 0 then the O/P is 1. NOR gate is inverted OR gate.
Y = (A+B)‟
EX-OR GATE: The EX-OR gate can have two or more inputs but produce one output.
7486 is two inputs IC. EX-OR gate is not a basic operation & can be performed using
basic gates.
Y=A B
LOGIC SYMBOL:
. Logic Symbol of Gates
PROCEDURE:
(a) Fix the IC‟s on breadboard & give the supply.
(b) Connect the +ve terminal of supply to pin 14 & -ve to pin 7.
(c) Give input at pin 1, 2 & take output from pin 3. It is same for
all except NOT & NOR IC.
(d) For NOR, pin 1 is output & pin 2&3 are inputs.
(e) For NOT, pin 1 is input & pin 2 is output.
(f) Note the values of output for different combination of inputs
& draw the TRUTH TABLE.
OBSERVATION TABLE:
INPUTS OUTPUTS
A’ A+B (A+B)’ (A*B) (A*B )’ (A B)
A B
NOT OR NOR AND NAND Ex-OR
0 0 1 0 1 0 1 0
0 1 1 1 0 0 1 1
1 0 0 1 0 0 1 1
1 1 1
RESULT: We have learnt all the gates ICs according to the IC pin diagram.
PRECAUTIONS:
Ans. Gates are the digital circuits, which perform a specific type of logical operation.
EXPERIMENT NO: 2
Aim: Implementation of the Given Boolean Function using Logic Gates in
Both SOP and POS Forms.
APPARATUS REQUIRED: Power Supply, Digital Trainer, IC‟s (7404, 7408,
7432) Connecting leads.
BRIEF THEORY: Karnaugh maps are the most extensively used tool for simplification
of Boolean functions. It is mostly used for functions having up to six variables beyond
which it becomes very cumbersome. In an n-variable K-map there are 2ⁿ cells. Each cell
corresponds to one of the combination of n variable, since there are 2ⁿ combinations of n-
variables. Gray code has been used for the identification of cells.
LOGIC DIAGRAM
SOP form
POS Form
PROCEDURE:
(a) With given equation in SOP/POS forms first of all draw a K-
map.
(b) Enter the values of the O/P variable in each cell corresponding
to its Min/Max term.
(c) Make group of adjacent ones.
(d) From group write the minimized equation.
(e) Design the ckt. of minimized equation & verify the truth table.
PRECAUTIONS:
1) Make the connections according to the IC pin diagram.
2) The connections should be tight.
3) The Vcc and ground should be applied carefully at the specified pin only.
EXPERIMENT NO: 3
Aim: Verification of State Tables of Rs, J-k, T and D Flip-Flops using
NAND & NOR Gates
APPARATUS REQUIRED: IC‟ S 7400, 7402 Digital Trainer & Connecting
leads.
BRIEF THEORY:
RS FLIP-FLOP: There are two inputs to the flip-flop defined as R and S. When
I/Ps R = 0 and S = 0 then O/P remains unchanged. When I/Ps R = 0 and S = 1 the
flip-flop is switches to the stable state where O/P is 1 i.e. SET. The I/P condition
is R = 1 and S = 0 the flip-flop is switched to the stable state where O/P is 0 i.e.
RESET. The I/P condition is R = 1 and S = 1 the flip-flop is switched to the stable
state where O/P is forbidden.
D FLIP –FLOP: This kind of flip flop prevents the value of D from reaching
the Q output until clock pulses occur. When the clock is low, both AND gates
are disabled D can change value without affecting the value of [Link] the other
hand, when the clock is high, both AND gates are enabled. In this case, Q is
forced to equal the value of D. When the clock again goes low, Q retains or
stores the last value of D. a D flip flop is a bistable circuit whose Dinput is
transferred to the output after a clock pulse is received.
CIRCUIT DIAGRAM:
SR Flip Flop D Flip Flop
PROCEDURE:
1. Connect the circuit as shown in figure.
2. Apply Vcc & ground signal to every IC.
3. Observe the input & output according to the truth table.
TRUTH TABLE:
SR FLIP FLOP:
CLOCK S R Qn+1
1 0 0 NO CHANGE
1 0 1 0
1 1 0 1
1 1 1 ?
D FLIPFLOP:
INPUT OUTPUT
0 0
1 1
JK FLIPFLOP
CLOCK S R Qn+1
1 0 0 NO CHANGE
1 0 1 0
1 1 0 1
1 1 1 Qn’
T FLIPFLOP
CLOCK S R Qn+1
1 0 1 NO CHANGE
1 1 0 Qn’
PRECAUTIONS:
EXPERIMENT NO: 4
Aim:- Implementation and Verification of Decoder/De-Multiplexer and
Encoder using Logic Gates.
BRIEF THEORY:
For an 8-to-3 binary encoder with inputs I0-I7 the logic expressions of the outputs
Y0-Y2 are:
Y0 = I1 + I3 + I5 + I7
Y1= I2 + I3 + I6 + I7
Y2 = I4 + I5 + I6 +I7
LOGIC DIAGRAM:
1:4 Demux
PROCEDURE:
1) Connect the circuit as shown in figure.
2) Apply Vcc & ground signal to every IC.
3) Observe the input & output according to the truth table.
OBSERVATION TABLE:
RESULT: Encoder/ decoder and demultiplexer have been studied and verified.
PRECAUTIONS:
output is going to have the same value as the data input. The other data outputs will
have the value 0.
Q. 3 What do you understand by encoder?
Ans. An encoder or multiplexer is therefore a digital IC that outputs a digital code
based on which of its several digital inputs is enabled.
Q. 4 What is the main difference between decoder and demultiplexer?
Ans. In decoder we have n input lines as in demultiplexer we have n select lines.
Q. 5 Why Binary is different from Gray code?
Ans. Gray code has a unique property that any two adjacent gray codes differ by only
a single bit.
Q. 6 Write down the method of Binary to Gray conversion.
Ans. Using the Ex-Or gates.
Q. 7 Convert 0101 to Decimal.
Ans. 5
Q. 8 Write the full form of ASCII Codes?
Ans. American Standard Code for Information Interchange.
Q.9. If a register containing 0.110011 is logically added to register containing
0.101010 what would be the result?
Ans.111011
[Link] code is a weighted code or not?
Ans. Yes
EXPERIMENT NO : 5
Aim: Implementation of 4x1 Multiplexer using Logic Gates.
APPARATUS REQUIRED: Power Supply, Digital Trainer, Connecting Leads, IC‟s
74153(4x1 multiplexer).
BRIEF THEORY:
PIN CONFIGURATION;–
IC 74153 (4x1 multiplexer)
LOGIC DIAGRAM:
PROCEDURE:
1. Fix the IC's on the bread board &give the input supply.
2. Make connection according to the circuit.
3. Give select signal and strobe signal at respective pins.
4. Connect +5 v Vcc supply at pin no 24 & GND at pin
no 12.
5. Verify the truth table for various inputs.
OBSERVATION TABLE:
EXPERIMENT NO - 6
BRIEF THEOR - A 4-bit adder is a circuit which adds two 4-bits numbers, say, A
and B. In addition, a 4-bit adder will have another single-bit input which is added to
the two numbers called the carry-in (Cin). The output of the 4-bit adder is a 4-bit sum
(S) and a carry-out (Cout) bit.
PIN CONFIGURATION–
Pin Diagram of IC 7483
IC 7483
LOGIC DIAGRAM:-
OBSERVATION TABLE –
PROCEDURE –
a) Make the connections as per the logic diagram.
b) Connect +5v and ground according to pin configuration.
c) Apply diff combinations of inputs to the i/p terminals.
d) Note o/p for summation.
e) Verify the truth table.
PRECAUTIONS:
1. Make the connections according to the IC pin diagram.
2. The connections should be tight.
3. The Vcc and ground should be applied carefully at the specified pin only.
EXPERIMENT NO :7
Aim: – Design, and Verify the 4-Bit Synchronous Counter
APPARATUS REQUIRED: Digital trainer kit and 4 JK flip flop each IC 7476 (i.e dual
JK flip flop) and two AND gates IC 7408.
BRIEF THEORY: Counter is a circuit which cycle through state sequence. Two types
of counter, Synchronous counter (e.g. parallel) and Asynchronous counter (e.g. ripple). In
Ripple counter same flip-flop output to be used as clock signal source for other flip-flop.
Synchronous counter use the same clock signal for all flip-flop.
PIN CONFIGURATION:
Dual JK Master Slave Flip Flop with clear & preset
LOGIC DIAGRAM:
4- Bit Synchronous counter
16 K1 Input
OBSERVATION TABLE:
Truth Table
States Count
04 03 02 01
0 0 0 0 0
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
1 1 0 1 13
1 1 1 0 14
1 1 1 1 15
PROCEDURE:
a) Make the connections as per the logic diagram.
b) Connect +5v and ground according to pin configuration.
c) Apply diff combinations of inputs to the i/p terminals.
d) Note o/p for summation.
e) Verify the truth table.
PRECAUTIONS:
1. Make the connections according to the IC pin diagram.
2. The connections should be tight.
3. The Vcc and ground should be applied carefully at the specified pin only.
EXPERIMENT NO: 8
Aim: – Design, and Verify the 4-Bit Asynchronous Counter.
APPARATUS REQUIRED: Digital trainer kit and 4 JK flip flop each IC 7476 (i.e dual JK
flip flop) and two AND gates IC 7408.
BRIEF THEORY: Counter is a circuit which cycle through state sequence. Two types
of counter, Synchronous counter (e.g. parallel) and Asynchronous counter (e.g. ripple). In
Ripple counter same flip-flop output to be used as clock signal source for other flip-flop.
Synchronous counter use the same clock signal for all flip-flop.
PIN CONFIGURATION:
LOGIC DIAGRAM:
4- Bit Asynchronous counter
PRECAUTIONS:
1. Make the connections according to the IC pin diagram.
2. The connections should be tight.
3. The Vcc and ground should be applied carefully at the specified pin only.
Q.1 How many flip-flops are required to make a MOD-32 binary counter?
Ans. 5.
Q.2 The terminal count of a modulus-11 binary counter is .
Ans.1010.
Q.3 Synchronous counters eliminate the delay problems encountered with
asynchronous counters because the:
Ans. Input clock pulses are applied simultaneously to each stage.
Q4. Synchronous construction reduces the delay time of a counter to the delay of:
Q6. When two counters are cascaded, the overall MOD number is equal to the
of their individual MOD numbers.
Ans. Product.
Q7. A BCD counter is a .
Ans. decade counter.
Q8. What decimal value is required to produce an output at "X" ?
Ans.5.
Q9. How many AND gates would be required to completely decode ALL the states of
a MOD-64 counter, and how many inputs must each AND gate have?
EXPERIMENT NO: 9
Aim:- To Design &Verify Operation of Half Adder &Full Adder.
BRIEF THEORY: We are familiar with ALU, which performs all arithmetic and logic
operation but ALU doesn‟t perform/ process decimal no‟s. They process binary no‟s.
Half Adder: It is a logic circuit that adds two bits. It produces the O/P, sum & carry.
The Boolean equation for sum & carry are:
SUM = A + B
CARRY = A. B
Therefore, sum produces 1 when A&B are different and carry is 1when A&B are 1.
Application of Half adder is limited.
Full Adder: It is a logic circuit that can add three bits. It produces two O/P sum & carry.
The Boolean Equation for sum & carry are:
SUM = A + B + C
CARRY = A.B + (A+B) C
Therefore, sum produces one when I/P is containing odd no‟s of one & carry is one when
there are two or more one in I/P.
LOGIC DAIGRAM:
Half Adder Full Adder
PROCEDURE:
(a) Connect the ckt. as shown in fig. For half adder.
(b) Apply diff. Combination of inputs to the I/P terminal.
(c) Note O/P for Half adder.
(d) Repeat procedure for Full wave.
(e) The result should be in accordance with truth table.
OBSERVATION TABLE:
HALF ADDER:
INPUTS OUTPUT
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
FULL ADDER:
INPUTS OUTPUTS
A B C S CARRY
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
RESULT: The Half Adder & Full Adder ckts. are verified.
PRECAUTIONS:
1) Make the connections according to the IC pin diagram.
2) The connections should be tight.
3) The Vcc and ground should be applied carefully at the specified pin only.
EXPERIMENT NO :10
Aim:- To Study &Verify Half Subtractor.
LOGIC DIAGRAM :
TRUTH TABLE:
PROCEDURE: