A pin header is a form of electrical connector. It consists of one or more rows of male pins typically spaced apart, but common sizes also include,,, , and. The distance between pins is known as pitch. In the past, a pin header was known as a Berg connector, but the term fell out of favor because pin headers are manufactured by many companies.
Overview
Pin headers are often associated with ribbon cable connectors, pin headers often also function as recipients for jumpers. The most common jumper spacing is, though is sometimes used in smaller products. Pin header connectors are thus "male" connectors and are mostly used inside equipment, rather than being used as a connector on the outside of the device. Normally pin headers are through-hole devices, but surface-mount technology versions of one and two row pin headers also exist. In the latter case the solder sides of the pins are simply bent on a 90 degree angle so as to be soldered to a solder plane. On single row pin headers the pins are bent alternating to one side or the other, on dual row pin headers the pins are simply bent outwards. If pin headers are optional, the THT variant is often chosen for ease of manual assembly. Pin headers can be either straight or angled. The latter form is often used to connect two boards together. Pin headers are cost-effective due to their simplicity. Headers are often sold as long strips which can easily be broken off to the right number of pins.
Shrouded or Box header
Pin headers with a plastic guide box around them are known as box headers or shrouded headers and are normally only used in combination with insulation-displacement connectors for ribbon cables. A notch in the guide box normally prevents placing the connector the wrong way around.
Polarizer key
Some systems polarize or key the pin header connection with something that fills and blocks one of the holes in the sockets. One pin of the wrong pin header hits that obstruction and prevents an incorrect connection. The correct pin header has one or more pins in the header removed or clipped to indicate a key for correct orientation.
Pin numbering
In absence of a pin 1 designation on the header, if a designation is missing from the header, the PCB may have a marking indicating orientation. For multi-row pin headers, the pin number is more complex, because knowing the location of pin 1 doesn't automatically ensure how the remaining pins are numbered. Typically for headers attached to ribbon cables, the pins are numbered so they go linearly across the cable. Because of the way the connector attaches to the cable, this means in a two-row header, pins in one row have odd numbers and pins in the other row have even numbers.