Custom Search

Logic gates

Basic gates

There are three basic gates in digital electronics. These are NOT gate, AND gate & OR gate.

NOT gate / Inverter: NOT gate is called inverter also. Operation of NOT gate is if input is high output is low and if input is low then output is high. Another words output is always inverse or toggle of input. So it is called inverter. Circuit diagram of inverter is given below diagram of not gate Here input is A output is not gate expresson

Truth table of NOT gate:truth table of not gate From truth table we can say that NOT gate shows output high if the input low and shows output low if the input high. Example:   not gate output A is an input signal for NOT gate in black color and X is the output signal in red color. It is clear NOT gate always reverses its input signal.

OR gate: The output is high if any input is high for OR gate operation. Only output is low when all input is low. OR gate If input A, B and output is X. Then the operation is written in with plus (+).

Mathematically X = A+B

Truth table of OR gate :truth table of OR gate Here two inputs are shown in the table. For first case where two inputs are low, output also low. But all outputs are high because any one input is high. Example:OR gate output signal A and B are the input here. If one input is high then output is high. Output wave X shows that.

AND gate: When all inputs are high output is high in AND gate. If one input is low then output low. Diagram of AND gate is AND gate diagram Truth table of AND gate:

For two inputs a truth table is show belowAND gate truth table AND operation is written multiple with the inputs. For input A, B and output X the operation is X=AB or X=A.B Example: AND gate output wave From output signal where the two inputs are high output also high.  Otherwise all area are low in AND gate.

NOR gate: NOR gate is opposite of OR gate. NOR gate gives high output when all inputs are low. Diagram of NOR gate approximately same only one change that a single bubble used in output bar. NOR gate diagram NOR gate operation written NOR gate expression

Truth table of NOR gate:  NOR gate truth table truth table shows only when all inputs are low then output high. Example: NOR gate output waveform NOR gate produces low when any one of input is high.

NAND gate: NAND gate also opposite of AND gate. NAND gate produces high if all input are low otherwise all output are high. Diagram of NAND gate similar to AND gate only one change that is one bubble used to output terminal. NAND gate diagram   NAND operation written in NAND gate operation

Truth table:NAND gate truth table Example: NAND gate output waveform XOR gate:  XOR gate means exclusive OR gate. When both inputs are opposite logic level only then output are high. XOR gate diagram Expression of XOR gate written as XOR gate expression alternatively written XOR gate expressions Truth table: XOR gate truth table Example: XOR gate output wave If one input is high then output is high for XOR gate.

XNOR gate: In XNOR gate when all input are same logic level then output is high. XNOR gate diagram Expression written asXNOR gate expression alternative expression XNOR gate expressions Truth table:  XNOR gate truth table Table shows output high when two inputs are low and two inputs are high. Example: XNOR gate output wave

Share this Story
  • Logic gates

    Basic gates There are three basic gates in digital electronics. These are NOT gate, AND gate & OR gate. NOT gate ...
Load More Related Articles
  • Combination of Cells

    Why cell combination needed? A cell is an electrical element which produces current and a battery is a set of some ...
  • Best Breadboard

    Breadboard is a basic instrument for electrical and electronic engineering or telecommunication engineering or physics students or teacher or researcher. Teacher, ...
  • Top 7 Best Multimeters: Reviews Based on Performance

    Important factors are before buying multimeter You have to consider some factors before buying a multimeter Budget Functions Safety feature Accuracy ...
  • How To Read Resistor Color Code

    Resistor and Resistance Resistance is a property of conductor. Resistivity depends upon conductor to conductor. Some have less resistivity which is ...
  • Electrical Ohm’s Law

    In 1826 famous German scientist Gorge Simon Ohm invented a relation between voltage and current. He expressed the relation in a ...
  • Force on a Current Carrying Conductor in a Magnetic Field

    We know moving charge experiences a force due to magnetic field. Magnetic field creates force into conductor passing current through it. ...
Load More By Md Ebrahim Shah
  • Logic gates

    Basic gates There are three basic gates in digital electronics. These are NOT gate, AND gate & OR gate. NOT gate ...

    Boolean algebra is a means for expressing the relationship between a logic circuit’s inputs and outputs. Digital circuits called logic gates ...
Load More In Digital electronics

Check Also

Combination of Cells

Why cell combination needed? A cell is an ...

© Copyright 2009-2017, All Rights Reserved.