I don't understand how gates work.

  • Thread starter user111_23
  • Start date
  • Tags
    Work
In summary, a binary input is a voltage level below or above a certain level that defines ON or OFF. A logic gate is a device that can be switched ON or OFF depending on the voltage level of the input. TTL stands for Transistor-Transistor Logic, while CMOS uses FETs. AND and NOT gates can be constructed with any combination of inputs.
  • #1
user111_23
84
0
I'm not sure if this is the right board.

Gates work based on binary input, 0 and 1. But what defines "input?" Is it the presence of voltage?
 
Engineering news on Phys.org
  • #2
Yes, it the presence of voltage. Typically, a voltage below a certain level is considered a "0"(low) and one above a certain level is a "1"(high), with a "undefined" region between the two.
 
  • #3
Last edited by a moderator:
  • #4
A lot of things can confuse people when first learning electronics so don't let it get you down. Binary, logic 1's and zero's are all different terms for ON and OFF. A logic gate is operated either ON or OFF. Each logic gate has different voltage levels as to what is classed as ON. It usually varies between 5V and 12V but there are many other values. You have to consult the data sheet for the logic gate that you are using. OFF is 0V.
Therefore for a 5V AND gate, 1 input at 0V and 1 input at 5V will output 0V. Both inputs at 5V will output 5V. Both inputs at 0V the output is 0V.
I hope this helps.
Keep up with the studying. It will all make sense in the end!

Craig

http://www.calibrepower.com" [Broken]
 
Last edited by a moderator:
  • #5
If you consider an AND gate.
If both inputs are "1" then the output is a "1". Simple rule, but very powerful.

But what if you had one input high all the time?
Can you see that what comes out of the output would depend on what is coming into the other input. If it was a stream of pulses, they would come out of the output. If they were high, both inputs would be high so the output would be high. If they were low, one input is high but one is low so the output is low.

Now make that first input a Zero.
Now, it doesn't matter what comes into the other input. Nothing will get sent to the output.
At least one input is low so the output is low.

So, you can control the outputting of that stream of pulses just by putting a 1 or a 0 on the other input. Put a 1 there and they get through. Put a 0 there and they don't.
 
  • #6
hello user111-
Look at the 74AS86A truth table. It is an exclusive OR (XOR). One gate input can be used to invert or not invert the other input. See
http://www.datasheetarchive.com/search.php?&q=74als86
Bob S
 
  • #7
One other comment. You'll often see TTL applied to certain circuits which stands for "Transistor-Transistor Logic" and means silicon based bijunction transistors which saturate "switch" at 5 volts. This as compared to CMOS (complementary metal oxide semiconductor) which uses FET transistors switching around 3.5 volts.

Think of a transistor amplifier circuit. It can't amplify arbitrarily large signals and hits some maximum voltage (generally the supply voltage). The shape of the output for a given linear input voltage will be a flat line in the negative domain then curving upward (linear amplifying domain) then leveling off at saturation.

Zoom out and this looks like a simple step function indicating the transition from switched off to switched on.

AND gates can be made by requiring two inputs both be on to switch on the output (A FET with two gates or simply two transistors in series (emitter to collector) with the bases being the inputs), inverters by simply constructing inverting amplifiers. With AND and NOT you can construct any other logic.
 

1. How do gates work?

Gates are electronic devices that control the flow of electric current. They have one or more inputs and one output. When the inputs receive a certain combination of electric signals, the gate produces an output signal. This output signal can then be used to control other electronic components.

2. What are the types of gates?

There are several types of gates, including AND, OR, NOT, NAND, NOR, and XOR gates. These gates have different logic functions and can be combined to perform more complex operations.

3. What is the purpose of gates in electronics?

Gates are essential components in digital electronics as they allow for the manipulation of binary signals (0s and 1s). They are used in various electronic devices, including computers, smartphones, and calculators, to perform logical operations and make decisions.

4. How are gates represented in circuit diagrams?

Gates are typically represented in circuit diagrams using standard symbols. For example, an AND gate is represented by a triangle with a small circle at the end of each input line, and a larger circle at the output line.

5. Can gates be combined to perform more complex operations?

Yes, gates can be combined to perform more complex operations, such as addition, subtraction, and multiplication. This is achieved through the use of logic circuits, which are made up of multiple gates connected in a specific way to achieve the desired operation.

Similar threads

Replies
39
Views
3K
Replies
4
Views
760
Replies
80
Views
3K
Replies
55
Views
3K
  • Electrical Engineering
Replies
5
Views
977
Replies
2
Views
758
Replies
42
Views
2K
  • Electrical Engineering
Replies
1
Views
848
  • Electrical Engineering
Replies
10
Views
293
Replies
2
Views
270
Back
Top