10 MINUTE |
SIMPLIFIED FOR BEGINNERS |
DIGITAL COURSE |
There are 5 basic elements Logic elements: And, Or, Not, Nand and Nor.
There is a short Summary and Test at the end
This is how they operate.... The lamp indicates the output.
Close both Sw1 and Sw2 to light lamp
|
An And element is called an AND Gate. InputsOutputs |
|
Close Sw1 or Sw2 to light lamp |
An Or element is called an OR Gate. Inputs Outputs |
|
Closing Sw1 does NOT light the lamp IE: close Sw1 to turn the lamp off |
A Not function is called an INVERTER. call the small circle a Knot to remember it. |
How And, Or and
Not Gates work
AND Gate |
|
|
|||||||||
OR Gate |
|
|
|||||||||
INVERTER |
|
The 2 logic numbers
The function of the three gates can be expressed in logic numbers |
|
|
|
|
||||||||||||
|
|
|
|
||||||||||||
|
|
The numbers 0 and 1 are called logic values. Each gate can have 2 possible
values. TRUE for logic level 1 and FALSE for logic level 0. THUS we can make
a TRUTH table for each of the gates.
Truth Table |
Translates to |
Truth Table |
Translates to |
||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
Truth Table |
Translates to |
||||||
|
Cannot be simplified further! |
Two further gates are:
NAND - the complement of a normal AND gate Ie: Not AND.
NOR - the complement of a normal OR gate Ie: Not OR.
NAND Gate |
|
|
|||||||||
NOR Gate |
|
|
|
|
|
|
||||||||||||
|
|
|
|
Truth Table |
Translates to |
Truth Table |
Translates to |
||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
A voltage at one input will have no effect but a voltage at both inputs will change the state of the output.
A voltage at one input will change the output and the other input will have no effect.
The output is of opposite logic level to the input.
A voltage on one input will have no effect but a voltage at both inputs will change the state of the output.
A voltage at either input will change the output.
Answer these questions:
Name the 4 commonly used types of gates:
What is the common name for a NOT gate?
What are the two TRUTH values?
Look at the four TRUTH tables to answer these...
A: With one gate of an AND GATE at logic 1 will the other gate alter the
output?
B: With one gate of an OR GATE at logic 1 will the other gate alter the
output?
C: With one gate or a NAND GATE at logic level 1 will the other gate alter
the output?
D: With one gate of a NOR GATE at logic level 1 will the other gate alter
the output?