Documente Academic
Documente Profesional
Documente Cultură
Name of
The
Compone
nt
AND gate
OR gate
Not gate
EXOR
gate
NAND
gate
NOR gate
Patch
chords
Trainer
Kit
IC
Numbe
r
Quantit
y
7408
7432
7404
7486
7400
7402
1
1
1
3
3
3
(a) ADDER
Theory:
An Adder is a circuit which performs addition of binary numbers
Producing sum and carry. An half adder is a digital circuit which performs
addition of two binary numbers which are one bit each and produces a sum and
a carry(one bit each). A full adder is a digital circuit which performs addition of
three binary numbers (one bit each), to produce a sum and a carry(one bit
each). A Full adders are basic block of any adder circuit as they add two
numbers along with the carry from the previous addition.
The basic rules of binary addition are
0+0 = 0
0+1 = 1
1+0 = 1
1+1 = (10)2
Column by column addition, similar to decimal addition is performed a logic circuit known as
half adder adds two 1 bit signals. In actual addition there is often a third bit, the carry bit that
must be added. Hence to add 3 bits at a time a logic circuit known as a Full adder is used.
Half Adder
a Half Adder Using Logic Gates
Block Diagram
Logic Diagram
Truth Table
A
0
0
1
1
B
0
1
0
1
Sum
0
1
1
0
Carry
0
0
0
1
Full Adder
Block Diagram
Cin
A
0
0
0
0
1
1
1
1
B Cin Sum
0 0
0
0 1
1
1 0
1
1 1
0
0 0
1
0 1
0
1 0
0
1 1
1
Cout
0
0
0
1
0
1
1
1
Adder)
Logic Diagram
Borrow
0
1
0
0
Full Subtractor
Block Diagram
B
0
0
1
1
0
0
1
1
Bin
0
1
0
1
0
1
0
1
Diff
0
1
1
0
1
0
0
1
Borrow
0
1
1
1
0
0
0
1
Bin
A
B
Bin
EXPERIMENT-4
Binary to Gray Code Conversion and Vice Versa
Aim: Realization of Binary to Gray code conversion and viceversa
Components Required:Sl.No
1
Name of The
Component
EXOR gate
IC Number
Quantity
7486
2
3
4
NAND gate
Patch chords
Trainer Kit
7400
Theory:
The reflected binary code, also known as Gray code after Frank Gray, is a binary
numeral system where two successive values differ in only one digit. The reflected binary
code was originally designed to prevent spurious output from electromechanical
switches. Today, Gray codes are widely used to facilitate error correction in digital
communications. . Gray codes are used in position encoders (linear encoders and rotary
encoders), in preference to straightforward binary encoding. This avoids the possibility
that, when several bits change in the binary representation of an angle, a misread could
result from some of the bits changing before others. Rotary encoders benefit from the
cyclic nature of Gray codes, because the first and last values of the sequence differ by
only one bit. Gray codes are also used in labeling the axes of maps
(1) Binary to Gray code converter
Truth Table
B3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
BINARY
B2
B1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
G3 = (8,9,10,11,12,13,14,15)
B0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
G3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
GRAY CODE
G2
G1
0
0
0
0
0
1
0
1
1
1
1
1
1
0
1
0
1
0
1
0
1
1
1
1
0
1
0
1
0
0
0
0
G0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
G2 = (4,5,6,7,8,9,10,11)
G1= (2,3,4,5,10.,11,12,13)
(a)
G0 = (1,2,3,5,6,9,10,13,14)
(b)
converter Using NAND Gates only
G3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
GRAY CODE
G2
G1
G0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
B3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
BINARY CODE
B2
B1
0
0
0
0
0
1
0
1
1
1
1
1
1
0
1
0
1
1
1
1
1
0
1
0
0
0
0
0
0
1
0
1
B0
0
1
1
0
1
0
0
1
1
0
0
1
0
1
1
0
EXPERIMENT NO-8
FLIP-FLOPS
Aim: - Truth Table verification of flip-flops
(i) JK Master slave (ii) T type (iii) D type.
Theory:
Sequential circuits employ storage elements in addition to logic gates. Their
outputs are a function of the inputs and the state of the storage elements. The state of the
storage elements, in turn is a function of the previous inputs. As a consequence, the
outputs of a sequential circuit depend not only on present values of inputs, but also a past
inputs and the circuit behavior must be specified by a time sequence of inputs and
internal states.
A Flip-Flop circuit can maintain a binary state indefinitely until directed by an
input signal to switch states. The major differences among various types are in the
number of inputs they possess and in the manner in which the inputs affect the binary
state.
Components Required:-
(a)
Sl.No
Name of The
Component
IC
Number
Quantity
1
2
3
4
5
7476
7400
7404
1
1
1
Symbol of MS-JK FF
Pin Diagram
Logic Diagram:
Truth Table
Table 1
Inputs
Clk Cr pr
1
1 1
Output
Q
Qn+1
Operation Performed
Normal FF(Table-2)
(F.F. enabled)
F.F. Cleared(Reset)
F.F. Preset(Set)
Table 2
Clk
0
Inputs
J
K
X
Output
Qn+1
COMMENTS
Qn
No Change
Qn
No change
Reset
Qn
Set
Toggle
(b)
T- Type FF using MS JK FF
(c ) D - Type FF using MS JK FF
EXPERIMENT-9
COUNTERS
Aim -Realization of 3-bit counters as a sequential circuit and mod-N counter design
(7476, 7490, 74192, 74193)
1) Asynchronous type
2) Synchronous type
Theory:
A counter is essentially a register that goes through a pre-determined sequence of
states. The gates in the counter are selected in such a way as to produce the prescribed
sequence of binary states.
Counters are available in two categories: Ripple counters (asynchronous) and
synchronous counters. In a ripple counter, the flip-flop output transition serves as a
source for triggering other flip-flops. In otherwords, the input of some or all the flip-flops
are triggered not by the common clock pulses rather by the transition that occurs in other
flip-flops outputs. In a synchronous counter, the inputs of all flip-flops receive the
common clock.
Components Required:-
Sl.No
1
2
3
4
5
6
Name of The
Component
JK flip flop
NANDgate(3 pin)
AND gate
OR gate
Decade Counter
Decade Up/down
Counter
MOD 16 counter
Patch chords
Trainer Kit
IC Number
Quantity
7476
7408
7432
7490
74192
2
2
1
1
1
1
74193
Number of
Flip Flop outputs
Truth Table for
clock pulses
Qc
Qb
Qa
Truth Table for
0
0
0
0
1
0
0
1
2
0
1
0
3
0
1
1
4
1
0
0
5
1
0
1
6
1
1
0
7
1
1
1
8
0
0
0
Number of
clock pulses
0
1
1
1
2
1
3
1
4
0
5
0
6
0
7
0
8
1
Flip Flop
outputs
Qc
Qb
Qa
1
1
0
0
1
1
0
0
1
Up Counters
Down Counters
1
0
1
0
1
0
1
0
1
0
0
1
1
0
1
0
1
Next State
Excitation
Qc
Qb
Qa
Qc
Qb
Qa
Jc
Kc
Jb
Kb
Ja
Ka
Simplification:
Present State
Next State
Excitation
(b)
Qc
Qb
Qa
Qc
Qb
Qa
Jc
Kc
Jb
Kb
Ja
Ka
3-
0
0
0
1
1
Bit Synchronous Down Counter
Truth Table
Simplification
Internal Diagram
Functional Table
R1
R2
S1
S2
Qd
Qc
Qb
Qa
MOD-2 COUNTER
MOD-5 COUNTER
Functional Table:
H
L
L
L
L
Load
Up
Down
Qd
X
L
H
H
H
X
X
Cp
H
H
X
X
H
Cp
H
0
D
Qc
Qb
Qa
0
0
0
C
B
A
COUNT UP
COUNT DOWN
NO CHANGE
Invalid state---0101
Note:-Lo and Bo are used basically for cascading the counters
(5) Realize a MOD-N counter using IC74192 Synchronous Counter
Pin Details of IC-74192
(b) 3 to 9 Counter
Experiment No. 10
Schmitt Trigger
Aim:
Design and test the Schmitt trigger for the given value of LTP and UTP.
feedback voltage is applied to the non-inverting terminal. In this circuit the op-amp acts as a
comparator. It compares the potentials at two input terminals. Here the output shifts between +
Vsat and Vsat. When the input voltage is greater than Va, the output shifts to Vsat and when
the input voltage is less than Va, the output shifts to + Vsat. Such a comparator circuit exhibits a
curve known as Hysterisis curve which is a plot of Vin vs V0. The input voltage at which the
output changes from + Vsat to Vsat is called Upper Threshold Point (UTP) and the input
voltage at which the output shifts from Vsat to + Vsat is called Lower Threshold Point (LTP).
The feedback voltage Va depends on the output voltage as well as the reference voltage. A Zero
Cross Detector is also a comparator where op-amp compares the input voltage with the ground
level. The output is a square wave and inverted form of the input.
Circuit Diagram:
+12V
741
10V(p-p)
1kHz,
m(t)
-12V
V0
R1 = 90k
R2 = 10k
VREF = 3.3V
Design:
V UT =
V =
R1
(+V sat )
R1 + R 2
R1
(V sat )
R 1 + R2
R1
R2
V ref
V
R 1+ R2
R 1+ R 2 sat
UTP+ LTP=
2 R1
V
R1 + R2 ref
(1)
UTPLTP=
2 R2
V
R1 + R2 sat
(2)
R1 = 9R2
R2 = 10kHz
R1 = 9kHz
Vref = 3.3V
Waveforms:
Vin
4V
5V
2V
-5V
UTP
+Vsat
0
-Vsat
V0
LTP
4V
2V
Vin
UTP
LTP
Procedure:
1. Before wiring the circuit, check all the components using multimeter and IC tester.
2. Make the connections as shown in circuit diagram, figure (j).
3. Set the signal generator (input voltage) amplitude say 10 V(p-p) and observe the input(V in) and
output(V0) signals of the circuit simultaneously on CRO screen.
4. Feed Schmitt trigger output to y channel and input to x channel, and set x-y mode to observe
the hysteresis curve on the CRO.
5. Plot the graph.
Result:
Observation
Experiment No. 5
Astable Asymmetrical Multivibrator
Aim:
Design and test astable multivibrator, (Asymmetrical) using 555 timer.
Circuit Diagram:
VCC = 5V
RA=6.8k
8
7
RB=3.6k
4
555
Timer
3
V0
2
6
1
C=0.1F
Design:
f = 1 kHz, T = 1/ f = 1ms.
TON = 0.75ms, TOFF = 0.25ms.
C = 0.1F
TON = 0.693(RA + RB) C
TOFF = 0.693(RB) C
0.75ms = 0.693(RA + RB) C
0.25ms = 0.693(RB) C
RB = 3.6k
0.75 ms
R A + R B=
=10.82 k
0.693 0.1 F
RA = 10.82k RB = 7.2k ( 6.8 k)
RB = 3.6k
5
C=0.01F
Waveforms:
0.25ms
0.75ms
Procedure:
1. Make the circuit connections as shown in circuit diagram, figure (e).
2. Switch on the power supply.
3. Observe the output on the CRO.
4. By varying the RA pot, adjust the TON period near to 0.75ms.
5. Similarly by varying the RB pot, adjust the TOFF period.
6. Observe the voltage across capacitor (VC) at pin no. 2 or 6.
7. Plot the output waveform and voltage across capacitors with respect to time.
Result: