Electronics-Lab.com Community

# Trying to understand

## Recommended Posts

Hello,

I have a question that i hope that someone here can help me with. I am working through this tutorial http://www.play-hookey.com/digital/experiments/dl_or2.html on OR gate with diodes and the accompaning tutorial on AND gate the OR gate looks like this[br] [br] I can understand what is going on here, seeing the diode direction. The AND gate looks like this [br] [br]This one I don't understand it seems that if you just press one of the buttons that current would go through to the output. After staring at this thing for a while I realized that the diodes where going in the opposite direction from the ones in the OR gate. Could someone tell me if I am right about the diode direction and what is actually happening here. Hopefully I am making sense here, if not let me know. :)

##### Share on other sites

Hi moebious,

Welcome to our forum.

The second circuit will have high output the way it is drawn and low if one or both S1 and S0 are closed. 8)

##### Share on other sites

In the first example, you can close either switch and the other side of the circuit will continue to give you a voltage to the output. Only when both switches are closed will you get a change in state of the output. In other words, when S1 "AND" S2 are closed, the circuit will change state. This causes the circuit to act as an AND gate. Both switches must be closed to change state.

In the second example, either switch closing will cause the output to change state from high to low. Both switches do not have to be closed for this action. Closing either switch will cause a change of state. Of course, closing both switches will give the same result as closing either switch individually. This causes the action of an OR gate. Switching S1 "OR" S2 "OR" both will cause the output to change state.

MP

##### Share on other sites

I tried to explain how the circuit that moebious was uncertain about and described as the AND circuit will perform. Of curse it’s not an AND gate.

##### Share on other sites

Yes, it is certainly not an OR gate or an AND gate, but I suppose that in the most simple application, you could replace the switches with digital 0 or 5V and have a simple gate. Digital gates actually have more function whereas they can buffer and improve your signal.
I did not check the link, but I think the site was a tutorial to teach how the actual gates function in simple terms.
In keeping with the same subject, here are some examples of using transistors as gates.

MP

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.