Pin header

A pin header (often abbreviated as PH, or simply header) is a form of electrical connector. It consists of one or more rows of male pins typically spaced 2.54 millimetres (0.1 in) apart, but common sizes also include 5.08 millimetres (0.2 in), 5.00 millimetres (0.197 in), 3.96 millimetres (0.156 in), 2.00 millimetres (0.079 in), 1.27 millimetres (0.05 in) and 1.00 millimetre (0.04 in).[1] The distance between pins (measured from center to center) is known as pitch.

6x1 male pin header
6x1 female socket
8x2 male pin header
13x2 box header, shrouded with notch key, triangle denotes pin 1

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 2.54 millimetres (0.1 in), though 2.0 millimetres (0.079 in) is sometimes used in smaller products.

Pin header connectors are thus "male" connectors ("female" counterparts do exist, but these are normally just called female header (FH) or header connector, without "pin") and are mostly used inside equipment, rather than being used as a connector on the outside of the device.[2]

Normally pin headers are through-hole (THT) devices, but surface-mount technology (SMT) 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 (typically 40 or 50 pins for the dual row versions) 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 (BH) or shrouded headers and are normally only used in combination with insulation-displacement connectors (IDC) for ribbon cables. A notch (key) in the guide box normally prevents placing the connector (polarised by a "bump" on one side) the wrong way around.[3]

Polarizer key

Some systems polarize or key the pin header connection with something that fills and blocks one of the holes in the sockets.[4][5][6][7] One pin of the wrong pin header (or the correct pin header rotated in the wrong orientation) 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 (often the solder pad around the hole of pin 1 of a THT header is square rather than round).

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.[8]

gollark: Yes, I meant that.
gollark: *is confused by bizarre, somewhat unreadable C*
gollark: Or make it throw an exception, which would make more sense.
gollark: You can just drop the type hint and add a proper test.
gollark: Alternately:```pythondef f(l): if len(l) != 2: return # do stuff with l```

See also

References

Examples
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.