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

Conversion of NAND gate to Basic gates

By Ashutosh Bhatt

NAND Gate is created by applying NOT operation to an AND gate. Hence, the outputs of this gate are opposite to that of AND gate when the inputs are kept same. Shown below are the symbol and truth table for NAND gate.

Symbolic Representation OF NAND gate

Fig. 1 : Symbolic Representation Of NAND gate

Input

 

Output

A

B

Y

0

0

1

0

1

1

1

0

1

1

1

0

Basic logic gates consist of three basic logic gates namely NOT, AND and OR. Each of them performs a different logic function. We can derive logical function or any Boolean or logic expression by combination of these gate. Shown here are the logical method and the circuit through which one can obtain all the basic gates by only using NAND gates.

 


 

To understand the conversion we have to first understand the working of individual gates-

1.NOT Gate- This is the simplest form of a digital logic circuit . It is also called as inverter.  It consists of only one input and one output. Input can only be binary number it may be one or zero.  NOT gate is a logic element whose output stage is always the complement of the input stage means when you supply logic 1 we will logic 0 and vice versa. Now how many stage are possible is calculated by 2n (where n is the number of input) means hear we have input equal to 1 so number of stage possible  is 0 and 1 (21). Truth table of NOT gate is as follows-

Input(21)

Output

A

Y=NOT A

0

1

1

0

2.AND Gate- It is logic circuit has two input and one output. The operation of gate is such that output of gate is binary 1 if and only if all input are binary 1. If any of the input is binary 0 we will receive output as binary 0. Truth table of AND gate are as follows-

Number of stage possible = 2n

                                      =22  = 4

Input

Output

A

B

Y=A.B

0

0

0

0

1

0

1

0

0

1

1

1

3.OR Gate-Or gate is another basic logic gate like AND gate it as two input and one output. The operation of gate is such that output of gate is binary 1 if any of the input is binary low and we will receive logic zero only when both the inputs are low. Truth table of OR gate are as follows-

Number of stage possible = 2n

                                      =22  = 4

Input

Output

A

B

Y=A+B

0

0

0

0

1

1

1

0

1

1

1

1

4.NAND Gate-  The term NAND is a contraction of the expression NOT and AND gate. Therefore a NAND gate is an AND gate followed by the inverter. The operation of gate is such that output of gate is binary 1 if any of the input is binary low and we will receive logic zero only when both the inputs are high. Truth table and expression of NAND gate are as follows-

Input

Output

A

B

Y=NOT(A AND B)

0

0

1

0

1

1

1

0

1

1

1

0

For understanding this one should know about De Morgan’s theorem- It states that complement of a product is equal to the sum of the complements.

{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C} NOT (A And B)= NOT(A) {C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}+ NOT(B)            —- EQ 1

We have used two NAND gate and short the input of each gate so we will get output as

= NOT (A) AND NOT (B){C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}{C}

Now it is again supplied to another NAND gate and we will get output as-

= NOT (NOT (A) And NOT (B))

= [NOT (NOT) (A)]+ [NOT (NOT) (B)]                (From EQ 1)

= A+ B

Circuit Diagrams

Circuit-Diagram-For-Conversion-of-NAND-gate-to-Basic-gates
Circuit-Diagram-Conversion-NAND-gate-Basic-gates-2

Project Components

  • LED
  • Resistor


Filed Under: Electronic Projects
Tagged With: basic gate, nand gate
 

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

  • about ATmega328 ADC pins
  • Tuning the antenna to be conjugately matched to input impedance of the die
  • Netlist physical name update
  • nt1065_USB3 gnss receiver
  • LLC HB with synchronous rectifiers can be very dodgy?

RSS Electro-Tech-Online.com Discussions

  • undefined reference header file in proteus
  • Capacitor to eliminate speaker hum
  • Decapped Chip On Board
  • Sony KV-A2913E (chassis AE1C) auto shuts off after one minute
  • CRT TV repair
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