MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › AND OR NOT gates and their truth tables
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

AND OR NOT gates and their truth tables

AND, OR and NOT are the three cornerstones of digital logic, and the truth table is their identity card. This page explains the three gates and gives tips for reading them on a diagram.

1. How it works

An AND gate outputs 1 only when all inputs are 1, else 0, like series switches. An OR outputs 1 if any input is 1, else 0, like parallel switches. A NOT inverts a single input, 1 to 0 and 0 to 1. They are the base of all combinational logic; read the truth table and you can predict any output, which is basic fault finding.

2. Practice and pitfalls

Two input AND: 00 to 0, 01 to 0, 10 to 0, 11 to 1. OR: 00 to 0, 01 to 1, 10 to 1, 11 to 1. NOT: 0 to 1, 1 to 0. Mnemonics: AND is strict (all 1), OR is wide (any 1), NOT flips. Multi input gates extend this: AND is 0 if any 0, OR is 1 if any 1.

3. Basic gate truth table

InputANDORNOT
0,000dash
0,101dash
1,001dash
1,111dash
0dashdash1
1dashdash0

4. Notes

AND gives 1 only on all 1, OR on any 1, NOT inverts; the truth table is the basic fault tool. Watch the small bubble (inversion) on diagrams, never float inputs especially in CMOS, and test each gate against its table to locate faults.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital basics per GB/T 4728 symbols; control to GB/T 5226.1 and IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Missing the NOT bubble on a gate mistakes NAND for AND.
② Floating a CMOS input gives undefined level and false action.
③ Testing only some pins of a multi input gate misses others.

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL