Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Introduction to Logic Gates

By Arpit jain

You must have heard that calculators and computers store decimal numbers in the form of binary code as long strings of Zeroes and Ones.  In internal circuitry, each digit (0 or 1) is stored in electronic switches called transistors. It is easy to store binary numbers simply by switching the transistor On and Off. We can say that switching ON the transistor represents number 1 and switching OFF represents number 0.  But how can we add, multiply, subtract or perform various mathematical operations using just electrical currents? This can be done by using smart and logical circuits known as Logic Gates.

What are Logic Gates?

The word “logic” itself gives us an idea that they work on certain kind of logical operations. A gate can keep us restricted or can allow us to go out. In a similar manner, logic gate can either restrict electricity or let it flow.  As from childhood, we have learnt about logical operations in mathematics such as +, *, –, etc. Similarly, we can relate mathematical logical operations with the operations of logic gates.

Logic gates are the basic building blocks of digital electronics which have 1 or more input signals based on which it gives one logical output. Logic gate works on digital signals only and there are two states of these signals i.e. 0 as low and 1 as high or ON and OFF state. That’s why Logic Gates are known as digital electronic devices. The logical state of any terminal of gate can change its state, and it does generally change, as processing is happening in the circuit.  A table which gives the relation between different input signals corresponding to its output is known as Truth Table. By the help of this truth table we can identify how logic circuit works in response with different input signals which we apply to logic gates. An example of truth table of AND gate can be seen below where output is “1” only when both the inputs are “1” else the output is 0.

 

INPUT INPUT OUTPUT
A B Y
0 0 0
0 1 0
1 0 0
1 1 1

 

 

 

 

 

 

There are two types of logic state, namely positive logic and negative logic. Positive logic is generally used by most of the electronics devices, whereby we consider higher voltage levels as 1 and lower voltage levels as 0. For example, in logic gates we consider +5V as 1 and from range 0V to 0.49V as 0. Whereas in negative logic we take high voltage levels as 0 and low voltage levels as 1.

Based on the input-output relation we have different kinds of logic gates. Three basic logic gates are as follows OR gate, AND gate and NOT gate. Others are NAND, NOR, XOR and ExOR gates.

Symbols of Logic Gates

By using different combinations of Logic gates, many advanced and complex circuits can be achieved. Theoretically, there is no limit on the number of gates to be arrayed in a single circuit but practically, only limited number of gates can be arranged in a given physical space. Different ICs contain arrangements of different logic gates. Also, as logical gates are mathematical symbols, it is possible to do any sort of calculation by the arrangement of different logic gates.

Let us know about your thoughts, doubts or feedback in the comments section below.


Filed Under: Electronic Projects

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • PS2 Keyboard To Store Text In SD Card Using Arduino Circuit Setup On Breadboard
    How To Use PS2 Keyboard To Store Text In SD Card Using Arduino- (Part 42/49)
  • Wireless Path Tracking System Using Mouse, XBee And Arduino Circuit Setup On Breadboard
    How To Make A Wireless Path Tracking System Using Mouse, XBee And Arduino- (Part 43/49)
  • How to Make a Wireless Keyboard Using Xbee with Arduino- (Part 44/49)
  • Making Phone Call From GSM Module Using Arduino Circuit Setup On Breadboard
    How to Make Phonecall From GSM Module Using Arduino- (Part 45/49)
  • How to Make a Call using Keyboard, GSM Module and Arduino
    How To Make A Call Using Keyboard, GSM Module And Arduino- (Part 46/49)
  • Receiving SMS Using GSM Module With Arduino Prototype
    How to Receive SMS Using GSM Module with Arduino- (Part 47/49)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • Renesas delivers intelligent sensor solutions for IoT applications
  • Microchip Technology releases AVR-IoT Cellular Mini Development Board
  • Qualcomm acquires Cellwize to accelerate 5G adoption and spur infrastructure innovation
  • MediaTek’s chipset offers high-performance option for 5G smartphones
  • Nexperia’s new level translators support legacy and future mobile SIM cards

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • DC DC converter output voltage rise time
  • LLC HB with synchronous rectifiers can be very dodgy?
  • Thermal pad construction on pcb
  • chebyshev sine approx
  • Using LTspice to check Current sense transformer reset?

RSS Electro-Tech-Online.com Discussions

  • Are Cross-wind compensation and Road crown compensation functions inputs to LKA function?
  • Interfacing ZMOD4410 with Arduino UNO
  • Help diagnosing a coffee maker PCB
  • Capacitor to eliminate speaker hum
  • Identify a circuit.
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering