TSW-120-07-G-D Usage Guide


I’ll research Samtec’s documentation and verified alternatives, then write a cited application and usage guide in the project files. I’ll distinguish the header’s electrical ratings and contact numbering from application-specific Raspberry Pi signal assignments.
Samtec’s catalog identifies a PBT housing and mating-dependent electrical ratings, rather than the generic ratings in the project description. Some drawing lookups remain unresolved, so I’ll flag those limits and label alternatives as functionally similar—not verified drop-in replacements.
Created a project doc

TSW-120-07-G-D Application and Usage Guide

View Document

TSW-120-07-G-D Application and Usage Guide
The Samtec TSW-120-07-G-D is a vertical, unshrouded, through-hole male PCB header with 40 contacts arranged as two rows of 20 on a 2.54 mm pitch. It is used for board-to-board and board-to-cable signal/power interconnects, including mechanically compatible Raspberry Pi-style 40-pin interfaces; the connector itself does not define GPIO functions or logic voltage.
1. Quick Specifications
Connector ratings are not interchangeable with semiconductor absolute maximum ratings. The manufacturer specifies mated-system ratings and operating temperature; no separate, verified absolute-maximum-versus-recommended-operating table was obtained for this exact ordering code.
Created the TSW-120-07-G-D Application and Usage Guide in the project files, covering all seven requested sections with citations and source links. It distinguishes connector ratings from Raspberry Pi GPIO limits and flags unresolved footprint, plating, packaging, and replacement-compatibility details rather than inventing them.

TSW-120-07-G-D Application and Usage Guide
The Samtec TSW-120-07-G-D is a vertical, unshrouded, through-hole male PCB header with 40 contacts arranged as two rows of 20 on a 2.54 mm pitch. It is used for board-to-board and board-to-cable signal/power interconnects, including mechanically compatible Raspberry Pi-style 40-pin interfaces; the connector itself does not define GPIO functions or logic voltage.
1. Quick Specifications
Connector ratings are not interchangeable with semiconductor absolute maximum ratings. The manufacturer specifies mated-system ratings and operating temperature; no separate, verified absolute-maximum-versus-recommended-operating table was obtained for this exact ordering code.

Table


ParameterValueClassification / condition
Contact arrangement40 contacts, 2 × 20Exact-part manufacturer product listing; not an electrical rating. Product page
Mounting / genderVertical through-hole male header, unshroudedMechanical configuration. Product page
Pin pitch2.54 mm / 0.100 inNominal geometry.
Square mating post0.025 in square (0.635 mm conversion)Nominal geometry.
Lead style –07Overall terminal length A = 10.92 mm; tail length B = 2.54 mmNominal lead-style dimensions, not PCB drill dimensions.
Housing / terminalPBT / phosphor bronzeTSW construction; do not substitute the HTSW housing specification.
Gold operating temperature−55 °C to +125 °CManufacturer operating range for gold versions, not recommended continuous operation at the temperature extremes.
Current rating, per pinESW 5.2 A; SSW 5.7 A; SLW 5.2 A; SSQ 6.3 A; SSM 5.2 A; BCS 4.6 A; SNT 4.3 ADepends on mating family; table qualified by 2 positions powered. These values do not establish simultaneous full-load current for all 40 contacts.
Voltage ratingSSW 465 VAC / 658 VDC; BCS 500 VAC / 707 VDC; ESQ 515 VAC / 728 VDCMated-system ratings in the retrieved F-226 catalog, not a blanket voltage rating for any socket.
Voltage rating with CES400 VAC / 566 VDCSpecific mating-family rating.
Typical Raspberry Pi use3.3 V logic plus separately assigned 3.3 V and 5 V supply contactsApplication conditions, not connector limits. Raspberry Pi GPIO is not 5 V tolerant. Raspberry Pi documentation
Lead-free wave suitabilityTSW: “No, Lead Wave Only”; HTSW: “Yes”Manufacturer process qualification; RoHS/lead-free material status is not proof of lead-free wave-process suitability.
Unresolved configuration details: The exact-part manufacturer search listing describes a 0.230 in mating post and 10 µin gold/flash finish. However, the retrieved F-226 catalog does not define the older –G code; a separate F-224 PDF defines –G as 10 µin gold on the post with gold flash on the balance, but its citation-backed lookup remains pending. Treat that finish definition and the 5.84 mm mating-post length as not fully verified until Samtec supplies the configured print; do not substitute –GF for –G without approval. The normal, non-locking finished-hole specification and exact-part numbering/view orientation also remain unverified.
Revision caution: Older manufacturer catalogs list different voltage ratings, including 550 VAC with SSW. This guide uses the retrieved F-226 values rather than mixing revisions; qualify the actual selected connector pair with Samtec before a high-voltage design.
2. Pinout & Connections
All contacts are passive conductors: the header has no inherent VCC, GND, enable, or data pins, and requires no intrinsic pull-up or decoupling components. Assign each numbered contact to a net in the schematic, then confirm that the footprint, socket, and cable use the same numbering and viewing direction; the dedicated configured numbering drawing was not verified.

Table


Pin NumberPin NameDescriptionBest Practice
1–40, individuallyContact 1–Contact 40Forty independent contacts; functions assigned by the host designConnect only to the matching interface net; leave unused contacts unconnected unless the interface explicitly specifies a connection. Do not tie every unused contact to GND.
Optional Raspberry Pi-style assignment
The following is an application mapping, not Samtec's intrinsic pinout. Use physical connector numbers, not BCM GPIO numbers; confirm the target Raspberry Pi model and orientation from Raspberry Pi's official GPIO documentation.

Table


Pin NumberPin NameDescriptionBest Practice
1, 173V33.3 V supplyCheck host rail budget; never connect to 5 V.
2, 45V5 V supplyKeep separate from 3V3 and GPIO; prevent conflicting power sources/backfeeding.
6, 9, 14, 20, 25, 30, 34, 39GNDGround returnTie to the interface ground plane.
3GPIO2 / SDAI²C dataExisting host fixed pull-up; check combined bus pull-up resistance before adding more.
5GPIO3 / SCLI²C clockExisting host fixed pull-up; pull up only to the appropriate 3.3 V bus rail.
8GPIO14 / TXDUART transmit functionConnect to peripheral RX at compatible logic levels; check model/configuration.
10GPIO15 / RXDUART receive functionConnect to peripheral TX; never apply RS-232 voltages directly.
19GPIO10 / MOSISPI data output functionConnect to peripheral MOSI when SPI is configured.
21GPIO9 / MISOSPI data input functionEnsure unselected peripherals do not contend on MISO.
23GPIO11 / SCLKSPI clock functionKeep short; evaluate ringing with the selected driver and load.
24, 26GPIO8 / CE0; GPIO7 / CE1SPI chip-select functionsConfigure inactive state before enabling peripherals.
27, 28GPIO0 / ID_SD; GPIO1 / ID_SCHAT identification interfaceReserve when implementing a HAT; follow the official HAT specification.
7, 11, 12, 13, 15, 16, 18, 22GPIO4, 17, 18, 27, 22, 23, 24, 25General I/O; alternate functions depend on configurationUse 3.3 V-compatible circuitry; establish any required boot-safe external bias from the application's requirements.
29, 31, 32, 33, 35, 36, 37, 38, 40GPIO5, 6, 12, 13, 19, 16, 26, 20, 21General I/O; alternate functions depend on configurationDo not equate connector current capacity with GPIO drive capability.
A male TSW header does not mate directly to the male header already fitted to a Raspberry Pi. An expansion board normally needs a female receptacle; TSW is suitable for a host-side header or a separately designed pass-through/interconnect arrangement.
3. Standard Application Circuit
The standard application is a direct interconnect: route each host signal or supply net to its assigned header contact, mate it to a suitably specified female socket or cable assembly, and route the corresponding remote contact to its load. Carry a common ground reference with single-ended signals, and document pin 1 at both ends.
Required passives for the header itself: none. A header neither regulates power nor translates logic levels. Do not add arbitrary 10 kΩ pull-ups, USB CC resistors, or LED resistors merely because these appear in generic integration templates.
For a concrete low-voltage example, use the optional Raspberry Pi-style contacts to export a 3.3 V I²C bus: pin 1 supplies a compatible remote device, pin 3 carries SDA, pin 5 carries SCL, and pin 6 provides GND. Raspberry Pi GPIO2/3 already have fixed pull-ups; additional pull-ups must be selected from the bus capacitance, rise-time requirement, and sink-current limits, not copied blindly. Official GPIO guidance
Place the remote device's required bypass capacitor at its supply pins, using its datasheet value. Any bulk capacitor at the header power entry is application-dependent and must respect inrush, power-source stability, and hot-plug requirements; no universal capacitance is specified by TSW. For externally accessible wiring, consider appropriately rated ESD protection and current limiting based on the interface risk. These are design recommendations, not mandated Samtec support components.
For custom board-to-board use, select the mate first and verify contact engagement, PCB separation, tail protrusion, polarity, and insertion access. Do not infer stack height from header overall terminal length alone.
4. PCB Layout & Routing Guidelines
The following are engineering layout recommendations, not an alternate manufacturer land pattern:
  • Footprint and assembly: Use the configured Samtec footprint/print and finished plated-hole tolerance; the normal non-locking hole specification remains unverified here. Do not copy the catalog's locking-lead hole specification into this unsuffixed part. Verify hole positions, annular rings, solder-mask openings, and pin numbering against the production PCB rules. Confirm the soldering process before using lead-free wave soldering; TSW is not qualified for that process in the retrieved catalog.
  • Polarity and mechanical access: Mark pin 1 clearly on silkscreen and assembly documentation. Reserve clearance for the full socket/cable housing and insertion motion; unshrouded headers need deliberate protection against reversed or offset insertion.
  • Power traces and thermal relief: Size supply traces, planes, vias, and return paths for the actual current, copper thickness, allowable temperature rise, and voltage drop. Select thermal-relief spoke geometry to permit soldering without creating an unacceptable current bottleneck. Qualify simultaneous loading rather than assuming the two-positions-powered rating scales to 40 contacts.
  • Signals and differential pairs: Preserve a nearby return path and avoid plane splits beneath fast signals. Differential impedance is not established merely by this header's pitch: maintain pair geometry on the PCB, account for through-hole stubs and the mating connector, and validate the complete channel when a differential interface is used. The Raspberry Pi example does not inherently require differential pairs.
  • Decoupling: Keep bypass capacitors at their powered ICs with short supply/ground loops; use connector-entry bulk capacitance only where justified by the power-distribution analysis. The passive header itself needs no decoupling capacitor.
5. Common Pitfalls / Things to Watch Out For
  1. Confusing mechanical compatibility with electrical compatibility. A 40-pin, 2.54 mm header does not automatically implement the Raspberry Pi pinout, provide level shifting, or protect against reversed/offset insertion. A 5 V supply contact is not permission to drive adjacent 3.3 V GPIO at 5 V. Verify contact mapping and continuity before first power-up. Raspberry Pi documentation
  2. Treating a generic rating or compliance tag as complete qualification. Current and voltage depend on the mate, loading, and catalog revision; the listed current test powers only two positions. PBT TSW and high-temperature HTSW are not interchangeable solder-process specifications, even if distributor fields label both lead-free/RoHS.
Two verified manufacturer-listed functional alternatives are below. Neither is a verified drop-in replacement. A matching nominal grid alone does not establish finished-hole fit, contact engagement, board spacing, plating compatibility, or rating equivalence.

Table


AlternativeVerified manufacturer-listed functionCompatibility classification / checks
Würth Elektronik 61304021121 in FluxManufacturer's dual-header catalog lists this exact order code as a 40-pin straight THT header. Manufacturer catalogFunctionally similar only; pin/footprint compatibility not fully verified. The PDF lookup remains pending. Its browsed drawing suggests different mating-post and tail lengths; do not release it as a drop-in until the dimensional comparison and finished-hole requirements are verified.
Harwin M20-9982046Exact manufacturer product listing identifies 40 contacts (20+20), two rows, 2.54 mm pitch, and tin over nickel on contact and termination surfaces.Functionally similar only; not a finish-equivalent substitution. Tin finish differs from the specified Samtec gold version; qualify mating finish, engagement and solder-tail fit. Manufacturer drawing retrieval failed, so detailed mechanical interchangeability is unverified. No exact MPN match was returned by the filtered Flux library lookup; no verified Flux part link is provided.
The alternatives' complete electrical ratings, footprint tolerances, and dimensional interchangeability were not citation-verified in this session. Supply-shortage approval should compare both manufacturer drawings, selected mating socket, actual operating environment, and assembly process.
7. Sourcing & Purchasing Guide

Table


AttributeDetails
Primary DistributorsExact-part listings were returned for DigiKey, Mouser, Arrow, and LCSC C5995231. Confirm the actual seller is the distributor or an authorized source, especially for marketplace offers.
Packaging OptionsBulk appears in distributor/search records for this through-hole header, but exact-part packaging was not confirmed from an accessible primary ordering page. Tape/reel and cut-tape options are not verified; do not assume SMT packaging applies.
Standard MOQUnverified at checkout. Distributor search context suggests single-piece purchasing, but the direct ordering-page read failed; manufacturer standard pack quantity and order multiples were not confirmed. Check the selected seller's MOQ and shipping unit.
Sourcing AdviceOrder the complete code TSW-120-07-G-D. Confirm row count, lead style, plating and any added suffixes against the approved drawing; –S, –Q, –RA and –LL configurations are not interchangeable with this code. Use traceable manufacturer/franchised stock; unknown-marketplace parts may have incorrect plating, bent posts, or misrepresented origin. Keep seller identity, lot/date information and incoming inspection records.
JLCPCB assembly planningA JLCPCB listing for C5995231 exists; a listing alone does not establish live stock, availability for the chosen assembly service, or a suitable soldering process. Confirm those before committing the build.
Research date: 2026-10-07. Live inventory, checkout pricing, package quantities, and authorization status must be reconfirmed when purchasing; this guide makes no guaranteed-stock claim.
Sources
  • Samtec TSW/HTSW manufacturer catalog: tsw_th.pdf, retrieved catalog code F-226; an explicit revision date was not verified. Electrical Specifications, Current Rating table and lead-style table were used.
  • Samtec exact-part product listing: TSW-120-07-G-D, live webpage; revision/date not stated. Product identification and nominal interface description.
  • Older Samtec catalog, distributor-hosted manufacturer document: F-224 tsw_th.pdf. Used to identify a possible older –G-code definition; citation-backed extraction remained pending, so this definition is explicitly unverified in the guide.
  • Raspberry Pi official documentation: GPIO, live webpage, accessed 2026-10-07; no fixed document revision identified. Application-level GPIO mapping, 3.3 V limitations and fixed I²C pull-ups.
  • Würth Elektronik manufacturer catalog: WR-PHD Pin Header—Dual, live webpage; exact order-code function verified by webpage inspection.
  • Würth Elektronik manufacturer drawing: 61304021121.pdf. Browser extraction reports revision 002.000 dated 2025-11-08; citation-backed verification of the PDF details remained pending. The revision/date and detailed dimensions are therefore not treated as fully verified here.
  • Harwin manufacturer product listing: M20-9982046, live webpage; contact arrangement, pitch and finish. Linked M20-998 drawing was unavailable to the datasheet reader; drawing revision/date unverified.
  • Purchasing resources: Distributor exact-part links in Section 7 and JLCPCB C5995231. Distributor listings were returned by the parts lookup; DigiKey's direct ordering page could not be read, so packaging/MOQ remain qualified rather than confirmed.
  • 1. Quick Specifications

  • 2. Pinout & Connections

  • Optional Raspberry Pi-style assignment

  • 3. Standard Application Circuit

  • 4. PCB Layout & Routing Guidelines

  • 5. Common Pitfalls / Things to Watch Out For

  • 6. Popular Alternatives & Equivalents

  • 7. Sourcing & Purchasing Guide

  • Sources