• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer

Power Inception

Resources for All Things Power Related

  • Home
  • Tech News
  • Product Reviews
  • Refrigerators
  • DC Circuits
  • Networking
  • Physics
  • Apps
  • Business

Logic Gates – OR Gate, NOR Gate, AND Gate, NOT Gate

12/14/2014 By PowerInception.com

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

OR GATE

Boolean algebra is a means for expressing the relationship between a logic circuit’s inputs and outputs.

Digital circuits called logic gates circuits can be constructed from diodes, transistors and resistors connected so that the circuit output is the result of a logic operation (OR.AND, NOT).

A truth table is a means for describing how a logic circuit’s output depends on the logic levels present at the circuit’s inputs.

The OR GATES is the first of the three basic Boolean operations to be learned. The truth table in figure-1 shows what happens when two logic inputs, A and B are combined using the OR operation to produce the output x.The table shows that x is a logic 1 for every combination of input levels where one or more inputs are1.The only case where x is a 0 is when both inputs are 0.

The Boolean expression for the OR operation is:

x=A +B

In this expression, the + sign does not stand for ordinary addition; it stands for the OR operation. The OR operation is similar to ordinary addition except for the case where A and B are both 1; the OR operation produces 1+1=1, not 1+1=2.

In Boolean algebra, 1 as high as we go, so we can never have a result greater than 1.The same holds true for combining three inputs using the OR operation. Here we have x=A+B+C. If we consider the case where all three inputs are 1, we have

x = 1+1+1=1

The expression x=A+B is read as “x equals A OR B”, which means that x will be 1 when A or B both are 1.Likewise, the expression x=A+B+C is read as “x equals A OR B OR C”, which means that x will be 1 when A or B or C or any combination of them are 1.

A B x =A+B
0 0 0

0

1 1
1 0 1
1 1 1

Fig-1: Truth table

OR gate symbol (2 input)

In digital circuitry, an OR gate is a circuit that has or more inputs and whose outputs is equal to the OR combination of the inputs.Figure-1 is the logic symbol for a two-input OR gate.

Using the language of Boolean algebra, the output x can be expressed as x=A+B+C.

A B C x=A+B+C
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1

3 input OR Gate symbol

Fig-2: 3 input OR Gate symbol

Filed Under: Digital electronics Tagged With: basic gates

Primary Sidebar

parallel connection-of-cells batteries

Combination of Cells

Why cell combination needed? A cell is an electrical element which produces current and a battery is a set of some cells with series or parallel connection. A cell is an active element. To increase the rate of current and voltage supply, cells are connected as manner in series or parallel or mix combination. Internal resistance […]

The Complete Guide to Purchasing Two-Way Radios for Businesses

5 Key Benefits of a GPS Asset Tracker

Document Security Mistakes

4 Common Document Security Mistakes to Avoid for Your Business

Well Drilling Contractor

5 Tips for Hiring a Well Drilling Contractor

Emerging Trends in Business

How to Keep up With Emerging Trends in Business

3D Printing Services

How to Pick 3D Printing Services: The Complete Guide for Businesses

Product Reviews for Small Businesses

6 Tips on Managing Product Reviews for Small Businesses

Buy Chemicals Online

Can You Buy Chemicals Online? Legality and Considerations

Best ups for gaming computer

10 Best UPS For Gaming PC For Ultimate Backup Power

best Power Probe 3 Master Kit

Best Power Probe Master Kit Reviews And Buying Guide

Best Circuit Breaker Panels

Proven 10 Best Circuit Breaker Panel For Ultimate Protection

Footer

About us

PowerInception.com provides thorough tech reviews and the latest technology news. I participate in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As an Amazon Associate I earn from qualifying purchases.

Privacy policy

Affiliate Disclosure

Contact us

Popular posts

3D Printing Services

How to Pick 3D Printing Services: The Complete Guide for Businesses

Product Reviews for Small Businesses

6 Tips on Managing Product Reviews for Small Businesses

Buy Chemicals Online

Can You Buy Chemicals Online? Legality and Considerations

Best ups for gaming computer

10 Best UPS For Gaming PC For Ultimate Backup Power

best Power Probe 3 Master Kit

Best Power Probe Master Kit Reviews And Buying Guide

Categories

  • AC Circuits (1)
  • Apps (16)
  • Battery (4)
  • Business (77)
  • DC Circuits (19)
  • Digital electronics (13)
  • Economics (2)
  • Electrical & Electronics (20)
  • Featured (15)
  • Financial Tech (6)
  • Generator (7)
  • Networking (16)
  • Payroll and HR (4)
  • Physics (30)
  • Product Review (30)
  • Programming C (2)
  • Refrigerators (4)
  • Renewable Energy Technology (3)
  • Software (25)
  • Tech News and Reviews (84)
  • Transformers (6)
  • Websites and Internet (19)

Copyright © 2023 Power Inception