Part 07 / 12

Reading a Chip

Every chip in this series has a notch at one end and pin 1 beside it, power on pins 14 and 7, and a datasheet that answers every question about it, once you know which three pages to read.

6 sections 1 interactive
§ 7.1

Pin 1, the notch and the dot

A chip’s legs all look the same, so the package carries two marks to tell them apart. At one end of the body is a notch, a small half-moon dent. Many chips also have a dot pressed into the corner. Pin 1 is the leg beside both.

From pin 1 the count goes anticlockwise, seen from above: down one side, 1 to 7 on a 14-pin chip, then across and back up the other side, 8 to 14. So pin 14 sits opposite pin 1, and pin 7 sits diagonally across from pin 14. The same rule holds for every chip, whatever its size, and it is the same rule for the 8-pin 555 in part 11.

On the breadboard in this series, chips always sit with the notch to the left. That puts pin 1 at the bottom left, pins 1 to 7 along the bottom row from left to right, and pins 8 to 14 along the top row from right to left. Datasheets draw the same chip standing up, notch at the top. Keep both pictures in mind, and when you are unsure, find the notch first.

The 14 pins of a gate chip are its : which leg is which input, which is which output, and which carries power. A diagram of it, “top view”, is the most useful picture on any datasheet.

§ 7.2

Power: pins 14 and 7

A chip’s gates need power just like an LED does. On almost every 14-pin chip in the 7400 family, pin 14 is , the positive supply, and pin 7 is , ground. In this series, pin 14 goes to the + rail and pin 7 to the − rail, always. The power pins never appear on the gate symbols in a circuit diagram; they are assumed, and they are the commonest thing to forget.

Forget pin 14 or pin 7 and the chip may seem half alive. CMOS inputs have small protective diodes to the supply, and a high input can feed the chip a little power through them, enough to make an output flicker or an LED glow faintly. If a circuit behaves strangely, measure across pins 14 and 7 first: it should read 5 volts.

Put a chip in backwards, notch to the right, and pin 14 lands on ground and pin 7 on the supply. The chip’s protective diodes then conduct straight across the supply, and the chip gets hot within seconds. If you smell hot plastic or a chip is too warm to touch, switch off at once and check the notch.

§ 7.3 · interactive

Try it: an interactive pinout

Try it

An interactive pinout

Choose a chip and click any pin, or tab to it, to see what it does. The other pins of the same gate light up with it. Then show the chip the way it sits on your breadboard.

74HC0011A21B31Y42A52B62Y7GND83Y93A103B114Y124A134B14VCC
Pin 1 · 1A

Input A of gate 1, which drives pin 3. Connect a signal here, or, if this gate is unused, tie it to + or −. Never leave it floating.

74HC00: four two-input NAND gates. Pin 1 is next to the notch and the dot; the numbers run anticlockwise, seen from above.

Top views. The 74HC00, 74HC08, 74HC32 and 74HC86 share one layout; the 74HC02 and 74HC04 do not. The 74HC74 appears in part 10 and the 555 in part 11.

§ 7.4

Reading a datasheet without panic

Every chip has a , free from its maker: search for the part number, such as “74HC00 datasheet”. The first sight of twenty pages of tables is alarming, but for a beginner three parts matter and the rest can wait.

  1. The pin configuration, usually on page 1 or 2. The top-view drawing you have just explored, with a table naming each pin: 1A, 1B, 1Y, GND and so on. A and B are inputs; Y is an output.
  2. The function table, which is the truth table in datasheet language. H means high, L means low, and X means “does not matter”. For a NAND: if A and B are both H, then Y is L; if either is L, Y is H.
  3. The recommended operating conditions. The range the chip is guaranteed to work in. For the 74HC family: a supply between 2 and 6 volts. Stay inside it and the chip behaves exactly as the tables say.

Two more tables are worth a glance. Absolute maximum ratings are limits you must never cross even for a moment, such as the highest supply voltage and the most current a pin may carry; they are not targets. And the electrical characteristics give the numbers behind part 3. With a 4.5 volt supply, an input above 3.15 volts is guaranteed high and one below 1.35 volts guaranteed low: 70 % and 30 % of the supply. Each output keeps proper logic levels while supplying or taking up to 4 milliamps.

That last figure explains the LED resistor. An LED through 330 Ω draws about 8 milliamps from an output, twice the 4 milliamps the levels are guaranteed at. The output’s voltage sags a few tenths of a volt below 5, which is harmless for an LED and still a solid high for any input the same output feeds. Much smaller resistors would push the output harder than it is meant to go.

Datasheets also give the propagation delay, the time from an input changing to the output following: a few nanoseconds for a 74HC gate on 5 volts. Light travels about a metre and a half in five nanoseconds. On a breadboard, gates are effectively instant.

§ 7.5

A capacitor beside every chip

Each time a gate switches, it gulps a short burst of current from the supply, for a few billionths of a second. The wires from the supply to the chip are not perfect. They have a little inductance, which resists sudden changes in current, so for that brief moment the voltage at the chip’s pin 14 dips. With several chips switching together, the dips can be big enough to make other gates misread their inputs, and the circuit behaves erratically for no visible reason.

The cure is a small capacitor, 100 nF, connected across the supply right beside each chip: a . It acts as a tiny local reservoir. When the chip gulps, the capacitor supplies the burst from a few millimetres away, and the supply wires refill it gently afterwards. Logic circuit boards usually have one beside every chip.

On a breadboard, the neatest way is a ceramic capacitor marked 104 straight across the + and − rails, as close as you can to the chip’s pin 14. It has no + or −, so either way round is fine. Keep its legs short: a long lead adds back the inductance it is there to defeat. What Capacitors Are For has an instrument that shows a supply dipping with and without one.

§ 7.6

Build it: probe a NAND

This build checks the chip, the power and your reading of the pinout before anything is connected to the inputs. Every input of a 74HC00 is tied low, so by the function table every output should be high.

  1. Fit the 74HC00, notch to the left, pin 1 in f14. Wire pin 14 (a14) to + and pin 7 (j20) to −, and put the 100 nF capacitor across the top rails beside pin 14.
  2. Tie all eight inputs to −: pins 1, 2, 4 and 5 from row j to the bottom − rail; pins 9, 10, 12 and 13 from row a to the top − rail.
  3. From pin 3, run a wire h16 to h23, then 330 Ω from g23 to g26, the LED from i26 (long leg) to i27, and j27 to −.
  4. Switch on.
What you should see

The LED lights: 0 NAND 0 = 1. With a multimeter: 5 V between pins 14 and 7, and about 5 V on each output, pins 3, 6, 8 and 11. Now move the two black wires on pins 1 and 2 to the bottom + rail: the LED goes out, because 1 NAND 1 = 0. Move just one of them back, and it lights again.

You can now find any pin on any chip. The next part puts that to work on all the gates in your kit, one after another, with a simulator to try each one before you build it.

Sources for this part

Packages and pinouts

Decoupling and protection

Series Logic on a Breadboard
Menu

Gears & Signals · Static site · No trackers