TTL Chips on a Breadboard: Power, Pin Numbers and Wiring Rules
A practical guide to wiring TTL chips on a breadboard: supply voltage, pin numbering, unused inputs, logic levels, LED resistors and common mistakes.
The breadboard
A solderless breadboard is a plastic board of small sockets joined in strips below the surface. The long rails along the edges, usually marked red and blue, are the power lines. In the main area, each short row of five sockets is joined together, and a gap runs down the middle so that a chip can straddle it with its two rows of pins in separate strips.
Put each chip across the central gap. Plug a wire into a socket of the same short row as a pin, and it is connected to that pin. Keep the wires short and flat, which makes the circuit easier to read and check.
Reading the pin numbers
Chips have a notch or a dot at one end. Hold the chip with the notch at the top. Pin 1 is at the top left, and the pins count down the left side, then up the right side. A 14 pin chip has pin 7 at the bottom left and pin 14 at the top right. A 16 pin chip has pin 8 at the bottom left and pin 16 at the top right.
The 7400 is a good example. Gate 1 uses pins 1 and 2 as inputs and pin 3 as output. Gate 2 uses pins 4 and 5 and gives pin 6. Pin 7 is ground. Gate 3 gives pin 8 from pins 9 and 10, and gate 4 gives pin 11 from pins 12 and 13. Pin 14 is the supply.
Power
Standard TTL runs from 5 V, with an allowed range of about 4.75 V to 5.25 V. The absolute maximum is 7 V. A supply of 12 V or a reversed supply destroys the chip, often with heat, so check the polarity and voltage before switching on. Connect the supply pin and the ground pin of every chip, and a chip with no power gives no output whatever its inputs.
Place a 0.1 µF ceramic capacitor between the supply and ground close to each chip, which absorbs the current spikes that fast switching produces. Without it, a circuit may work with a slow clock and fail with a fast one.
Logic levels
| Level | Input needs | Output gives |
|---|---|---|
| Logic 0 (low) | below 0.8 V | below 0.4 V |
| Logic 1 (high) | above 2.0 V | above 2.4 V |
The gap between what an output gives and what an input needs is the noise margin, 0.4 V on each side. A voltage between 0.8 V and 2.0 V on an input is not valid, and the result is unpredictable. A standard TTL output can drive up to 10 standard inputs. This is its fan out.
Unused inputs
- An open TTL input acts as logic 1, but it is easily disturbed by noise. Do not rely on it.
- Tie unused inputs of AND and NAND gates to logic 1, through a 1 kΩ resistor to 5 V, or to a used input of the same gate.
- Tie unused inputs of OR and NOR gates to ground, or to a used input.
- Enable, clear and preset pins must be tied to their inactive level. Active low pins are inactive when high.
Do not connect two outputs together. If one is high and the other is low they fight, and the chip heats and may be damaged. Only open collector and three state outputs can be joined, with care.
LEDs and switches
An LED on an output needs a series resistor. For a 5 V supply a value of 330 Ω gives about 8 mA, which is bright enough. TTL sinks current better than it sources it, so the usual way is to connect the LED from 5 V through the resistor to the output. The LED then lights when the output is low.
A switch makes an input high or low. A switch to ground alone leaves the input open when it is off, so add a pull up resistor of 1 kΩ to 5 V. A push button for a clock should be debounced, since it makes many pulses each time it is pressed.
A checking routine
- Switch the power off while you wire.
- Wire power and ground for every chip first.
- Wire the inputs, then the outputs, and tick off each wire from your circuit diagram.
- Switch on and test with a logic probe or a multimeter. A level near 0 V is low, and a level above 2 V is high.
- If a result is wrong, check the power pins first. Then check each chip pin by pin against the pin diagram.
Most faults are in the wiring, not the chip. A single misplaced wire in the wrong row is a very common cause.
Try it in the virtual lab
SinBench has free 3D benches and interactive demos for this topic. Open one to try the ideas above with real instruments, no sign up needed.
Full Adder and 4-Bit Binary Adder (74283)
Questions and answers
What supply voltage do TTL chips need?
They need 5 V, with an allowed range of about 4.75 V to 5.25 V. More than 7 V destroys them.
How do you find pin 1 of a chip?
Hold the chip with the notch or dot at the top. Pin 1 is at the top left, and the numbers go down the left side and up the right side.
What happens to an unused TTL input?
An open input is read as logic 1, but it picks up noise. Tie unused inputs to a fixed level, high for AND and NAND gates, and low for OR and NOR gates.
Why add a 0.1 µF capacitor near each chip?
It supplies the short current spikes taken during switching and stops them from disturbing the supply and other chips.
Related topics
Logic Gates and Truth Tables: AND, OR, NOT, NAND, NOR, XOR
Learn the seven basic logic gates with truth tables, symbols and expressions, the common TTL chips that hold them and how to read a gate level circuit.
Digital Logic DesignHalf Adder, Full Adder and the 74283 4-Bit Adder
Learn how half and full adders add binary numbers, how to build a ripple carry adder, how the 74283 works with its carry in and out, with worked sums.
Digital Logic DesignLatches and Flip-Flops: SR, D and JK Explained
Learn how SR latches, gated D latches, edge triggered D flip-flops and JK flip-flops work, with tables and equations, and the toggle and debounce uses.