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

AND Gate using Transistor

By Arpit jain

Basic of AND Gate

AND gate gives high at the output only when all the inputs are high otherwise, it gives low.             

Symbol of AND Gate

Fig. 1: Symbol of AND Gate

 

INPUT 1 A INPUT 2 B OUTPUT A.B
0 0 0
0 1 0
1 0 0
1 1 1

The TRUTH TABLE OF AND GATE

The use of transistor for AND gate operation depends on the transistor switching speed. For AND gate operation we use transistor as a switch.

Components Required

 Two BC547 NPN transistor
 Three 10k resistor
 1k resistor
 4.7k resistor
 Two toggle switches
 General purpose LED
 5V power supply
 Some jumper wires
 Breadboard
 Multimeter
 
Two Input AND Gate Using Transistor
 
The BC547 is used here in common emitter configuration. This transistor utilizes low power and also has low-frequency. In the common emitter configuration, transistor gives a phase shift of 180 degrees. Due to change in 180 degree in phase shift, it is able to give high at the output when our input is low and vice-versa. The biasing of the transistor is done in a way so that the operating point of the transistor comes closer to the origin in the transfer-characteristic curve of the transistor.
 
This causes an immediate switching of the transistor from its cutoff to the saturation state. Hence when we apply enough voltage at the base of the transistor it immediately reaches its saturation state and the transistor starts conducting. In this project, we have used BC547general purpose NPN bipolar junction transistor. Other range of BC transistor (BC548, BC549) also works fine here. By using RTL (resistor transistor logic) we have designed the AND gate by two transistors and some resistor.
 
Circuit Diagram of Transistor based AND Gate
Fig. 2: Circuit Diagram of Transistor based AND Gate
 
 
How it Works

The transistors are connected in series and their bases are used as input. The base of both the transistors act like inputs and one of the emitter of either of the transistors is used to derive the output. Initially, both the switches are in OFF state so none of the transistor bases get a power supply. The base to emitter junction and base to collector junction of both the transistors have a voltage lower than 0.65V, which is the practical threshold voltage of the diode.

Both junctions are in reverse bias hence both the transistors turn off and go into their cutoff state. Therefore, the transistors act like an open switch. Since all the current coming from the collector through resistor R3 blocks by the transistor. Hence at the output, we get a low voltage which turns off the LED.

In next case when we press switch 1 then the base of the first transistor gets a positive value of voltage but its emitter is connected to another transistor collector. As the second transistor is still in its cutoff state, the emitter of the first transistor is disconnected. The base to emitter junction and base to collector junction of both the transistors have a voltage lower than the threshold voltage and again they reach their cutoff state. All the current is again blocked by the transistor and we get low voltage at the output, which turns OFF the LED.

Circuit Diagram showing Working of Transistor based AND Gate

Fig. 3: Circuit Diagram showing working of Transistor based AND Gate

Likewise, when switch 1 is opened and switch 2 is closed, the current is blocked by the first transistor and we get low at the output.
 
Circuit Diagram showing Working of Transistor based AND Gate
Fig. 4: Circuit Diagram showing working of Transistor based AND Gate
 
When we press our second switch, the junction of both the transistors has a voltage greater than threshold voltage so both junctions are forward bias. Therefore, both transistors are in saturation state and act like a short circuit. The current now gets a short circuit path and flows from the collector of the first transistor to the emitter of the second transistor which derives high at the output. At the output, our LED lights up.
 
Circuit Diagram showing Working of Transistor based AND Gate
Fig. 5: Circuit Diagram showing working of Transistor based AND Gate
 
We can say for AND logic, transistors are connected in series and both the transistors must be in their conducting state to derive high at the output. If one of the inputs or both the inputs have low value then we get low at the output, otherwise high.

Filed Under: Electronic Projects

 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.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

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

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

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

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

  • Variable Phase shift control circuit for PWM circuit
  • Passive Harmonics Filter
  • Avalanche Pulser
  • Pull up via GPIO
  • Fpga wake up

RSS Electro-Tech-Online.com Discussions

  • Someone please explain how this BMS board is supposed to work?
  • HV Diodes
  • DIY bluetooth speaker
  • Question about ultrasonic mist maker
  • Disabled son needs advice please
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