What explains the counter-intuitive numbering of chip pins? @CoolSWEng
Diomidis Spinellis helps explain why the pin numbering on chips is how it is:
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.
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
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.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!