Fundamental Logic Gates with Truth Table:-
A circuit that performs a specific logic operation (AND, OR) is called a logic
Everything in electronics is made up of logic gates. Think of them as the smallest units in the study of electronics. Integrated circuits (ICs) are built of logic gates. These logic gates also form flip-flops, which store data in bytes. Logic gates are made up of transistors, usually MOSFETs (a kind of field effect transistor). So, transistors make logic gates make flip-flops make registers and other data storage units.
Logic gates take binary inputs and according to their behaviour, give out specific binary outputs. There are primarily seven types of gates: AND, OR, NOT, NAND, NOR, XOR, XNOR. NOT takes one input, the rest take two.
AND gives out a high voltage output only when both inputs are high.
OR gives out a high voltage output when at least one input is high.
NOT gives out a high voltage output only when input is low.
NAND gives out a high voltage output only when both inputs are low.
NOR gives out a high voltage output when at least one input is low.
XOR gives out a high voltage output when only one input is high.
XNOR gives out a high voltage output only when both inputs are the same.
To summarise, a logic gate is a bunch of transistors arranged in a specific manner to reproduce the logic operations of boolean algebra in electric circuits using low (ground) and high voltages for 0 and 1.
The invertor or (NOT Gate) is also called inverse Gate. The symbol is shown above diagram. It has only one input and one outpt. If the input is one(1) the output is inverser i.e(0) and if the input is zero(0) the output is inverse i.e (1).It is also called switch gate.
THE AND GATE:-
An AND gate can have two or it has more than two inputs and performs what is known as multiplication i.e( multiply the inputs). The output of AND gate is high when all inputs are high otherwise all outputs are low. An AND gate produces a HIGH output only when all of the inputs are HIGH. When any of the inputs are zero or low then output is LOW. Therefore, the basic purpose of AND gate is to determine when certain conditions are simultaneously true, as indicated by High levels on all of its inputs, and
produces a High on its output.The logical sysmbol is shown bellow.
THE OR GATE:-
The OR Gate is also addiion the inputs.OR gate can have two or more inputs and performs what is known as a logical addition. The output of OR gate is Low when all inputs are low, otherwise, all outputs are high. An OR gate produces a High on the output when any of the inputs is High. The output is Low only when all of the inputs are Low. Therefore, an OR gate determines when one or more of its inputs are High and produces a High on its output.