Logic gates
Open the interactive version →CIRCUITS
Logic gates make decisions with on (1) and off (0) signals. Combining inputs lets a system respond to more than one condition.
Example: a machine runs only when the guard is closed AND start is pressed.
IN REAL LIFE
Two-hand safety press: off
Truth table: AND
How it works
AND
- The output of an AND gate is 1 only when input A and input B are both 1.
- Truth table: 0 0 → 0, 0 1 → 0, 1 0 → 0, 1 1 → 1.
Examples
- A guillotine that works only when both hands press two buttons
- A machine that runs only when the guard is closed AND start is pressed
See also
Switches Programmable control: a greenhouse
Check your understanding
Which gate would make a guillotine work only when both hands press two buttons?
An AND gate.
What is the output of a NOR gate when both inputs are 0?
Printable worksheet
An A4 sheet to print or save as a PDF: a blank diagram to label, a gap-fill and check questions. There is also an EAL support version.