Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
To design and simulate basic logic gates and to design an appropriate logic gate
combination for a given truth table.
APPARATUS
A project board
Two N4007 diodes
Two LED
A 9v battery with a connector
Two BPJ-BC547 transistors
Two 100, three 560 resistors
Connecting wires
THEORY
The three basic logic gates and their combinations are the building block of the digital
circuit.
1. OR gate
The OR gate is an electronic circuit that gives a high output (1) if one or more of its
inputs are high. A plus (+) is used to show the OR operation.
CIRCUIT DIAGRAM
2. AND Gate
The AND gate is an electronic circuit that gives high output only if all inputs are high.
CIRCUIT DIAGRAM
3. NOT Gate
The NOT gate is an electronic circuit that produces an inverted version of the input at its
output. It is also known as an inverter.
CIRCUIT DIAGRAM
PROCEDURE
DESIGN OF BASIC LOGIC GATES
1. Write product term for each input (minterm), Combination where Boolean function
has output
2. While writing minterms, complement the variable whose value is 0 otherwise write
it in the direct form (without complement).
A B Y=A.B Y’
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
The Boolean Function F(x,y) is obtained as:
F(x,y) = X’.Y’+X.Y’+X’Y
So, our expression reduces to that of a NAND Gate logic (Not of AND).
CIRCUIT DIAGRAM
CIRCUITS PREPARED
AND gate
OR gate
NOT gate
NAND gate
OBSERVATIONS
1. Stimulation of AND gate
The following conclusions can be easily drawn from the working of electrical circuit:
a) If both switches are open (A=0, B=0) then LED will not glow, hence Y=0.
b) If Switch one switch is open and the other is closed (A=1, B=0 or A=0, B=1) then
LED will not glow, hence Y=0.
Hence Y=1.
2. Stimulation of OR gate
The following conclusions can be easily drawn from the working of electrical circuit:
a) If both switches are open (A=0, B=0) then LED will not glow, hence Y=0.
b) If Switch one switch is open and the other is closed (A=1, B=0 or A=0, B=1) then
LED will glow, hence Y=0.
Hence Y=1.
a) If switch A is open (i.e. A=0), the LED will glow, hence Y=1.
b) If Switch A is closed (i.e. A=1), the LED will not glow, hence Y=0.
a) If Switch A & B open (A=0, B=0) then LED will glow, hence Y=1.
b) If Switch A open B closed then (A=0, B=1) LED will glow, hence Y=1.
c) If switch A closed B open then (A=1, B=0) LED will glow, hence Y=1.
d) If switch A & B are closed then (A=1, B=1) LED will not glow, hence Y=0
RESULT
Basic logic gates were designed and simulated and logic circuit was prepared for the
given truth table.
BIBLIOGRAPHY
Wikipedia
Electronic devices and circuits by J B Gupta
Conceptual physics by G C Agarwal
Encarta