OR GATE
Electronics Lab
MT-1323
BS Computing
Riphah International University
Faisalabad Campus, Faisalabad.
OR GATE
Verify Truth Table for OR Gate?
Objective
Toinvestigate the behavior of an OR gate
and verify its truth table by testing different
input combinations.
THEORY:
ORgate is a Logic Gate and called so because
OR means “to add”.
There are two inputs and one output in an OR
Gate.
Soonly when both inputs are zero, the output is
zero and one in all the other cases.
EQUATION FOR OR GATE:
Y=A+B
LOGIC SYMBOL:
TRUTH TABLE:
INPUT OUTPUT
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1
APPARATUS:
1N4007 Diode X 2
1k Resistor
Breadboard
LED
4 Volt Battery
Connecting Wires
PROCEDURE:
Connections are given as per the
circuit diagram.
Logical inputs are given as per the
circuit diagram.
Observe the output and verify the truth
table.
CIRCUIT DIAGRAM:
Safety Considerations:
•Ensure the power supply voltage is appropriate for
the IC to avoid damaging components.
•Use current-limiting resistors to protect the LED
and other sensitive components.
•Be cautious when handling breadboard connections
to avoid short circuits or loose connections.
Applications
Control Systems (Example, If sensor A detects
motion OR sensor B detects motion, the system is
activated).
Alarm Systems (Example, Alarm = Door open OR
Window open).
Digital Circuits and Arithmetic (Full-adder circuit
uses an OR gate to generate the carry output when
needed).
Network Communication (Packet transmission
condition = Condition 1 OR Condition 2).
Switching Circuits (A multiplexer that chooses
between inputs A, B, or C could use OR gates to
combine the inputs based on the select lines).
OR GATE ON BREADBOARD:
https://youtu.be/gowWRvzchV4