Ade Lab Manual
Ade Lab Manual
LAB MANUAL OF
[15CSL37]
[As per Choice Based Credit System (CBCS) scheme]
(Effective from the academic year 2015 -2016)
SEMESTER - III
Prepared by:
Vision
To develop technical professionals acquainted with recent trends and technologies of computer science to serve as valuable resource
for the nation/society.
Mission:
Facilitating and exposing the students to various learning opportunities through dedicated academic teaching, guidance and
monitoring.
Vision
To emerge as one of the finest technical institutions of higher learning, to develop engineering professionals who are technically
- 560064.
competent, ethical and environment friendly for betterment of the society.
Mission
Accomplish stimulating learning environment through high quality academic instruction, innovation and industry-institute interface
Analog and Digital Electronics Laboratory Manual 3rd SEM
Instructions to students
1. Students Leave their foot wares outside.
2. Students keep their bags in the rack.
3. Students must taken care of their valuable things.
4. Students must bring Observation book, record and manual along with pen, pencil, and
eraser Etc., no borrowing from others.
5. Students must handle the trainer kit and other components carefully, as they are
expensive.
6. Before entering to lab, must prepare for Viva for which they are going to conduct
experiment.
7. Before switch on the trainer kit, must show the connections to one of the faculties or
instructors.
8. After the completion of the experiment should return the components to the respective
lab instructors.
9. Before leaving the lab, should check whether they have switch off the power supplies
and keep their chairs properly.
The faculty will examine your notebooks during lab period and assign a grade based
upon the quality and contents of your pre-lab work.
There will be eleven lab experiments and a one internal lab test of 100 marks
(Reduced to
20). Each lab experiment is worth up to 20 points. Each lab contains four parts as follows.
1. Observation (5 marks per lab): Each student should read the lab material and finish
the observation before the lab. Pre-lab work should be turned in at the beginning of
each lab session. Late observations will not be accepted.
2. Viva (5 marks per lab): There will be viva for each lab. The questions in the viva
come from the lab material. No viva marks will be given if you are more than 10
minutes late.
3. Lab record (10 marks per lab): Students will write a lab report according to the
format specified and turn it in at the beginning of the next lab session. Late lab reports
will not be accepted.
4. At the end of the semester all notebooks will be collected for a final grade by the
faculty.
5. Penalty for incomplete work: If any of the 3 parts is missed, a score of zero will be
reported by the faculty for that lab.
1. Put your name, USN and subject on the outside front cover of the record. Put that
same information on the first page inside.
2. Update Table of Contents every time you start each new experiment or topic
3. Always use pen and write neatly and clearly
4. Start each new topic (experiment, notes, calculation, etc.) on a right-side (odd
numbered) page
5. Obvious care should be taken to make it readable, even if you have bad handwriting
6. Date to be written every page on the top right side corner
7. On each right side page
Title of experiment
Aim/Objectives
Components Required
Theory
Procedure described clearly in steps
Result
8. On each left side page
Pin diagrams
Circuit diagram
Tables
Graphs
9. Use labels and captions for figures and tables
10. Attach printouts and plots of data as needed. Stick printouts(A4 Size)on the right side
of the lab record
11. Strictly observe the instructions given by the Teacher/ Lab Instructor.
Any simulation package like MultiSim / P-spice /Equivalent software may be used.
Faculty-in-charge should demonstrate and explain the required hardware components and
their functional Block diagrams, timing diagrams etc. Students have to prepare a write-up on
the same and include it in the Lab record and to be evaluated.
Laboratory Session-1:
Write-upon analog components; functional block diagram, Pin diagram (if any),
waveforms and description. The same information is also taught in theory class; this helps the
students to understand better.
Laboratory Session-2:
Write-upon Logic design components, pin diagram (if any), Timing diagrams, etc.
The same information is also taught in theory class; this helps the students to understand
better Note: These TWO Laboratory sessions are used to fill the gap between theory classes
and practical sessions. Both sessions are to be evaluated for 20 marks as lab experiments.
1. INTRODUCTION 7-9
2 LABORATORY SESION-1 10-25
26-31
3 LABORATORY SESION-2
Sl Experiment Page
No. No.
1. a. Design and construct a Schmitt trigger using Op-Amp for given UTP 32-35
and LTP values and demonstrate its working.
b. Design and implement a Schmitt trigger using Op-Amp using a
simulation package for two sets of UTP and LTP values and
demonstrate its working.
2. a. Design and construct a rectangular waveform generator (Op-Amp
relaxation oscillator) for given frequency. 36-38
b. Design and implement a rectangular waveform generator (Op-Amp
relaxation oscillator) using a simulation package and observe the
change in frequency when all resistor values are doubled.
3. Design and implement an astable multivibrator circuit using 555 timer for a 39-42
given frequency and duty cycle.
4. Design and implement Half adder, Full Adder, Half Subtractor, Full Subtractor 43-
using basic gates. 48
7. Design and verify the Truth Table of 3-bit Parity Generator and 4-bit Parity 58-
Checker using basic logic gates with an even parity bit. 62
A Digital design is also called as Logic design , the goal of design is to build systems .
digital design is engineering and engineering means problem solving . digital design is
concerned with the design of digital electronics circuits . Digital circuits are employed in the
design and construction of systems such as digital computers, data communication , digital
recording , and many other applications that require digital hardware .
Digital system have such a prominent role in everyday life that we refer to the present
technological period as the digital age . Digital systems are used in communication , business
transactions, traffic control , space guidence , medical treatment , weather montoring , the
internet and many other commercial , industrial and scientific enterprises .
We have digtal telephones , digital telivision , digital versatile discs , digital cameras
and digital computers . the most striking property of the digital computer is its generality . it
can follow a sequence of instructions, called a program , that operates on given data. The user
can specify and change the program or the data according to the specific need . because of
this flexibility , general- purpose digital computers can perform a variety of information
processing tasks that range over a wide spectrum of applications. One characteristic of digital
system is their ability to manipulate discrete elements of information. Early digital computers
were used for numeric computations .
In this case , the discrete elements used were the digits. From this application the term
digital computer emerged . discrete elements of information are represented in digital system
by physical quantities called signals . Electronic devices called transistors predominate in the
circuitry that implements these signals . the signals in most present day electronic digital
system use just two discrete values and so it is called as binary . A binary digit , called a bit ,
has two values : 0 and 1 .Discrete elements of information are represented with groups of bits
called binary codes
The logic design lab is an introduction to digital electronics where the students
conduct simple experiments and design simple digital electronic circuits and verify the
outputs using digital trainer kits. The entire set of experiments are classified into two sub
divisions combinational circuit design and Sequential circuit design.
Combinational circuits are digital circuits that do not have memory,ie their output at any
given time depend only on the present set of inputs that is given to the circuit, whereas a
sequential circuits are those whose outputs depend not only on the present inputs given, but
1. DIODE
Diodes must be connected the correct way round, the diagram may be labeled a or +
for anode and k or - for cathode (yes, it really is k, not c, for cathode!). The cathode is
marked by a line painted on the body. Diodes are labeled with their code in small print; you
may need a magnifying glass to read this on small signal diodes.
Types of transistor:
There are two types of standard transistors, NPN and PNP, with different circuit
symbols. The letters refer to the layers of semiconductor material used to make the transistor.
Most transistors used today are NPN because this is the easiest type to make from silicon.
SL 100 is an NPN transistor.
4.CAPACITORS
A capacitor (originally known as a condenser) is a passive two-terminal electrical
component used to store electrical energy temporarily in an electric field. The forms of
practical capacitors vary widely, but all contain at least two electrical conductors (plates)
separated by a dielectric (i.e. an insulator that can store energy by becoming polarized). The
conductors can be thin films, foils or sintered beads of metal or conductive electrolyte, etc.
The non conducting dielectric acts to increase the capacitor's charge capacity. Materials
commonly used as dielectrics include glass, ceramic, plastic film, air, vacuum, paper, mica,
and oxide layers. Capacitors are widely used as parts of electrical circuits in many common
electrical devices. Unlike a resistor, an ideal capacitor does not dissipate energy. Instead, a
capacitor stores energy in the form of an electrostatic field between its plates.
6.INTEGRATED CIRCUIT
An Integrated Circuit (IC) consists of many basic electronic components.
An integrated circuit or monolithic integrated circuit (also referred to as an IC, a chip, or
a microchip) is a set of electronic circuits on one small plate ("chip") of semiconductor
material, normally silicon. This can be made much smaller than a discrete circuit made from
independent electronic components. ICs can be made very compact, having up to several
billion transistors and other electronic components in an area the size of a human fingernail.
A voltmeter, also known as a voltage meter, is an instrument used for measuring the
potential difference, or voltage, between two points in an electrical or electronic circuit. Some
voltmeters are intended for use in direct current (DC) circuits; others are designed for
alternating current (AC) circuits. Specialized voltmeters can measure radio frequency (RF)
voltage.
A basic analog voltmeter consists of a sensitive galvanometer (current meter) in series
with a high resistance. The internal resistance of a voltmeter must be high. Otherwise it will
draw significant current, and thereby disturb the operation of the circuit under test. The
sensitivity of the galvanometer and the value of the series resistance determine the range of
voltages that the meter can display.
8.AMMETER
Ammeter means Ampere-meter which measures ampere value. Ampere is the unit of
current so an ammeter is a meter or an instrument which measures current.
9.POTENTIOMETER
This is a very basic instrument used for comparing emf two cells and for calibrating ammeter,
voltmeter and watt-meter. The basic working principle of potentiometer is very very
simple. Suppose we have connected two battery in head to head and tale to tale through a
galvanometer. That means the positive terminals of both battery are connected together and
negative terminals are also connected together through a galvanometer as shown in the
Here in the figure it is clear that if the voltage of both battery cells is exactly equal, there will
be no circulating current in the circuit and hence the galvanometer shows null deflection. The
working principle of potentiometer depends upon this phenomenon.
The screen of this oscilloscope has 8 squares or divisions on the vertical axis, and 10 squares
or divisions on the horizontal axis. Usually, these squares are 1 cm in each direction:
Setting up the CRO
i. Before you switch the oscilloscope on, check that all the controls are in their 'normal'
positions.
1. all push button switches are in the OUT position
2. all slide switches are in the UP position
3. all rotating controls are CENTRED
ii. Check through all the controls and put them in these positions:
iii. Set both VOLTS/DIV controls to 1 V/DIV and the TIME/DIV control to 2 s/DIV, its
slowest setting:
iv. Switch ON, red button, top center:
Adjusting the INTENSITY control changes the brightness of the oscilloscope display. The
FOCUS should be set to produce a bright clear trace. If required, TR can be adjusted using a
small screwdriver so that the oscilloscope trace is exactly horizontal when no signal is
connected.
vii. The TIME/DIV control determines the horizontal scale of the graph which
appears on the oscilloscope screen.
viii. The VOLTS/DIV controls determine the vertical scale of the graph drawn on the
oscilloscope screen.
The diagram shows a lead with a BNC plug at one end and crocodile clips at the other. Adjust
VOLTS/DIV and TIME/DIV until you obtain a clear picture of the signal, which should look
like this:
DC/AC/GND slide switches: In the DC position, the signal input is connected directly to the
Y-amplifier of the corresponding channel, CH I or CH II. In the AC position, a capacitor is
connected into the signal pathway so that DC voltages are blocked and only changing AC
signals are displayed.
In the GND position, the input of the Y-amplifier is connected to 0 V. This allows you to
check the position of 0 V on the oscilloscope screen.
Trace selection switches: The settings of these switches control which traces appear on the
oscilloscope screen.
11.OP AMP:(OPERATIONAL AMPLIFIER)
Electronic amplifiers covert a signal that carries a low amount of energy, whether it is
audio or video, into a signal with a high amount of energy. The signal is not modified, only
amplified. In the case of sound, the signal output is greater in magnitude. In other words, if a
radio is not loud, an amplifier can make it loud.
Amplifiers can also work with light signals to make them brighter. For example, by
increasing the voltage, a signal can become brighter, as in a lamp which may have two or
three brightness settings.
Some other examples of amplifiers are speakers, home stereo systems or public address
systems.
Where:
V+: non-inverting input
V: inverting input
Vout: output
VS+: positive power supply (sometimes also VDD, VCC, or VCC + )
VS: negative power supply (sometimes also VSS, VEE, or VCC )
wave output.
Circuit Diagram
Design:
The period of the output rectangular wave is given as T =2RC ln (1+/1- ) ------- 1
Where,
=R1/R1+ R2 is the feedback fraction
If R1 = R2, then from equation (1) we have T = 2RC ln(3) --------2
Design for a frequency of 1 kHz (implies T
=1ms ) Let C=0.1F
Then calculating R as R=T/2 Cln(3) =1*10-3/2*0.1*10-6 * 1.099 = 5*103
= 5K Select R=4.7K
The voltage across the capacitor has a peak voltage of Vc =(R1/R1+ R2) Vsat
Waveforms
13.SIGNAL/FUNCTION GENERATOR
A function generator is a device that can produce various patterns of voltage at a
variety of frequencies and amplitudes. It is used to test the response of circuits to common
input signals. The electrical leads from the device are attached to the ground and signal input
terminals of the device under test.
Most function generators allow the user to choose the shape of the output from a
small
number of options.
Square wave - The signal goes
Sine wave - The signal curves like a sinusoid from high to low voltage.
The amplitude control on a function generator varies the voltage difference between
the high and low voltage of the output signal. The frequency control of a function generator
controls the rate at which output signal oscillates.
Switch on the function generator and adjust the output level to produce a visible
signal on the oscilloscope screen. Adjust TIME/DIV and VOLTS/DIV to obtain a clear
display and investigate the effects of pressing the waveform shape buttons.
The rotating FREQUENCY control and the RANGE switch are used together to
determine the frequency of the output signal.
14.MULTIVIBRATOR
Multivibrator is a form of oscillator, which has a non-sinusoidal output. The output
waveform is rectangular. The multivibrators are classified as
1. Astable or free running multivibrator It alternates automatically between two states
(low and high for a rectangular output) and remains in each state for a time dependent
or
Connect the pin 2 to the CRO to get the capacitor waveform check the amplitude from the
waveform to get the UTP and LTP values.
Connect pin 3 to CRO to get the output. Find out the TH and TL values.
Pin 1: Grounded Terminal: All the voltages are measured with respect to the Ground
terminal.
Pin 2: Trigger Terminal: The trigger pin is used to feed the trigger input hen the 555 IC is
set up as a monostable multivibrator. This pin is an inverting input of a comparator and is
responsible for the transition of flip-flop from set to reset. The output of the timer depends on
the amplitude of the external trigger pulse applied to this pin. A negative pulse with a dc level
greater than Vcc/3 is applied to this terminal. In the negative edge, as the trigger passes
Laboratory Session-2:
Write-upon Logic design components, pin diagram (if any),
Timing diagrams, etc. The same information is also taught in
theory class; this helps the students to understand better.
Logic gates are electronic circuits that operate on one or more input signals to produce
an output signal. The gates are blocks of hardware that produces the equivalent of logic 1 or
logic 0 output signals if input logic requirements are satisfied. Gate INPUTS are driven by
voltages having two nominal values, e.g. 0V and 5V representing logic 0 and logic 1
respectively. The OUTPUTS of a gate provides two nominal values of voltage only, e.g. 0V
and 5V representing logic 0 and logic 1 respectively. There is always a time delay between an
input being applied and the output responding. The different types of logic gates are as
follows:
1. NOT GATE: It has one input and one output. The output is the complement of the
input.
2. OR GATE: The gate has two inputs and one output. The output is logic 1 when
either of the inputs or both the inputs are at logic1.
3. AND GATE: The gate has two inputs and one output. The output is logic 1 only
when both the inputs are high.
4. NAND GATE: It is an AND gate followed by a NOT gate. It is the complement
of AND gate. The output is logic 0 when both the inputs are at logic 1, else the output
is always in the high state.
5. NOR GATE: It is an OR gate followed by a NOT gate. It is the complement of
OR gate. The output is logic 1 when both the inputs are at logic 0, else the output is
always in the low state.
6. EXOR GATE: It is logic gate whose output is in the high state when both the
inputs are not same. When the both the inputs are high and when both are low, the output
is low.
7. EXNOR GATE: It is logic gate whose output is in the high state when the both the
inputs are high and when both are low .The output is low when both the inputs are not
same
PROCEDURE:
1. Place the IC in the socket of the trainer kit.
2. Make the connections for the gate as shown in the circuit diagram.
3. Verify the Truth Table.
4. Repeat the above steps for other gates in the different IC chips.
2. OR Gate: - [IC7432]
Theory:
NAND and NOR gates are called as universal gates because all the other basic gates
can be realized using only NAND or NOR gates
PROCEDURE:
1. Place the IC in the socket of the trainer kit.
2. Make the connections for the gate as shown in the circuit diagram.
3. Verify the Truth Table.
4. Repeat the above steps for other gates in the different IC chips.
1. NAND GATE AS
(a) AND GATE
(b) OR GATE
2. NOR Gate As
(a) OR GATE
Description:
Schmitt Trigger converts an irregular shaped waveform to a square wave or pulse. Here,
the input voltage triggers the output voltage every time it exceeds certain voltage levels
called the upper threshold voltage UTP and lower threshold voltage LTP. The input
voltage is applied to the inverting input. Because the feedback voltage is aiding the input
voltage, the feedback is positive. A comparator using positive feedback is usually called a
Schmitt Trigger. Schmitt Trigger is used as a squaring circuit, in digital circuitry,
amplitude comparator, etc.
Open loop gain of op amp is very high (ideally infinite).Any small difference between VNI
and VINV results into saturation of output voltage VSAT .Value of VSAT is limited by the
supply voltage of op amp.
Components Required:
Op amp IC A 741, Resistor of 10K, 110K, DC regulated power Supply, trainer
kit (+12v & -12v is given to Op amp from this),Signal generator, CRO.
Design:
From theory of Schmitt trigger circuit using op-amp, we have the trip
points UTP= R2*Vref / (R1+R2) + R1*Vsat/(R1+R2)
LTP= R2*Vref / (R1+R2) - R1*Vsat/(R1+R2)
Where Vsat is the positive saturation of the opamp=90% of vcc
Hence given the LTP and UTP values to find the R1, R2 & Vref values the
following design is used
UTP + LTP= 2R2*Vref / (R1+R2)-------(1)
UTP LTP = 2R1*Vsat/(R1+R2)--------(2)
Let Vsat=12v, UTP=4v and LTP =2v then eq(2) yields
R2=11R1 From Eq(1) we have Vref=(UTP+LTP)(R1+R2) /
2R2= 3.27v
Let R1=10k then R2= 110k
PROCEDURE:
1. Before doing the connections, check all the components using multimeter
2. Make the connection as shown in circuit diagram.
3. Using a signal generator apply the sinusoidal input waveform of peak-to-peak
amplitude of 10V, frequency 1kHz.
4. Keep the CRO in dual mode; apply input(Vin) signal to the channel 1 and
observe the output (Vo) on channel 2 which is as shown in the waveform below.
Note the amplitude levels from the waveforms
5. Now keep CRO in X-Y mode and observe the hysteresis curve.
Result waveform
Hysteresis curve
Hysteresis Curve:
To get the Hysteresis curve
Hysteresis Curve
Description:
Op-Amp Relaxation Oscillator is a simple Square wave generator which is also called as a
Free running oscillator or Astable multivibrator or Relaxation oscillator. In this figure the
op-amp operates in the saturation region. Here, a fraction (R1/ (R1+R2)) of output is fed
back to the noninverting input terminal. Thus reference voltage is (R1/ (R1+R2)) Vo. And
may take values as + (R1/ (R1+R2)) Vsat or - (R1/ (R1+R2)) Vsat. The output is also fed
back to the inverting input terminal after integrating by means of a low-pass RC
combination. Thus whenever the voltage at inverting input terminal just exceeds reference
voltage, switching takes place resulting in a square wave output.
Components Required:
Op-amp A 741, Resistor of 10K,4.7K, Capacitor of 0.1 F, digital
trainer kit (+12v & -12v is given to Op amp from this), CRO.
Circuit Diagram
Design:
The period of the output rectangular wave is given as T =2RC ln (1+/1- ) ------- 1
Where,
Procedure:
1. Before making the connections check all the components using multimeter.
2. Make the connections as shown in figure and switch on the power supply.
2. Observe the voltage waveform across the capacitor on CRO.
3. Also observe the output waveform on CRO. Measure its amplitude and frequency.
Waveforms
Result:
Circuit Diagram:
Connect the pin 2 to the CRO to get the capacitor waveform check the amplitude
from the waveform to get the UTP and LTP values.
Connect pin 3 to CRO to get the output. Find out the TH and TL values.
Procedure:
1. Before making the connections, check the components using multimeter.
2. Make the connections as shown in figure and switch on the power supply.
3. Observe the capacitor voltage waveform at 6th pin of 555 timer on CRO.
4. Observe the output waveform at 3rd pin of 555 timer on CRO (shown below).
5. Note down the amplitude levels, time period and hence calculate duty
cycle.
Result:
The frequency of the oscillations = 1KHz.
Waveforms
Result:
Note:
Each division in oscilloscope is
0.2 Time=no of div in x-axis x
time base Amplitude= no of div in
y-axis x volt/div Duty cycle=
(Ton/Ton +Toff) *100
Duty cycle Duty cycle Ton Toff
Theoretical 75% 0.75ms 0.25ms
Practical
(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.
Block Diagram
Full Adder
Block Diagram
Cin
Full Subtractor
Block Diagram
Truth Table
Bin
A
B
Bin
Procedure:-
1. Place the IC in the socket of the trainer kit.
(complex boolean Expressions are simplified by using Kmaps).
2. Make the connections as shown in the circuit diagram.
3. Verify the truth table for half subtractor and full subtractor circuits using basic and
universal gates.
Result: Realized both half Adder and Subtractor and full Adder and Subtractor
circuits using basic and universal.
Description:
The term multiplex means many to one. A multiplexer (MUX) has n inputs.
Each line is used to shift digital data serially. There is a single output line. One of
the data stored in the n input line is transferred to the output based on the valued
MEV map
Decimal ABCD f Data
entry
0 0000 0
0 Do
1 0001 0
2 0010 1
1 D1
3 0011 1
4 0100 1
1 D2
5 0101 1
6 0110 0
0 D3
7 0111 0
8 1000 X
X D4
9 1001 X
10 1010 X
X D5
11 1011 X
12 1100 0
D D6
13 1101 1
14 1110 0
D D7
15 1111 1
Circuit Diagram
Procedure:
1. Verify all components & patch chords whether they are in good condition or not.
2. Make connections as shown in the circuit diagram.
3. Give supply to the trainer kit.
4. Provide input data to circuit via switches
5. Verify truth table sequence & observe outputs.
Result:
The truth table is verified
Description:
An 8:1 multiplexer has 8 inputs
and one output. The data stored in
one of these 8 input line is
transferred serially to the output
based on the value of the selection
bits
Truth table:
INPUTS OUTPUTS
SEL (2) SEL (1) SEL (0) Zout
0 0 0 I(0)
0 0 1 I(1)
0 1 0 I(2)
0 1 1 I(3)
1 0 0 I(4)
1 0 1 I(5)
0 1 1 I(6)
1 1 1 I(7)
OUTPUT:
Gray code to binary conversion is again very simple and easy process. Following
steps can make your idea clear on this type of conversions.
(1) The M.S.B of the binary number will be equal to the M.S.B of the given gray code.
Now if the second gray bit is 0 the second binary bit will be same as the previous or the first
bit. If the gray bit is 1 the second binary bit will alter. If it was 1 it will be 0 and if it was 0 it
will be 1
(1) This step is continued for all the bits to do Gray code to binary
Components required:
IC 7486, Patch Cords & digital trainer Kit.
0 0 1 1
0 0 1 1
0 0 1 1
0 0 1 1
0 1 0 1
0 1 0 1
0 1 0 1
0 1 0 1
0 1 1 0
0 1 1 0
1 0 0 1
1 0 0 1
0 0 0 0
1 1 1 1
BOOLEAN EXPRESSIONS:
G3=B3
G2=B3 B2
G1=B1 B2
G0=B1 B0
Circuit Diagram: BINARY TO GRAY CODE
0 0 1 1
0 0 1 1
0 0 1 1
B3 = G3
0 0 1 1
0 1 0
0 1 0
0 1 0 B2=G3 G2
0 1 0
0 0
0 0
B1=G3 G2 G1
0
0
0 1 0
1 0 1
0 1 0
1 0 1 B0=G3 G2 G1 G0
BOOLEAN EXPRESSIONS:
B3=G3 B2=G3 G2
B1=G3 G2 G1 B0=G3 G2 G1 G0
Circuit Diagram: Gray to Binary
PROCEDURE:
1. Check all the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Verify the Truth Table and observe the outputs.
RESULT: Binary to gray code conversion and vice versa is realized using EX-OR gates
From the above truth table, the simplified expression of the parity bit can be written as
To generate the even parity bit for a 4-bit data, three Ex-OR gates are required to add
the 4- bits and their sum will be the parity bit.
Circuit diagram: parity generator
I) PARITY CHECKER:
The below table shows the truth table for the even parity checker in which PEC = 1 if
the error occurs, i.e., the four bits received have odd number of 1s and PEC = 0 if no
error occurs, i.e., if the 4-bit message has even number of 1s.
The above truth table can be simplified using K-map as shown below.
The above logic expression for the even parity checker can be implemented by
using three Ex-OR gates as shown in figure. If the received message consists of five
bits, then one more Ex-OR gate is required for the even parity checking.
Circuit diagram:
PROCEDURE:
1. Check all the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Verify the Truth Table and observe the outputs.
RESULT: 3 bit parity generator and 4 bit parity checker is verified.
Truth table:
CIRCUIT DIAGRAM:
Procedure:
1. Verify all components & patch chords whether they are in good condition or not
2. Make connections as shown in the circuit diagram.
3. Give supply to the trainer kit.
4. Provide input data to circuit via switches.
5. Verify truth table sequence & observe outputs.
Conclusion: Truth table is verified
Truth table:
Algorithm:
Clock and D is the input to the flip flop, Q and Qbar is the output of the
system For every positive transition of the clock
1. The value of D is stored in Q and the
2. The value of complement of D is stored in Qbar
Results:
Pin Diagrams:74LS76
3. Expand the table to form the transition table for each flip-flop in the circuit.
The transition table shows the flip-flop inputs required to make the counter go
from present state to the desired next state. This is also referred to as the excitation
table.
Function Table:
for initialization
for normal
Description:
A modulus 8 counter has 8 unique states . The inputs are clock and reset. The operation
of counter is summarized in the truth table below
Truth Table:
rst clock Q2 Q1 Q0
1 x 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
0 0 0 0
Algorithm:
Result:
Description:
Asynchronous counter is a counter in which the clock signal is connected to the clock
input of only first stage flip flop. The clock input of the second stage flip flop is
triggered by the output of the first stage flip flop and so on. This introduces an inherent
propagation delay time through a flip flop. A transition of input clock pulse and a
transition of the output of a flip flop can never occur exactly at the same time.
Therefore, the two flip flops are never simultaneously triggered, which results in
asynchronous counter operation.
Components Used:
IC 74 LS90,IC 7447(BCD to seven segment decoder), patch chords, trainer
kit. 1.Cp0(pin 14) to be connected to clock
2.Cp1(pin1) to be connected to Q0.( The output of the first flip flop drives the
second clock)
Pin Diagram: 74LS90 / 74LS47
For mod 9
connect Q0 and Q3 to reset(clear) through an AND gate. Reset should not
be connected to the switch
For mod8 : Connect Q3 to reset
For mod7 : Connect Q2, Q1,Q0 to reset through an And Gate
For Mod 6 : Connect Q2 and Q1 to reset through an AND gate
Table:
Clock 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
Procedure:
1. Verify all components & patch chords whether they are in good condition or not.
2. Make connections as shown in the circuit diagram.
3. Give supply to the trainer kit.
4. Provide input data to circuit via switches.
5. Verify truth table sequence & observe outputs.
Result:
mod n<=9 counter implemented using the decade counter Ic
Description:
DAC 0800
To convert the digital signal to analog signal a Digital-to-Analog Converter
(DAC) has to be employed.
The DAC will accept a digital (binary) input and convert to analog voltage or
current.
Every DAC will have "n" input lines and an analog output.
The DAC require a reference analog voltage (Vref) or current (Iref) source.
The smallest possible analog value that can be represented by the n-bit binary
code is called resolution.
The resolution of DAC with n-bit binary input is 1/2n of reference analog value.
Every analog output will be a multiple of the resolution.
The DAC0800 require a positive and a negative supply voltage in the range of
5V to 18V.
It can be directly interfaced with TTL, CMOS, PMOS and other logic families.
For TTL input, the threshold pin should be tied to ground (VLC = 0V).
The reference voltage and the digital input will decide the analog output current,
which can be converted to a voltage by simply connecting a resistor to output
terminal or by using an op-amp I to V converter.
Components required:
IC DAC0800, IC 74LS393, OPAMP IC A741,patch chords, digital trainer kit,
bread board, single stand wires.
Connection diagram:
14 Vcc
Clk (10KHz)
7 Gnd
1 2
13
74393
3 4 5 6 11 10 9 8
Description:
ALU stands for the arithmetic and logical unit and is one of the important unit in almost
all the calculating machine these days be it with the hand-held mobile, or computers. All
the computational work in the system are carried out by this unit. The typical ALU sizes
are: 4-bit ALU: ALU that processes two 4-bit numbers.8-bit ALU: ALU that processes
two 8-bit numbers. Still in the latest systems ALU sizes are 16, 32, 64-bit etc.Figure-12.1
shows the block diagram of a typical ALU.
In figure-12.1, the 1x2 selector on the left is as a mode selector to select one of the two
units i.e. either the arithmetic unit or the logical unit. The function select lines are then
used to select one of the many functions of arithmetic or the logical type.
MSI package for ALU:- IC 74181 a 4-bit Arithmetic and logical unit:
The function table of IC 74181 ALU is given in figure-12.5. It shows the functions
selected depending on the Cn, M and S3-S0 lines.
Circuit diagram:
LEDs are connected at the input A and B lines and the select lines to indicate the
value of the inputs A and B. The LEDs at the select lines are used to specify the
function of the ALU. The LEDs at the output are used to test and verify the
output. The whole implementation is shown in figure 12.6 is
Procedure:
1. Keep the datasheet of IC 74181 ready.
2. Insert the IC on the Breadboard.
3. Make connections as shown in figure-12.6
4. Verify the connections
Result:
The above circuit when connected to power supply gives correct result as per the
function table.