Co Lab Manual II
Co Lab Manual II
PREPARED BY:
List Of Experiments
1. a. b. 2. 3. 4. 5. 6.
Arithmetic Circuit- construction and testing using 74xxICs Half adder and Full adder. Half subtractor and Full subtractor. Combinational logic circuit design using 74xxICs. Encoders and Decoders. Multiplexer and Demultiplexer. Study of Arithmetic Logic Unit(ALU) using IC 74181.
Construction of 1- bit comparator using 74xxICs and study of 4-bit comparator IC 7485.
7. 8.
Verification of basic flip flops using 74xxICs and masterslave JK flip-flop using IC 7476
9.
Asynchronous counter design and Mod-n counter. 10. 3-Bit synchronous counter design
11. 12.
Introduction
There are 3 hours allocated to a laboratory session in Digital Electronics. It is a necessary part of the course at which attendance is compulsory. Here are some guidelines to help you perform the experiments and to submit the reports: 1. Read all instructions carefully and carry them all out. 2. Ask a demonstrator if you are unsure of anything. 3. Record actual results (comment on them if they are unexpected!) 4. Write up full and suitable conclusions for each experiment. 5. If you have any doubt about the safety of any procedure, contact the demonstrator beforehand.
6. THINK about what you are doing!
The Breadboard
The breadboard consists of two terminal strips and two bus strips (often broken in the centre). Each bus strip has two rows of contacts. Each of the two rows of contacts are a node. That is, each contact along a row on a bus strip is connected together (inside the breadboard). Bus strips are used primarily for power supply connections, but are also used for any node requiring a large number of connections. Each terminal strip has 60 rows and 5 columns of contacts on each side of the centre gap. Each row of 5 contacts is a node. You will build your circuits on the terminal strips by inserting the leads of circuit components into the contact receptacles and making connections with 22-26 gauge wire. There are wire cutter/strippers and a spool of wire in the lab. It is a good practice to wire +5V and 0V power supply connections to separate bus strips.
The 5V supply MUST NOT BE EXCEEDED since this will damage the ICs (Integrated circuits) used during the experiments. Incorrect connection of power to the ICs could result in them exploding or becoming very hot with the possible serious injury occurring to the people working on the experiment! Ensure that the power supply polarity and all components and connections are correct before switching on power.
Common Causes of Problems 1. Not connecting the ground and/or power pins for all chips. 2. Not turning on the power supply before checking the operation of the circuit. 3. Leaving out wires. 4. Plugging wires into the wrong holes. 5. Driving a single gate input with the outputs of two or more gates 6. Modifying the circuit with the power on. In all experiments, you will be expected to obtain all instruments, leads, components at the start of the experiment and return them to their proper place after you have finished the experiment. Please inform the demonstrator or technician if you locate faulty equipment. If you damage a chip, inform a demonstrator, don't put it back in the box of chips for somebody else to use. If you locate any errors in this manual, please e-mail:[email protected]
Example Implementation of a Logic Circuit Build a circuit to implement the Boolean function F = /(/A./B), please note that the notation /A refers to . You should use that notation during the write-up of your laboratory experiments.
Fig 2. The complete designed and connected circuit Sometimes the chip manufacturer may denote the first pin by a small indented circle above the first pin of the chip. Place your chips in the same direction, to save confusion at a later stage. Remember that you must connect power to the chips to get them to work.
7402(NOR)
7404(NOT)
7408(AND)
7411(3-i/p AND)
7432(OR)
7486(EX-OR)
7410(3-i/p NAND)
7420(4-i/p NAND)
Experiment No:
Date: __/__/____
Apparatus Required: IC 7486, IC 7432, IC 7408, IC 7400, etc. Procedure: 1. 2. 3. 4. Verify the gates. Make the connections as per the circuit diagram. Switch on VCC and apply various combinations of input according to truth table. 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.
Circuit Diagram:-
Experiment No:
Date: __/__/____
COMBINATIONAL LOGIC DESIGN USING 74xx ICs Aim: A warning buzzer is to sound when the following conditions apply:
a. b. c. d. Switches A, B, C are on. Switches A and B are on but switch C is off. Switches A and C are on but switch B is off. Switches C and B are on but switch A is off.
Draw a truth table for this situation and obtain a Boolean expression for it. Minimize this expression and draw a logic diagram using only a) NAND b) NOR gates. If the delay of a NAND gate is 15ns and that of a NOR gate is 12ns, which implementation is faster. Pre-Laboratory :There are two tasks that you must perform prior to sitting this laboratory:
a. Understand the design problem given to you. b. Draw up the truth tables and logic diagram for the design .
Apparatus Required: -
Procedure: 1. 2. 3. 4. Verify the gates. Make the connections as per the circuit diagram. Switch on VCC and apply various combinations of input according to truth table. Note down the output readings combinations of inputs.
Conclusion: -
Experiment No:
Date: __/__/____
Aim: - To verify the truth table of MUX and DEMUX . Apparatus Required: IC 74153, IC 74139 etc.
Procedure: - (IC 74153) 1. The Pin [16] is connected to + Vcc. 2. Pin [8] is connected to ground. 3. The inputs are applied either to A input or B input. 4. If MUX A has to be initialized, Ea is made low and if MUX B has to be initialized, Eb is made low. 5. Based on the selection lines one of the inputs will be selected at the output and thus verify the truth table Procedure: - (IC 74139) 1. The inputs are applied to either a input or b input 2. The demux is activated by making Ea low and Eb low. 3. Verify the truth table .
Conclusion: -
Experiment No:
Date: __/__/____
Conclusion: -
Date: __/__/____
Aim: - To verify the truth table of one bit and four bit comparators using logic Gates and IC 7485 Apparatus Required: IC 7486, IC 7404, IC 7408, IC 7485etc. Procedure: 1.
Verify the gates. Make the connections as per the circuit diagram. Switch on Vcc. Applying i/p and Check for the outputs. The readings of outputs should be tabulated .
2. 3. 4. 5.
Tabular column :-
Conclusion: -
Experiment No:
Date: __/__/____
Circuits connections are made to the appropriate pins of IC 7489 First you have to write the data and then read the data, for writing data make WE to low and ME input to low For a 4-bit data select any address input from A0 to A9. For ex. select A3 to A0 and connect the data inputs/ outputs i.e., I/O4 I/O1 Write a 4-bit data of your choice in each of the required address inputs or memory locations By doing the above steps 2, 3 and 4 the data will be stored in the memory location. For reading data a. make WE to high and ME input to low b. disconnect the data inputs I/O4 I/O1 from input lines and connect them to output lines to read the data c. and then give the address inputs of the data you have stored and observe the outputs through I/O4 I/O1.
2. 3. 4. 5. 6.
Conclusion:-
Date: __/__/____
Aim:- To study shift register using IC 7495 in all its modes i.e.
SIPO/SISO, PISO/PIPO. Apparatus Required: IC 7495, etc. Procedure:Serial In Parallel Out(SIPO):1. Connections are made as per circuit diagram. 2. Apply the data at serial i/p 3. Apply one clock pulse at clock 1 (Right Shift) observe this data at QA. 4. Apply the next data at serial i/p. 5. Apply one clock pulse at clock 2, observe that the data on QA will shift to QB and the new data applied will appear at QA. 6. Repeat steps 2 and 3 till all the 4 bits data are entered one by one into the shift register. Serial In Serial Out(SISO):1. Connections are made as per circuit diagram. 2. Load the shift register with 4 bits of data one by one serially. 3. At the end of 4th clock pulse the first data d0 appears at QD. 4. Apply another clock pulse; the second data d1 appears at QD. 5. Apply another clock pulse; the third data appears at QD. 6. Application of next clock pulse will enable the 4th data d3 to appear at QD. Thus the data applied serially at the input comes out serially at QD
Parallel In Serial Out (PISO):1. Connections are made as per circuit diagram. 2. Apply the desired 4 bit data at A, B, C and D. 3. Keeping the mode control M=1 apply one clock pulse. The data applied at A, B, C and D will appear at QA, QB, QC and QD respectively. 4. Now mode control M=0. Apply clock pulses one by one and observe the Data coming out serially at QD Parallel In Parallel Out (PIPO):1. Connections are made as per circuit diagram. 2. Apply the 4 bit data at A, B, C and D. 3. Apply one clock pulse at Clock 2 (Note: Mode control M=1). 4. The 4 bit data at A, B, C and D appears at QA, QB, QC and QD respectively.
Circuit diagram :-
PISO:-
Conclusion:-
Experiment No:
Date: __/__/____
2. Change the values of the inputs and verify at least 5 functions given in the function table. Pin detail & Function table:-
IC 74181
Experiment No:
Date: __/__/____
Circuit Diagram:
Conclusion:-
Experiment No:
Date: __/__/____
Truth table :-
Conclusion:-
Date: __/__/____
Aim:- Truth table verification of Flip-Flops: (i) RS-Type (ii) D- Type (iii) T- Type. (iv)JK-Type Apparatus Required: IC 7400,IC 7404 etc. Procedure: 1. Connections are made as per circuit diagram. 2. Verify the truth table for various combinations of inputs. Circuit Diagram& Truth table: i)RS Flip-Flop
Qn/QnRSQn+1 /Qn+1 0 1 00 1 0 00 0 1 01 1 0 01 0 1 10 1 0 10 0 1 11 1 0 11
ii) D Flip-Flop
iii) T Flip-flop
Conclusion:-
Experiment No:
Aim: - Realization of 2:4 decoder and 4:2 encoder design. . Pre-Laboratory :There are two tasks that you must perform prior to sitting this laboratory:
1. Understand the design problem given to you. 2. Draw up the truth tables and logic diagram for the design .
Apparatus Required: -
Procedure: 1. 2. 3. 4. Verify the gates. Make the connections as per the circuit diagram. Switch on VCC and apply various combinations of input according to truth table. Note down the output readings combinations of inputs.
Conclusion: -