![]() ![]() With no different in electric potential, current cannot flow. Since the cathode is at an electric potential of +5V and the anode is also at anĮlectric potential of +5V, there is no difference in electrical potential between the anode and cathode of the diode. Now, if an input is connected to positive voltage, the same voltage feeding the 10KΩ resistor,Ī different scenario. Instead, current leaks, so to say, and goes out to ground. ![]() So with any input grounded, voltage will not build up across the 10KΩ resistor, which then If any of the inputs are grounded, current will always be able to flow through at least oneĪnd down to ground. Not concentrate across the 10KΩ resistor. Therefore, when the input is grounded, current flows across the diode and down to ground. When voltages are at different potentials, current can flowĪcross. There is an electric potential difference, or voltage. So when the input is connected to ground, with the cathode at 0V and the anode at Remember that the anode terminal of the diode is connected to Of the diode is basically at 0V, a logic LOW state. When an input of the gate is connected to ground, So how the physics behind this works is like this. When the input is connected to ground, it connects the cathode end of the diode to a LOW logic state. When a positive voltage is connected to the input, it connects the cathode end of the diode to +5V +5V to the pull-up resistor, you must connect +5V to the cathodes of the diodes. Know that the same voltage you connected to the pull-up resistor must be connected to the inputs of the The cathodes are all independent of each other, while the anodes of the diodes are all tied common together. Now at the cathode terminal of each of the the diodes is the input. Since we supply this circuit with 5V, there will be 5V presentĪt the anode terminal of each of the diodes. Of each of the diodes is the positive voltage we supply. This voltage is then placed on each of the diodes at the anode end. It takes the voltage from the power source and concentrates The 10KΩ resistor is used as a pull-up resistor. So we can use 5 volts because that is enough to power on the LED. ![]() Needs 12V, then the voltage must be at least 12V. The voltage we need for the circuit is considered based on the power requirements of the load. So we power the circuit with about 5V of power. The AND gate we will build with diodes and a single resistor is shown below. We will show how to incorporate toggle switches into this circuit so that inputs can be changed more easily. Optionally, you can use toggle switches to control the input values instead of having to manually connect or disconnect positive voltage or ground. Since we are building a 3-input AND gate, we will need 3 diodes. The amount of diodes you need are proportional to the number of inputs you want for the AND gate. The 1N400X diodes are an easy type to find and very cheap, so any However, you can modify this to suit anything else, as long as the circuit is capable of powering in on given power We use a current-limiting resistor along with the LED to limit current All an additional input requires is another pushbutton and another diode. We will build our circuit so that there are 3 inputs to the AND gate. We will show exactly how this circuit works to achieve this logic condition. We then connect our output to this circuit which can turn on our load if all inputs are HIGH. In this circuit, we will accomplish building an AND gate with simply diodes and a single resistor. If any inputs are off or at a logic state of 0, the output is off.ĪND gates can be built using a variety of electronic components, including transistors and mechanical In this project, we will show how to build an AND gate circuit with diodes.Īn AND gate is a logic circuit that only turns on an output when all the inputs are HIGH or a logic state of 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |