# How do logic circuits work?

I know that if 1 and 0 goes through an OR gate, it gives 1. But how does the 1 come? how it works?
thanks

Related Electrical Engineering News on Phys.org
mfb
Mentor
Usually, logic gates work with voltage - 1 is represented by a high voltage, 0 as low voltage. For the implementation of electronic logic gates, see the various Wikipedia articles, like this one.

yeah I know that they work with logic gates. But the problem is how does an OR gate know to output 1, if 1 and 0 was given as outputs

trollcast
Gold Member
yeah I know that they work with logic gates. But the problem is how does an OR gate know to output 1, if 1 and 0 was given as outputs
The most basic logic gates can be created with transistors wired up in various different ways.

For a pretty quick run through of the different configurations for each gate click here

mfb
Mentor
But the problem is how does an OR gate know to output 1, if 1 and 0 was given as outputs
That is explained in the link I posted.
Now you have two different pages with gate implementations linked in this thread.

Thanks