DIGITAL ELECTRONICS (
SOHIL VOHRA (LECTURER -
SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT)
when any of the inputs is LOW (0).
Here is shown the graphic symbol and the truth table of AND gate.
If A & B are the input variables of AND gate, then the output will be :
Y = A
Similarly, for more than two variables,the OR function can be expressed as :
Y = A
The AND gate using Diodes can be asshown. Here A & B are the inputs tothe gate, Y is input and resistance R isthe Load Resistance.
Working of the gate is as follows :
If A = 0 and B = 0, both thediodes will conduct as both thediodes are forward biased andhence, the output will be Y =0.
If A = 1 and B = 0, diode D
will conduct (being forwardbiased) and D
will not conductas it is reversed biased henceand so Y = 0.
If A = 0 and B = 1, diode D
will conduct (being forward biased) and D
will not conduct as it is reversed biased hence and so Y = 0.
If A = 1 and B = 1, both diodes will not conduct as both are reversedbiased and hence V
≈ 5V and so Y = 1.
The electrical equivalent of the above circuit is as shown.
Here two switches A & B are connected in series. If both A & B are closed, thenthe output is HIGH, else in any other combination, output will be LOW.
For an AND gate, when there are more inputs, all the inputs should be HIGH toget a HIGH output. For this reason, AND gate is also called
The NOT gate performs the basic logic function called
The purpose of this gate is to convert one logic level into the opposite logic level.
It has one input and one output.