7486 IC – Quad 2-Input Exclusive-OR Gate (XOR) – DIP-14
🔲 7486 IC – Quad 2-Input Exclusive-OR Gate (XOR) – DIP-14
The 7486 is a standard TTL logic IC that contains four independent 2-input Exclusive-OR (XOR) gates. These gates are ideal for digital logic circuits that require parity checking, controlled inverting, or logic comparisons. The XOR gate outputs HIGH only when the number of HIGH inputs is odd (i.e., inputs are different).
⚙️ Technical Specifications
Parameter | Specification |
---|---|
IC Name | 7486 (SN74LS86, SN7486N, etc.) |
Logic Function | XOR (Exclusive-OR) |
Number of Gates | 4 (Quad) |
Inputs per Gate | 2 |
Output Type | TTL (push-pull) |
Supply Voltage (Vcc) | 4.75V to 5.25V (typ. 5V) |
Package Type | DIP-14 |
Operating Temp Range | 0°C to +70°C |
Propagation Delay | ~22ns (typical) |
Power Consumption | Low |
📌 Pinout (DIP-14)
Pin | Function | Pin | Function |
---|---|---|---|
1 | A1 | 14 | Vcc |
2 | B1 | 13 | B4 |
3 | Y1 | 12 | A4 |
4 | A2 | 11 | Y4 |
5 | B2 | 10 | B3 |
6 | Y2 | 9 | A3 |
7 | GND | 8 | Y3 |
Each gate operates on the logic:
Y = A ⊕ B → Output is HIGH only when A ≠ B
🧠 Truth Table (For One XOR Gate)
A | B | Y (A ⊕ B) |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
🛠️ Applications
Parity generation and checking
Bitwise comparison
Controlled inverters
Digital signal processing
Arithmetic circuits
🔌 Example Use with Arduino
You can use 7486 with Arduino to compare two digital inputs and send the output to an LED or logic analyzer.
// Arduino example to compare two inputs and show XOR result on output const int inputA = 2; const int inputB = 3; const int outputXOR = 13; void setup() { pinMode(inputA, INPUT); pinMode(inputB, INPUT); pinMode(outputXOR, OUTPUT); } void loop() { int a = digitalRead(inputA); int b = digitalRead(inputB); digitalWrite(outputXOR, a ^ b); // XOR operation }