Sunday, April 27, 2014

Schematic and Truth Table ( LOGIC GATES)

  LOGIC GATES
  1. AND - True if A and B are both True
  2. OR - True if either A or B are True
  3. NOT - Inverts value: True if input is False; False if input is True
  4. XOR - True if either A or B are True, but False if both are True
  5. NAND - AND followed by NOT: False only if A and B are both True
  6. NOR - OR followed by NOT: True only if A and B are both False
  7. XNOR - XOR followed by NOT: True if A and B are both True or both False
   (http://www.techterms.com/definition/logicgate)


schematic diagram
     -  is a representation of the elements of a system using abstract, graphic symbols rather than realistic pictures. A schematic usually omits all details that are not relevant to the information the schematic is intended to convey, and may add unrealistic elements that aid comprehension. (http://en.wikipedia.org/wiki/Schematic)

truth table
      - is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions, and propositional calculus—to compute the functional values of logical expressions on each of their functional arguments, that is, on each combination of values taken by their logical variables (Enderton, 2001).  (http://en.wikipedia.org/wiki/Truth_table)


Logic Gates with Truth Table

     AND gate
  
The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high.  A dot (.) is used to show the AND operation i.e. A.B.  Bear in mind that this dot is sometimes omitted i.e. AB
OR gate
  
The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high.  A plus (+) is used to show the OR operation.
 
NOT gate

  
The NOT gate is an electronic circuit that produces an inverted version of the input at its output.  It is also known as an inverter.  If the input variable is A, the inverted output is known as NOT A.  This is also shown as A', or A with a bar over the top, as shown at the outputs. The diagrams below show two ways that the NAND logic gate can be configured to produce a NOT gate. It can also be done using NOR logic gates in the same way.
NAND gate


  
This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate.  The outputs of all NAND gates are high if any of the inputs are low. The symbol is an AND gate with a small circle on the output. The small circle represents inversion.
NOR gate
  
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate.  The outputs of all NOR gates are low if any of the inputs are high.
The symbol is an OR gate with a small circle on the output. The small circle represents inversion.

EXOR gate
  
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two inputs are high.  An encircled plus sign () is used to show the EOR operation.

EXNOR gate
  
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a low output if either, but not both, of its two inputs are high. The symbol is an EXOR gate with a small circle on the output. The small circle represents inversion.
(http://www.ee.surrey.ac.uk/Projects/CAL/digital-logic/gatesfunc/index.html)


74 Series Logic IC Datasheets :


part #description
74LS00Quad 2-Input NAND Gate
74LS01Quad 2-Input NAND Gate; Open Collector Outputs
74LS02Quad 2-Input NOR Gate
74LS03Quad 2-Input NAND Gate; Open Collector Outputs
74LS04Hex Inverter
74LS05Hex Inverter; Open Collector Outputs
74LS06Hex Inverter; Open Collector High Voltage Outputs
74LS07Hex Buffer; Open Collector High Voltage Outputs
74LS08Quad 2-Input AND Gate
74LS09Quad 2-Input AND Gate; Open Collector Outputs
74LS10Triple 3-Input NAND Gate
74LS11Triple 3-Input AND Gate
74LS12Triple 3-Input NAND Gate; Open Collector Outputs
74LS13Dual 4-Input NAND Schmitt Triggers
74LS14Hex Schmitt-Trigger Inverter
74LS15Triple 3-Input AND Gate; Open Collector Outputs
74LS16Hex Inverter; Open Collector 15V Outputs
74LS17Hex Driver; Open Collector 15V Outputs
74LS19NAND Schmitt Trigger; Totem Pole Output
74LS20Dual 4-Input NAND Gate
74LS21Dual 4-Input AND Gate; Open Collector Outputs
74LS22Dual 4-Input NAND Gate; Open Collector Outputs
74LS232x Four input NOR with Strobe
74LS252x Four input NOR with Strobe
74LS26Quad 2-Input NAND Gate; OC (15V)
74LS27Triple 3-Input NOR Gate
74LS28Quad 2-Input NOR Gates
74LS308-Input NAND Gate
74LS31Delay Element
74LS32Quad 2-Input OR Gate
74LS33Quad 2-Input NOR Gate; Open Collector Outputs
74LS37Quad 2-Input NAND Gates
74LS38Quad 2-Input NAND Gates; Open Collector Outputs
74LS394x Two input NAND, Open collector
74LS40Dual 4-Input NAND Gates
74LS42BCD to DECIMAL Decoder
74LS45Four-to-Ten (BCD to Decimal) DECODER, High current
74LS46BCD to Seven-Segment DECODER, Open Collector, lamp test and leading zero handling
74LS47BCD to 7-Segment Decoder; Open Collector Outputs (15V)
74LS48BCD to 7-Seg Decoder; Outputs Active high
74LS49BCD to 7-Seg Decoder-Outputs Active High
74LS502x (Two input AND) NOR (Two input AND), expandable
74LS51Dual AND-OR-INVERT Gates
74LS53NOR of Four Two input ANDs, expandable
74LS544-Wide AND-OR-INVERT Gate
74LS554-Wide; 2-Input AND-OR-INVERT Gate
74LS56Frequency Divider
74LS57Frequency Divider
74LS644-3-2-2 AND-OR-INVERT
74LS654-3-2-2 AND-OR-INVERT
74LS68Dual 4-Bit Decade or Binary Counter
74LS69Dual 4-Bit Decade or Binary Counter
74LS701x gated JK FLIPFLOP with preset and clear
74LS721x gated JK FLIPFLOP with preset and clear
74LS73Dual J-K Flip-Flop
74LS74Dual D-Type Flip-Flop
74LS75Dual 2-Bit D-Type Flip-Flop
74LS76Dual J-K Flip-Flop
74LS774-Bit D-Type Latch
74LS78Dual J-K Flip-Flop
74LS834-Bit Full Adder
74LS854-Bit Comparator
74LS86Quad Exclusive OR Gate
74LS90Decade Counter
74LS918-Bit Shift Register
74LS92Divide-By-12 Counter
74LS934-Bit Binary Counter
74LS94Four bit SHIFT register
74LS954-Bit Shift Register with Parallel Inputs and Outputs
74LS965-Bit Shift Register with Parallel Inputs and Outputs
74LS107Dual J-K Master Slave Flip-Flop
74LS109Dual J-K Flip-Flop
74LS112Dual J-K Flip-Flop with Preset and Clear
74LS113Dual J-K Flip-Flop
74LS114Dual J-K Flip-Flop
74LS1162x Four bit LATCH with clear
74LS121Monostable Multivibrator
74LS122Retriggerable Monostable Multivibrator
74LS123Retriggerable Monostable Multivibrator
74LS1242x Clock Generator or Voltage Controlled Oscillator
74LS125Quad Line Driver; 3-State Outputs
74LS126Quad Line Driver; 3-State Outputs
74LS1284x Two input NOR, Line driver
74LS130Retriggerable Monostable Multivibrator
74LS132Quad 2-Input NAND Schmitt Trigger
74LS13313-Input NAND Gate
74LS134Twelve input NAND, Tri-state
74LS1354x Two input XOR (exclusive or)
74LS136Quad 2-Input Exclusive OR Gates
74LS1373-Line to 8-Line Demultiplexer with Address Latch
74LS1383-Line to 8-Line Demultiplexer
74LS1392-Line to 4-Line Decoder/Demultiplexer
74LS1402x Four input NAND, 50 ohm Line Driver
74LS143Four bit counter and latch with 7-segment LED driver
74LS145BCD to Decimal Decoder/Driver
74LS14710-Line to 4-Line Priority Encoder
74LS1488-Line to 3-Line Priority Encoder
74LS15016-1 SELECTOR (multiplexer)
74LS1518-Line to 1-Line Multiplexer
74LS153Dual 4-Line to 1-Line Multiplexer
74LS1544-Bit Binary Decoder/Demultiplexer
74LS155Dual 2-Bit Binary Decoders/Demultiplexer
74LS156Dual 2-Bit Binary Decoders/Demultiplexer
74LS157Quad 2-Line to 1-Line Multiplexer
74LS158Quad 2-Line to 1-Line Multiplexer
74LS1594-16 DECODER (demultiplexer), Open collector
74LS1604-Bit Synchronous Programmable Counter
74LS1614-Bit Synchronous Programmable Counter
74LS1624-Bit Synchronous Programmable Counter
74LS1634-Bit Synchronous Programmable Counter
74LS1648-Bit Shift Register with Parallel Outputs
74LS1658-Bit Shift Register with Parallel Inputs
74LS1668-Bit Shift Register with Parallel Inputs
74LS168Up/Down 4-Bit Synchronous Counter
74LS169Up/Down 4-Bit Synchronous Counter
74LS17016-Bit RAM; Open Collector Outputs
74LS1734-Bit Quad D-Type Flip-Flops; 3-State Outputs
74LS174Hex D-Type Flip-Flop
74LS175Quad D-Type Flip-Flop
74LS180Four bit parity checker
74LS1814-bit Arithmetic Logic Unit
74LS182Look Ahead Carry Generator
74LS183Dual Carry-Save Full Adder
74LS190Synchronous Up/Down Decade Counter
74LS191Synchronous Up/Down 4-Bit Binary Counter
74LS192Synchronous Up/Down Decade Counter
74LS193Synchronous Up/Down 4-Bit Binary Counter
74LS1944-Bit Bidirectional Shift Register
74LS1954-Bit Parallel-Access Shift Register
74LS196Programmable Decade Counter
74LS197Programmable Decade Counter
74LS198Eight bit parallel in and out bidirectional SHIFT register
74LS199Eight bit parallel in and out bidirectional SHIFT register, JK serial input
74LS221Dual Monostable Multivibrator; Schmitt-Trigger Input
74LS240Octal Inverting Buffer/Transciever; 3-State Outputs
74LS241Octal Buffer/Transciever; 3-State Outputs
74LS242Quad 3-State Bus Transceiver
74LS2434-Bit Bidirectional Bus Driver
74LS244Octal 3-State Noninverting Buffer
74LS245Octal 3-State Noninverting Bus Transceiver
74LS247BCD to 7-Seg Decoder/Display Driver OC (15V)
74LS248BCD to 7-Seg Decoder/Display Driver OC (15V)
74LS249BCD to 7-Seg Decoder/Display Driver OC (15V)
74LS2518-Line to 1-Line Multiplexer; 3-State Outputs
74LS253Dual 4-Input Data Selecttor/Multiplexer 3-State
74LS256Dual 4-Bit Addressable Latch
74LS257Quad 2-Line to 1-Line Multiplexers; 3-State Outputs
74LS258Quad 2-Line to 1-Line Multiplexers; 3-State Outputs
74LS2598-Bit Adressable Latch
74LS260Dual 5-Input NOR Gate
74LS266Quad Exclusive NOR Gate
74LS2698-BIT BIDIRECTIONAL BINARY COUNTER
74LS273Octal D-Type Flip-Flop; Common Clock and Clear
74LS279Quad SR-Flip-Flops
74LS2809-Bit Parity checker
74LS2834-Bit Full Adder
74LS2904-Bit Decade/Binary Counter
74LS298Quad 2-Line to 1-Line Multiplexers with Latch
74LS2998-Bit Bidirectional Universal Shift Register
74LS3228-Bit Sign-Extend Shift Register
74LS3238-Bit Universal Shift Register with Latch
74LS3488-Line to 3-Line Priority Encoder with 3-State Outputs
74LS352Dual 4-Line to 1-Line Multiplexers
74LS353Dual 4-Line to 1-Line Multiplexers with 3-State Outputs
74LS365Hex Bus Line Drivers
74LS3663-State Hex Line Driver
74LS367Hex Bus Line Drivers
74LS368Hex Inverting Bus Line Drivers
74LS373Octal D-Type Latch
74LS374Octal D-Type Flip-Flop
74LS375Quad D-Type Latch
74LS377Octal D-Type Flip-Flop
74LS378Hex D-Type Flip-Flop
74LS379Quad D-Type Flip-Flop
74LS386Quad 2-Input Exclusive OR Gates
74LS390Dual Decade Counters
74LS393Dual Decade Counters
74LS3954-Bit Shift Register with 3-State Outputs
74LS398Quad 2-Input Register
74LS399Quad 2-Input Register
74LS490Dual Decade Counter
74LS5218-BIT IDENTITY COMPARATOR
74LS533Octal D-Type Transparent Latche
74LS534Octal Invering D-Type Flip-Flop
74LS5381-OF-8 DECODER WITH 3-STATE OUTPUTS
74LS5408-Bit Inverting Line Driver
74LS541OCTAL BUFFER/LINE DRIVER WITH 3-STATE OUTPUTS
74LS543OCTAL REGISTERED TRANSCEIVER, NON-INVERTING, 3-STATE
74LS544OCTAL REGISTERED TRANSCEIVER, INVERTING, 3-STATE
74LS5684-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS)
74LS5694-Bit Synchronous Counter
74LS5748-Bit D-Type Flip-Flop/Bus Driver
74LS5798-BIT BIDIRECTIONAL BINARY COUNTER (3-STATE)
74LS620OCTAL BUS TRANSCEIVER WITH 3-STATE OUTPUTS (INVERTING AND NONINVERTING)
74LS623Octal Bus Transcievers
74LS629Voltage Controlled Oscilator
74LS640Octal Bus Transciever
74LS646Octal Bus Transciever
74LS648Octal Bus Transciever/Register
74LS657OCTAL BIDIRECTIONAL TRANSCEIVER WITH 8-BIT PARITY GENERATOR CHECKER (3-STATE OUTPUTS)
74LS6694-Bit Synchronous Up/Down Counter
74LS6704-By-4 Register File; 3-State Outputs
74LS6828-Bit Magnitude/Identity Comparator
74LS6848-Bit Magnitude Comparators
74LS6888-Bit Magnitude Comparators
74LS7488-Line to 3-Line Priority Encoder
74LS7798-BIT BIDIRECTIONAL BINARY COUNTER (3-STATE)
74LS795Octal Buffer with 3-State Outputs
74LS8488-Line to 3-Line Priority Encoder with 3-State Outputs
74LS224525Ohm Octal Bidirectional Transceiver With 3-State Inputs and Outputs
74LS3893QUAD FUTUREBUS BACKPLANE TRANSCEIVER (3 STATE + OPEN COLLECTOR)
     (http://www.skot9000.com/ttl/)

Friday, April 25, 2014

Activity in Digital Design

1.)
 Solve for : IT , I1, I2, I3


     



 2.) RED RED BLUE GOLD



















3.)0RANGE RED BROWN SILVER















Thursday, April 24, 2014

LOGIC GATES and COMBINATION

    logic gates
           - is an idealized or physical device implementing a Boolean function; that is, it performs a logical operation on one or more logical inputs, and produces a single logical output. Depending on the context, the term may refer to an ideal logic gate, one that has for instance zero rise time and unlimited fan-out, or it may refer to a non-ideal physical device .
              Logic circuits include such devices as multiplexers, registers, arithmetic logic units (ALUs), and computer memory, all the way up through complete microprocessors, which may contain more than 100 million gates. In practice, the gates are made from field-effect transistors (FETs), particularly MOSFETs (metal–oxide–semiconductor field-effect transistors).

  
Combination of Basic Logic Gates

The OR, AND and NOT gates are the three basic circuits that make up all digital circuits. We shall discuss a few combinations of theses basic circuits.

(I) NAND Gate: It is combination of AND gate is connected to the input of a NOT gate as shown in Fig. (a). Clearly, the output of a NAND gate is opposite to the AND gate. This is illustrated in the truth table for the NAND gate. Note that truth table for NAND gate is developed by inverting the output of the AND gate.
The Boolean expression for NAND function is

comb_gate

This Boolean expression can be read as Y = not A . B. TO perform the Boolean algebra operation, First the input must be AND and then the inversion is performed. Note that output from NAND gate is always 1 excepted when all of the input are 1.Fig. (b) shows the logic symbol for a NAND gate. The title bubble (small circle) on the right end of the symbol means to invert the AND.

andgate
andgate
Fig. (a)

Fig. (b)

Inputs Outputs
A
B
AND(Y')
NAND(Y)
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
Truth Table of NAND

(II) NOR Gate: It is a combination of OR gate and NOT gate. In other words, output of OR gate is connected to the input of a NOT gate as shown in Fig. (c). Note that output of OR gate is inverted to form NOR gate. This is illustrated in the truth table for NOR gate. It is clear that truth table for NOR gate is developed by inverting the outputs of the OR gate.
andgate   andgate
Fig. (c)
Fig. (d)

Inputs Outputs
A
B
OR(Y')
NOR(Y)
0
0
0
1
0
1
1
0
1
0
1
0
1
1
1
0
Truth Table of NOR

The Boolean expression for NOR function is:

combgate6

The Boolean expression can be read as Y = not A or B. To perform the Boolean algebra operation, first the input must be OR and then inversion is performed. Note that output from a NOR gate is high(1) only when all the inputs are low (0). If any of the inputs are high (1) the output is low (0). fig. (d) shows the logic symbol for a NOR gate. The bubble (small circle) at the Y output indicates inversion.

Different Types of Resistors

Resistor
    - an electric resistor is a two-terminal passive component specifically used to oppose and limit current. A resistor works on the principle of Ohm’s Law which states that voltage across the terminals of a resistor is directly proportional to the current flowing through it. 

Resistor Color Code Information : 


 

Tuesday, April 15, 2014



Ohm's Law
        -
Ohm's law states that the current through a conductor between two points is directly proportional to the potential difference across the two points. Introducing the constant of proportionality, the resistance,one arrives at the usual mathematical equation that describes this relationship:
I = \frac{V}{R},
where I is the current through the conductor in units of amperes, V is the potential difference measured across the conductor in units of volts, and R is the resistance of the conductor in units of ohms. More specifically, Ohm's law states that the R in this relation is constant, independent of the current.
The law was named after the German physicist Georg Ohm, who, in a treatise published in 1827, described measurements of applied voltage and current through simple electrical circuits containing various lengths of wire. He presented a slightly more complex equation than the one above (see History section below) to explain his experimental results. The above equation is the modern form of Ohm's law.
In physics, the term Ohm's law is also used to refer to various generalizations of the law originally formulated by Ohm. The simplest example of this is:
\mathbf{J} = \sigma \mathbf{E},
where J is the current density at a given location in a resistive material, E is the electric field at that location, and σ is a material dependent parameter called the conductivity. This reformulation of Ohm's law is due to Gustav Kirchhoff.


Ohm's Law Formulas
 
Deriving values horizontally across columns is allowable as per the principles of series and parallel circuits: