Beruflich Dokumente
Kultur Dokumente
input
A
output
NOT
AND gate
The AND gate has two inputs. The output is at logic
1 only if both inputs are at logic 1.
input output
A
inputs
B
AND
output
OR gate
The output of an OR gate is at logic 1, if either
of the two inputs is at logic 1.
input output
A B
A
inputs
B
output
OR
0 0
0 1
1 0
1 1
Exclusive OR gate
This gate is sometimes called an EXOR or nonequivalence (NEQ) gate. The output is at logic
1, if only one of the inputs is at logic 1. If both
inputs are at logic 1 the output is at logic 0.
inputs output
0 0
output
inputs
A B
NEQ
0 1
C
1 1
1 0
0
1
1
Combined gates
The NAND gate is made by placing a NOT gate
after an AND gate. It is an AND-NOT gate. The
NOT gate inverts the logic output of the AND
gate . As NAND gates are made as separate
electronic units they have their own symbol.
inputs output
output
inputs
A B
0
NAND
C
1
1
0
1
0
output
inputs
A B
0 0
0 1
NOR
C
1 1
1 0
0
OR
AND
C
C
First write down the truth table with the inputs filled in. It
is best to write the inputs down, in the order of binary
counting. Then fill in the logic state of point D. Finally,
fill in the logic state of the output E. This is the result of
an AND gate being applied to point C and D of the logic
circuit.
QUIZ NO. 6
C
AND
G
E
NOT
AND
OR
ANSWERS
A
Logic
state
Potential
Input
Input
Output
Nearly 0 V
Output
Nearly 5 V
+5 V
NOT
A to drop to below 0.4 V.
The input of the NOT gate is
2 k
0V
sort of switch is used in some cars. The door operates the light switch. When the door
closes, the light stays on for a few seconds before going out.
+5 V
200
AND
470 F
100 k
0V
The circuit uses an AND gate with two inputs connected together. When the inputs are at
logic 1, the output is at logic 1. When the switch is closed, point A is at 5 V. Both inputs of
the AND gate are at logic 1. The output is at logic 1 and the LED is alight. When the switch is
opened, the charge on the capacitor slowly flows through the resistor until point A is at 0 V.
The output is now at logic 0, and the LED is switched off. The length of time delay is the
time constant RC.
SEATWORK (INDIVIDUAL)
The ff. figure shows a circuit used in a car door
and seatbelt warning system.
(+)
ignition
I
D
S
Door
Seatbelt
Buzzer
(-)
Questions:
1.
2.
3.
Door D
Seatbelt S
Buzzer B
Answers:
1.
2.
3.
What two logic gates are used in the circuit? OR gate and AND gate
Complete the ff. truth table for the circuit.
The buzzer will sound if: a) the ignition switch is ON and the door
is not locked; b) the ignition switch is ON and the seatbelt is not
fastened; c) the ignition is ON, the door is not locked and the
seatbelt is not fastened.
Ignition I
Door D
Seatbelt S
Buzzer B