One of the first things one learns in electronics is how chip pins are numbered. In the common dual in-line package (DIP) pin numbering starts from the left side of a notch appearing on the top of the package and continues counterclockwise until it reaches the other side of the notch. Why are pins counter-intuitively numbered in a rotating fashion rather than by columns as one would expect for a rectangular package? And why is the numbering not following the direction of a clock’s numbers? I think that both decisions can be traced back to history.
Before the advent of integrated circuit chips and transistors, electronic circuits were built using vacuum tube valves. In time simple three-pin diode valves evolved into more complex configurations with multiple pins, such as those for the plate (anode), one or more grids, the cathode, and the heater. As vacuum tubes are rather bulky it would be natural to number these pins while looking at them from their bottom side. Furthermore, to avoid mistakenly inserting a tube into a socket with the pins in the wrong order, many tube sockets, such as the octal one, introduced a key in the rib post to fit an indexing slot in the socket. This was naturally placed between the first and the last numbered pin. You can see both features in the picture above and the diagram below, which depicts the tube’s pins viewed from below.
Octal base vacuum tube numbering (7AK7)
Integrated circuits seem to have inherited this numbering scheme from vacuum tubes. If we look at a chip from underneath, its pins are numbered clockwise in a circular fashion, just as a tube’s would be. It gets better: the notch between the chip’s first and last pin (see picture below) corresponds to the tube’s key.
See how the chip takes after the tube in the blog post.
8-6-2021 (August 6, 2021) is the Snakiest day of the year and it’s also this year’s CircuitPython Day! The day highlights all things CircuitPython and Python on Hardware. See you there!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.