Lib-electronic-components samtec

Samtec high-speed connector MPN encoding patterns, series identification, and handler guidance. Use when working with Samtec connectors or SamtecHandler.

install
source · Clone the upstream repo
git clone https://github.com/Cantara/lib-electronic-components
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Cantara/lib-electronic-components "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/manufacturers/samtec" ~/.claude/skills/cantara-lib-electronic-components-samtec && rm -rf "$T"
manifest: .claude/skills/manufacturers/samtec/SKILL.md
source content

Samtec Manufacturer Skill

MPN Structure

Samtec MPNs follow a consistent hyphen-delimited structure:

[SERIES]-[PINS]-[PITCH]-[MOUNT]-[OPTIONS]...[-TR]
   |       |      |       |        |          |
   |       |      |       |        |          └── Optional: TR for tape & reel
   |       |      |       |        └── Configuration options (S/D, DV, A, K, etc.)
   |       |      |       └── Profile/mounting (L=low, S=standard, etc.)
   |       |      └── Pitch in mm (e.g., 02.5 = 2.5mm)
   |       └── Pin count (e.g., 110 = 110 pins)
   └── Series prefix (LSHM, SEAM, HSEC8, QSH, QTH, TFM, TSM, SSW, TSW)

Example Decoding

LSHM-110-02.5-L-DV-A-S-K-TR
│    │   │    │ │  │ │ │ │
│    │   │    │ │  │ │ │ └── TR = Tape & Reel
│    │   │    │ │  │ │ └── K = Keying/polarization
│    │   │    │ │  │ └── S = Surface mount option
│    │   │    │ │  └── A = Alignment option
│    │   │    │ └── DV = Dual row vertical
│    │   │    └── L = Low profile
│    │   └── 02.5 = 2.5mm pitch (displayed as 0.50mm for LSHM)
│    └── 110 = 110 pins
└── LSHM = High-Speed Micro Headers

HSEC8-120-01-L-DV-A
│     │   │  │ │  │
│     │   │  │ │  └── A = Alignment option
│     │   │  │ └── DV = Dual row vertical
│     │   │  └── L = Low profile
│     │   └── 01 = Pitch code (0.80mm for HSEC8)
│     └── 120 = 120 positions
└── HSEC8 = High-Speed Edge Card

TSW-110-01-L-S
│   │   │  │ │
│   │   │  │ └── S = Single row
│   │   │  └── L = Low profile
│   │   └── 01 = Pitch code (2.54mm for TSW)
│   └── 110 = 110 pins
└── TSW = Through-Hole Terminal Strip

Product Series

High-Speed Series (SMT)

SeriesTypePitchApplication
LSHMMicro Headers0.50mmHigh-speed board-to-board
HSEC8Edge Card0.80mmHigh-speed edge card
QSHTerminal Strip (Socket)0.635mmHigh-speed terminal
QTHTerminal Strip (Header)0.635mmHigh-speed terminal

General Purpose Series (SMT/THT)

SeriesTypePitchApplication
SEAMCard Edge1.27mmCard edge connectors
TFMTerminal Strip (Female)1.27mmGeneral purpose
TSMTiger Eye Terminal Strip1.27mmGeneral purpose

Through-Hole Series

SeriesTypePitchApplication
SSWSocket Strip2.54mmThrough-hole socket
TSWTerminal Strip2.54mmThrough-hole header

Series Descriptions

SeriesFull Name
LSHMHigh-Speed Micro Headers
SEAMCard Edge Connectors
HSEC8High-Speed Edge Card
QSHHigh-Speed Terminal Strip (Socket)
QTHHigh-Speed Terminal Strip (Header)
TFMTerminal Strip (Female)
TSMTiger Eye Terminal Strip
SSWThrough-Hole Socket Strip
TSWThrough-Hole Terminal Strip

Default Pitch by Series

SeriesDefault Pitch (mm)
LSHM0.50
SEAM1.27
HSEC80.80
QSH0.635
QTH0.635
TFM1.27
TSM1.27
SSW2.54
TSW2.54

Rated Current by Series

SeriesCurrent per Pin (A)
LSHM1.7
SEAM1.5
HSEC81.8
QSH2.3
QTH2.3
TFM2.1
TSM2.3
SSW3.0
TSW3.0

Option Codes

Mounting/Profile Options

CodeDescription
LLow profile
SStandard profile
RARight angle
RRight angle (alternate)

Row Configuration

CodeDescription
SSingle row
DDual row
DVDual row vertical

Additional Options

CodeDescription
AAlignment feature
KKeying/polarization
TRTape and reel packaging

Handler Implementation Notes

Pattern Matching

// Each series follows SERIES-PINS-PITCH-OPTIONS format
"^LSHM-[0-9]+-.*"     // High-Speed Micro Headers
"^SEAM-[0-9]+-.*"     // Card Edge
"^HSEC8-[0-9]+-.*"    // High-Speed Edge Card
"^QSH-[0-9]+-.*"      // High-Speed Terminal Socket
"^QTH-[0-9]+-.*"      // High-Speed Terminal Header
"^TFM-[0-9]+-.*"      // Terminal Strip Female
"^TSM-[0-9]+-.*"      // Tiger Eye Terminal Strip
"^SSW-[0-9]+-.*"      // Through-Hole Socket Strip
"^TSW-[0-9]+-.*"      // Through-Hole Terminal Strip

Series Extraction

// Series is the first hyphen-delimited field
// LSHM-110-02.5-L-DV -> LSHM
// TSW-110-01-L-S -> TSW

for (String series : SERIES_FAMILIES.keySet()) {
    if (upperMpn.startsWith(series + "-")) {
        return series;
    }
}

Pin Count Extraction

// Pin count is the second hyphen-delimited field
// LSHM-110-02.5-L-DV -> 110

String[] parts = mpn.split("-");
if (parts.length >= 2) {
    return Integer.parseInt(parts[1]);
}

Pitch Extraction

// Pitch is the third hyphen-delimited field
// LSHM-110-02.5-L-DV -> "02.5"
// But actual pitch may differ from this code

// Use series default pitch for accurate value
String series = extractSeries(mpn);
return SERIES_DEFAULT_PITCH.get(series);

Package Code Extraction

// Package code is everything after pins and pitch
// LSHM-110-02.5-L-DV-A-S-K-TR -> L-DV-A-S-K-TR

String[] parts = mpn.split("-");
if (parts.length >= 4) {
    StringBuilder pkgCode = new StringBuilder();
    for (int i = 3; i < parts.length; i++) {
        if (pkgCode.length() > 0) pkgCode.append("-");
        pkgCode.append(parts[i]);
    }
    return pkgCode.toString();
}

Replacement Compatibility

Same Series Compatibility

For connectors to be interchangeable:

  1. Same series (e.g., both LSHM)
  2. Same pin count (must match exactly)
  3. Compatible mounting type (SMT vs THT)

Mating Pairs

Socket/FemaleHeader/Male
QSHQTH
SSWTSW
TFMTSM

Mounting Type by Series

SeriesMounting
LSHMSMT
HSEC8SMT
QSHSMT
QTHSMT
TFMSMT
TSMSMT
SEAMCard Edge
SSWTHT
TSWTHT

High-Speed Capability

High-speed rated series:

  • LSHM
  • HSEC8
  • QSH
  • QTH

Standard series (not high-speed rated):

  • SEAM
  • TFM
  • TSM
  • SSW
  • TSW

Related Files

  • Handler:
    manufacturers/SamtecHandler.java
  • Component types:
    ComponentType.CONNECTOR
    ,
    ComponentType.IC

Learnings & Edge Cases

  • Hyphen-delimited format: Unlike IC manufacturers, Samtec uses hyphens to separate all MPN fields
  • Pitch code vs actual pitch: The pitch field in MPN may be a code (01, 02.5) rather than actual mm value
  • Component type includes IC: Handler registers both CONNECTOR and IC types for pattern matching flexibility
  • Pin count in second field: Always extract from second hyphen-delimited field
  • Series determines most specs: Series alone determines pitch, mounting type, and current rating
  • Mating connector pairs: QSH mates with QTH, SSW mates with TSW, TFM mates with TSM
  • TR suffix for packaging: -TR at end indicates tape and reel packaging, strip for extraction
<!-- Add new learnings above this line -->