XOR gate experiment with 74LS86 on breadboard and LED output

Introduction

The 74LS86 is a quad XOR (Exclusive-OR) gate IC. The XOR gate is a fundamental logic gate that outputs HIGH only when the inputs are different. If both inputs are the same (either both HIGH or both LOW), the output is LOW. In this experiment, we will explore how the XOR gate works using the 74LS86 IC.

Objective

The objective of this experiment is to demonstrate the behavior of the XOR gate by applying different input combinations and observing the corresponding output states using LEDs.

Components Needed

Circuit Diagram

Procedure

  1. Place the 74LS86 IC on the breadboard, and connect pin 7 (GND) to the ground rail and pin 14 (VCC) to the 5V power rail.
  2. Connect two push buttons to the input pins of one XOR gate (e.g., pins 1 and 2 for inputs A and B). These buttons will serve as the input signals.
  3. Connect two 10kΩ resistors between the input pins (pins 1 and 2) and ground as pull-down resistors to ensure clean LOW signals when the buttons are not pressed.
  4. Connect the output pin of the XOR gate (e.g., pin 3 for the output of the gate) to the anode of the LED.
  5. Connect the cathode of the LED to ground through a 220Ω resistor.
  6. Power the circuit by applying 5V to the IC, and observe the LED behavior:
    • When both buttons are not pressed (inputs are LOW), the output is LOW, and the LED will be off.
    • When one button is pressed (one input HIGH and one input LOW), the output is HIGH, and the LED will turn on.
    • When both buttons are pressed (both inputs HIGH), the output is LOW, and the LED will be off again.

No Ads Available.

Results

The LED will light up only when the two inputs to the XOR gate are different (one HIGH and one LOW). When both inputs are the same (either both HIGH or both LOW), the LED remains off. This confirms the behavior of the XOR gate as described by its truth table.

Conclusion

In this experiment, we demonstrated the operation of the 74LS86 XOR gate. XOR gates are commonly used in digital circuits, especially in arithmetic and error detection applications, where the comparison of signals is essential. The XOR gate outputs HIGH when the inputs differ, which is useful in numerous logic circuit designs.

Contact Us

If you have any questions or inquiries, feel free to reach out to us at Microautomation.no@icloud.com .

Follow our Socials for the newest updates!