NOR Gate (74LS02)
Building a NOR Gate (74LS02)
If you’ve been following the digital logic series, you’ve seen the NOT, AND, and OR gates in action. Now let’s explore the NOR gate, a gate that only goes HIGH when none of its inputs are HIGH.
In this post, we’ll build and test one using the 74LS02 TTL IC.
What You’ll Need
-
1 × 74LS02 IC (Quad 2-input NOR gates)
-
Breadboard + jumper wires
-
2 × push buttons (or jumper wires for manual input)
-
2 × 10 kΩ resistors (pull-down resistors)
-
1 × 330 Ω resistor (for LED)
-
1 × LED (any colour)
-
5 V power supply (or Arduino 5 V pin)
How the NOR Gate Works
A NOR gate combines the logic of OR and NOT:
it outputs HIGH only when all inputs are LOW.
“If neither A nor B is pressed, the output is ON.
If either (or both) are pressed, the output turns OFF.”
Inside the 74LS02
The 74LS02 contains four independent 2-input NOR gates.
Each one can be used separately, perfect for experimenting or chaining logic.
Pinout (74LS02):
Use pin 7 for ground (GND) and pin 14 for +5 V (VCC).
Each gate follows the pattern: A input → B input → F output.
Circuit Diagram
Wiring the Circuit
-
Place the 74LS02 in the middle of your breadboard. Connect pin 14 to +5 V and pin 7 to GND.
-
Add two push buttons for A and B. Connect one side of each to +5 V. Connect the other side to pins 2 and 3
- Connect 10 kΩ resistors to GND (pull-down). between the push buttons and pins 2 and 3
-
Connect pin 1 (output) through a 330 Ω resistor to the LED then to GND.
Understanding It Visually
-
No buttons pressed: both inputs LOW → LED ON
-
Only A pressed: one HIGH → LED OFF
-
Only B pressed: one HIGH → LED OFF
-
Both pressed: both HIGH → LED OFF
That’s the NOR gate in action, an inverted OR!
Why NOR Matters
The NOR gate is functionally complete, meaning you can build any logic circuit (AND, OR, NOT, XOR, etc.) using just NORs.
It’s often used in control systems, simple CPUs, and TTL logic designs.












Comments
Post a Comment