Connectors
What each connector's contacts are, and what happens when it meets one it was not made for.
barrel
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| DC barrel plug 5.5 x 2.1 mm | 5.5x2.1mm | Plug | 2 | The usual wall-adapter plug. Centre positive is convention, not a guarantee. |
| DC barrel socket 5.5 x 2.1 mm | 5.5x2.1mm | Receptacle | 2 | Panel or board DC input socket. A 2.5 mm plug will rattle in a 2.1 mm socket and make intermittent contact. |
header-2-54mm
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| 2.54 mm header, 15-pin female | 15-pin | Receptacle | 15 | Fifteen-way socket strip on 0.1 inch pitch. |
| 2.54 mm header, 15-pin male | 15-pin | Plug | 15 | One side of a 30-pin development board. |
| 2.54 mm header, 4-pin female | 4-pin | Receptacle | 4 | Four-way socket strip or jumper-wire end on 0.1 inch pitch. |
| 2.54 mm header, 4-pin male | 4-pin | Plug | 4 | The breakout-module standard: four pins on 0.1 inch pitch. |
jack-3-5mm
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| 3.5 mm TRRS jack (CTIA) | TRRS-CTIA | Receptacle | 4 | Four-conductor headset socket in the CTIA pinout. |
| 3.5 mm TRRS plug (CTIA) | TRRS-CTIA | Plug | 4 | Four-conductor headset plug in the CTIA pinout: tip left, ring 1 right, ring 2 ground, sleeve microphone. The older OMTP pinout swaps the last two, which is why a headset can work on one phone and not another. |
| 3.5 mm TRS jack | TRS | Receptacle | 3 | Three-conductor eighth-inch socket. |
| 3.5 mm TRS plug | TRS | Plug | 3 | Three-conductor eighth-inch plug. The common stereo headphone and line plug. |
| 3.5 mm TS jack | TS | Receptacle | 2 | Two-conductor eighth-inch socket. |
| 3.5 mm TS plug | TS | Plug | 2 | Two-conductor eighth-inch plug. Unbalanced mono. |
jack-6-35mm
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| 6.35 mm TRS jack | TRS | Receptacle | 3 | Three-conductor quarter-inch socket. |
| 6.35 mm TRS plug | TRS | Plug | 3 | Three-conductor quarter-inch plug. Stereo, or balanced mono, depending entirely on what the device does with the ring. |
| 6.35 mm TS jack | TS | Receptacle | 2 | Two-conductor quarter-inch socket. A TRS plug will seat in it, shorting its ring to the sleeve. |
| 6.35 mm TS plug | TS | Plug | 2 | Two-conductor quarter-inch plug. Unbalanced mono: instrument cables, guitar amp inputs, speaker leads. |
jst-xh
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| JST-XH 2-pin header | 2-pin | Plug | 2 | Keyed 2.5 mm pitch board header. Common for battery and fan leads. |
| JST-XH 2-pin housing | 2-pin | Receptacle | 2 | Keyed 2.5 mm pitch cable housing. The key prevents reversal, which is the point of using it over a bare header. |
rca
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| RCA plug | none | Plug | 2 | Unbalanced consumer line connector. One signal pin inside a ground shield. |
| RCA socket | none | Receptacle | 2 | Unbalanced consumer line socket. |
screw-terminal
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| 2-pole screw terminal | 2-pole | Receptacle | 2 | Bare-wire terminal block. Nothing keys it, so polarity is whatever the silkscreen says. |
usb-c
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| USB-C plug (power and USB 2.0 contacts) | power-and-usb2 | Plug | 6 | Simplified to the six contacts a wire-level connection touches: VBUS, GND, CC1, CC2, D+ and D-. The full receptacle has 24 contacts; the high-speed pairs are not modelled because Zikro does not reason about them. |
| USB-C receptacle (power and USB 2.0 contacts) | power-and-usb2 | Receptacle | 6 | Simplified to the same six contacts as the plug. |
xlr
| Connector | Variant | Gender | Contacts | Notes |
|---|---|---|---|---|
| XLR 3-pin female | 3-pin | Receptacle | 3 | Balanced audio connector, input end by convention. May carry 48 V phantom power. |
| XLR 3-pin male | 3-pin | Plug | 3 | Balanced audio connector. Pin 1 ground, pin 2 hot, pin 3 cold. Male carries the output by convention. |

