Supercap2F
- Mar 22, 2014
- 550
- Joined
- Mar 22, 2014
- Messages
- 550
You might want to have the logic gate symbols next to there truth table.
Regards
Dan
Regards
Dan
0. Introduction
This resource will cover what logic gates are, some examples of logic gates and what logic gates can be used for, the resource is targeted mainly at people who know the basics of electronics, but have little or no previous experience with logic gates or any form of digital electronics. Across this resource you will see lots of 1's and 0's, these are used to represent the binary states of high and low voltage.
1. Basic information
Logic gates come in the form of integrated circuits, these integrated circuits contain several transistors in different configurations to create logic gates. There are several types of logic gate, each using 1, 2 or sometimes even more inputs to produce an output based on this input.
1.1 Construction and types
There are several ways logic gates are constructed, the 2 most popular are called TTL (transistor transistor logic) this uses bipolar transistors to create the logic gate and the other is called CMOS (complementary metal oxide semiconductor) this uses MOSFET (metal oxide semiconductor field effect transistor) transistors, CMOS logic gates are often preferable to TTL's as CMOS generally require less supply voltage to operate. MOSFETS (the type of transistor used in CMOS logic gates) are extremely sensitive to ESD (electrostatic discharge), ESD's can be several thousand volts, far more than enough to fry the thin wafer of insulation in the MOSFET. Ensure you do not build up any static and ground yourself (preferably with a anti-static wrist strap).
All IC's (integrated circuit) have a little mark called a clocking notch, this is used to find where pins of certain numbers are, pin numbers count counter-clockwise. below is a picture of an IC, showing which pins belong to which numbers.
2. Analogue and digital electronics
Logic gates work in a form of electronic signal known as digital, the voltage can only represent discrete amounts, high or low. Modern computers use digital signals. Analogue signals can vary, they are non-discrete, some of the first computers used analogue signals.
3. Truth tables
Truth tables are used to show the logic of a logic gate, what inputs will produce what output. Truth tables are very simple to read
, they consist of 2 or 3 columns (some contain more) with a series of 1's and 0's. These ones and zeros represent high and low voltages, there are only two values in truth tables as they work in a binary, digital signal. The binary part means it uses base 2, we use base 10, the values can only be a 1 or a 0. The columns on the left (there are usually 2) are the inputs, truth tables will show all the combinations of inputs, for a 2 input logic gate this is:
0(low voltage/off),0(low voltage/off)
0(low voltage/off),1(high voltage/on)
1(high voltage/on),0(low voltage/off)
1(high voltage/on),1(high voltage/on)
Then the column on the right will show the corresponding output next to the series of inputs, the out put can only be a 1 or a 0. You can see some truth tables in the next section
6.Schmitt gates
You may see when searching for logic gates some of them are labelled Schmitt ..... gate/trigger. The property that Schmittt gates/ triggers possess is extremely important when feeding an analogue signal into a logic gate, the simple explanation is that turning on (going from 0 to 1) and turning off (going from 1 to 0) will happen at slightly different levels of voltages, this can be used to prevent rapid switching, where a circuit turns on and off extremely fast. E.g. a dark activated light, when it goes dark the light is set to come on, however when the light does come on it raises the light level slightly, with a standard logic gates this would cause the input and output to rapidly fluctuate between a 1 and a 0. With a schmitt logic gate/ trigger, under normal circumstances, this would not happen. For a more in depth explanation see: here