Lab No 2
Lab No 2
2
Implementation of basic functions of logic gates
Objectives:
Objectives of this lab includes:
1. Introduction of necessary IC’s and their logic gates.
2. Identifying and testing the IC’s.
3. Using the digital trainer to make basic Digital Logic Circuits.
4. How to design and fabricate the PCB of a given circuit.
Equipment Required:
In this lab we would make use of the following equipment:
1. Digital integrated circuits(IC’s).
2. Digital trainer.
3. Proteus.
4. IC tester machine.
Logic Gates come in forms of integrated circuits that usually have two or more Logic Gates
built into them. These ICs have various input/output pins, VCC and GND pins. Some ICs require
5 volts to operate optimally but can run on 3.3 volts as well, some ICs operate at 3.3 volts and can
get damaged or even burn at 5 volts. Some operate nominally at 3.3 volts but can tolerate up to 5
volts. The information regarding pin numbers, functions, nominal and maximum/minimum
voltages and currents is all present in an ICs datasheet. Thus, it is essential to study the datasheet
of an IC before using it.
An integrated circuit or monolithic integrated circuit is a set of electronic circuits on one small flat
piece of semiconductor material mainly silicon. IC’s have two main advantages over discrete
circuits: Cost and Performance. The IC's mass production capability, reliability and building-block
approach to circuit design has ensured the rapid adoption of standardized ICs in place of designs
using discrete transistors.
Logic Gates:
A digital logic gate is the physical implementation of a Boolean function. It takes one or
more digital signal as input and gives one output signal. All the circuits using digital logic consist
of Logic Gates. The output and input of a Logic Gate can either be HIGH or LOW, 0 or 1 and true
or false depending on its functions.
You can write procedure first then with each gate, mention its pin configuration, paste your
working IC on trainer picture then its proteus and truth table. However this is a general format,
you can modify it in a better way.
Following IC’s and their Logic gates were discussed in the lab, their list is as follows:
1. OR Gate
2. AND gate
3. NAND Gate
4. NOT Gate
5. NOR Gate
6. XOR Gate
The IC’s provided by the lab instructor were Logic Gates and some other most frequently used
equipment such as 7 segment display, decoders, 555 timer IC. With the help of these ICs we
implemented their logic gates and verified the results.
The 7400 devices contain four independent, 2-input NAND gates. It is a combination of
an AND gate and a NOT gate.
The 7408 devices contain four independent 2-input AND gates. The nominal voltage being
5 volts while the minimum is 4.5 volts and the maximum is 5.5 volts. It comes in DIP, SMD, and
SMT forms. Pin 14 is VCC and pin 7 is GND.
Fig 2.3 Connection diagram of 7408 IC.
The 7486 devices contain four independent 2-input Exclusive-OR gates. They perform the Boolean
XOR functions in positive logic. A typical application is, as a true/complement element. If one of
the inputs is low, the other input will be reproduced in true form at the output. If one of the inputs
is high, the signal on the other input will be reproduced inverted at the output.
Fig 2.5 Connection diagram of 7486 IC.
7432 IC (OR Gate):
The 7432 devices contain four independent 2-input OR gates. The nominal voltage being 5 volts
while the minimum is 4.5 volts and the maximum is 5.5 volts. It comes in DIP, SMD, and SMT
forms. Pin 14 is VCC and pin 7 is GND while other pins are input/output pins.
Procedure:
Step 1: Power the trainer and make sure all the digital input switches are at 0.
Step 2: Plug the IC into the breadboard.
Step 3: Use the 5V supply to give VCC to the IC at its designated pin.
Step 4: Connect the GND pin of the IC to ground.
Step 5: Use digital output pins (red) of the trainer by connecting them to input pins of a gate of
the IC.
Step 6: Connect the output pin of that gate to an input (white) pin of the trainer.
Step 7: Draw a truth table for the gate and turn the inputs on and off in all sequences.
Step 8: Note the LED state of output and fill the truth table accordingly.