Making a Logic Circuit: Learn How to Build an OR Gate

  • Thread starter Thread starter Xyius
  • Start date Start date
  • Tags Tags
    Circuit Logic
Click For Summary

Discussion Overview

The discussion revolves around the construction and understanding of logic gates, specifically OR and AND gates, using basic circuit components rather than integrated circuits (ICs). Participants explore the principles behind these gates, their functionality, and methods for building them.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant expresses a desire to understand the internal workings of an OR gate and asks how to construct one from basic components.
  • Another participant mentions the historical use of diode logic for creating gates, suggesting that the original poster search for more information online.
  • There is a discussion about the conditions under which an OR gate outputs a high signal, with some participants confirming that either input being high results in a high output.
  • A participant inquires about the operation of an AND gate and expresses confusion about why the output would not be high all the time.
  • Some participants clarify that both inputs must be high for the AND gate to output high, and they discuss how to modify the gate to accept positive signals instead of grounding.
  • One participant proposes a method to achieve positive signal inputs for the AND gate using resistors, while another questions the practicality of this approach.
  • A hypothetical scenario is presented to illustrate the utility of AND gates in controlling outputs based on multiple conditions.
  • Participants express a shared interest in experimenting with logic gates for educational purposes.

Areas of Agreement / Disagreement

Participants generally agree on the basic principles of how OR and AND gates function, but there are varying opinions on the methods for constructing them and the practicality of certain approaches. The discussion remains open-ended with no consensus on the best way to implement positive signal inputs for the AND gate.

Contextual Notes

Some participants express uncertainty about the effectiveness of proposed methods for modifying the AND gate, and there are unresolved questions about the implications of using positive signals versus grounding.

Who May Find This Useful

Individuals interested in electronics, circuit design, or those seeking to understand the fundamentals of logic gates may find this discussion beneficial.

Xyius
Messages
501
Reaction score
4
Hello all,

I recently started working with circuits and in my classes I learned and used some logic circuits. It was pretty cool but we never actually went over what makes up an IC of one of the logic components.

I really want to know what goes on inside the IC, so I was wondering, how would I go about making, say an OR gate from normal circuit components? Is it possible? Can anyone shed some light into the workings of an OR gate or any other type of gate?

Thanks!
 
Engineering news on Phys.org
Xyius, We used diode logic long before microcrocircuits were invented, and they work just fine. Google is your friend. I recommend you learn to use it when you have some question such as above. I Googled "diode logic gate" and within 0.014 seconds found this:

http://en.wikipedia.org/wiki/Diode_logic

Check it out, and after you study it if you would like to learn more, or see more applications, use the links near the bottom of the page. Good luck.
Bobbywhy
 
Xyius said:
Hello all,

I recently started working with circuits and in my classes I learned and used some logic circuits. It was pretty cool but we never actually went over what makes up an IC of one of the logic components.

I really want to know what goes on inside the IC, so I was wondering, how would I go about making, say an OR gate from normal circuit components? Is it possible? Can anyone shed some light into the workings of an OR gate or any other type of gate?

Thanks!

dior.gif

If either of the inputs is high, the output will be high.

diand.gif

If both of the inputs are high, the output will be high.
 
Thanks everyone!

I think I can see how the OR gate works but how exactly does the AND gate circuit work? How come the light wouldn't be on all the time? (Assuming we attached an LED to OUT) It looks to me like there is a straight path from V through the resistor through OUT and to ground. (Again, excuse my ignorance I am still new at this! :] )
 
Yes, that is right.

But can you see that if either of the inputs was grounded, that the output would be low?

So, they both have to be high for the output to be high.
 
Oh I see! I just made both of them and it all makes sense now. Thanks! :D!
 
I was messing around with these circuits again, is there any way I can make the AND gate take positive signals? What I mean is, right now I need to apply ground (as you said) to change the gate status. But how could I make it so that I have to give it positive signals? I know it probably isn't a big deal but how would I be able to do this?
 
Xyius said:
I was messing around with these circuits again, is there any way I can make the AND gate take positive signals? What I mean is, right now I need to apply ground (as you said) to change the gate status. But how could I make it so that I have to give it positive signals? I know it probably isn't a big deal but how would I be able to do this?

if you tied the inputs A and B of the diodes permanently LOW to ground via say a 1k to 4k7 resistor then you could apply a positive voltage to that point then the inputs A and B would be HI and therefore the output would be HI
Not the best way to show it but it has the desired effect ;)

attachment.php?attachmentid=46976&stc=1&d=1336183188.jpg


its sort of defeating the purpose of it being an AND gate ...am trying to think of another way to show it
logic ccts are not my forte haha
if you have been actually making up the diode gates that vk6kro showed, try using individual resistors off A and B to ground. see what happens when you apply a positive voltage to A or B ... does the output go HI ? or do you need voltage applied to A and B to make the output go HI ?

Dave

cheers
Dave
 

Attachments

  • diand.JPG
    diand.JPG
    5 KB · Views: 564
Last edited:
I knew you would ask that.

That was a simple example to show the principle.

You could do this:
and2.gif


In the left diagram, you would have to have both inputs high to get current into the resistor at the bottom.


However, the main point is why would you do something as pointless as this? Why use AND gates at all?

Suppose you gave a friend a switch connected to one of the inputs and told him to switch it on and off continuously.
So, he could turn a light on or off just by switching the switch.

Secretly, though, you have a switch connected to the other input. Unless you switch your switch high, your friend cannot switch the light on and off.

Now, suppose you could switch your switch high for exactly 1 minute. If you count your friend's total number of light pulses, you would know how many pulses per minute he is sending.

So, one of the inputs could work as a control for the other input.

Or, you might turn your garden sprinklers on, but they wouldn't go on if it was raining. You could do this with AND gates. You have to have two conditions apply before something will happen.
 
  • #10
Thanks a lot! I will try both these methods.

To answer vk6kro, I simply just want to make the logic gates. I haven't really done much with using logical circuits and I didn't like using the IC's without knowing how they work.

So basically I am just doing experiments for educational purposes. :]
 
  • #11
Xyius said:
So basically I am just doing experiments for educational purposes. :]
This makes me happy.
 

Similar threads

Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
0
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K