C
Christopher Collins
Guest
An AND gate can be made of two diodes and a resistor:
+5V
|
R
|
A -|<|--+---- OUT
|
B -|<|--+
Here, R is a resistor and the |<| thingies are small diodes.
As long as either of the inputs A and B is connected to ground
(logical 0),
the output will be a 0 as well (not exactly zero volts, since there's
a
voltage drop over the diode). If both inputs are open, or connected to
logical 1, the output will be a 1 as well. Hence, the output is the
logical
and of the inputs.
My question: What's the point of the resistor here? It seems to me
this could work without it.
Christopher
+5V
|
R
|
A -|<|--+---- OUT
|
B -|<|--+
Here, R is a resistor and the |<| thingies are small diodes.
As long as either of the inputs A and B is connected to ground
(logical 0),
the output will be a 0 as well (not exactly zero volts, since there's
a
voltage drop over the diode). If both inputs are open, or connected to
logical 1, the output will be a 1 as well. Hence, the output is the
logical
and of the inputs.
My question: What's the point of the resistor here? It seems to me
this could work without it.
Christopher