Skip to product information
1 of 6

Keszoox

JST XH 2.54mm 4-Pin Cable Connector Both Sided — Same Side & Reverse, Custom Length

JST XH 2.54mm 4-Pin Cable Connector Both Sided Same Side & Reverse, Custom Length

Regular price $7.80 USD
Regular price $10.50 USD Sale price $7.80 USD
Save 25% Sold out
Taxes included. Shipping calculated at checkout.
Direction
Length

JST XH 2.54mm 4-Pin Both-Sided Connector Cable — Same Side & Reverse Polarity, 22AWG

The 4-pin JST XH 2.54mm both-sided cable is the workhorse extension cable for I2C buses, SPI interfaces, stepper motor connections, and any 4-wire interface that needs to be extended, routed, or adapted between two PCBs. Both ends arrive factory-crimped and ready to insert into XH housings — no additional assembly required. Available in Same Side (straight-through, pin 1 to pin 1) and Reverse Side (mirrored, pin 1 to pin 4) configurations to match the connector orientation required by your specific application.

The 4-pin format is particularly critical in I2C applications, where pin order (SDA/SCL/VCC/GND) must be preserved exactly. A reversed cable on an I2C bus will either fail to communicate or, in the worst case, apply power to a signal line and damage the connected device. Ordering the correct polarity configuration eliminates this risk entirely.

Eight contacts (four per end) are machine-crimped to a defined pull-force specification, inspected, and shipped ready to use. The positive latch lock on both ends ensures the cable stays seated under vibration and repeated handling.

Technical Specifications

  • Connector System: JST XH series, 2.54mm pitch
  • Pin Count: 4-pin
  • Configuration: Both-sided — XH terminals on both ends
  • Polarity Options: Same Side (1-to-1 straight) / Reverse Side (1-to-4 mirrored)
  • Wire Gauge: 22AWG stranded copper
  • Current Rating: 3A per contact
  • Voltage Rating: 250V AC/DC
  • Contact Material: Copper alloy, tin-plated
  • Insulation: PVC, UL-rated
  • Locking Mechanism: Positive latch lock on both ends
  • Available Lengths: 10cm / 20cm / 30cm / 40cm / 50cm / 60cm / 70cm / 80cm
  • Available Colors: Red, Black, White, Yellow, Blue, Green, Orange, Purple
  • Pitch: 2.54mm (0.1 inch)
  • RoHS Compliant: Yes

Same Side vs. Reverse Side — Which Do You Need?

Same Side (Straight-Through): Pin 1 connects to pin 1 at both ends. Use for I2C bus extensions, SPI extensions, stepper motor cable extensions, and any application where both connectors face the same direction with identical pinouts.

Reverse Side (Mirrored): Pin 1 connects to pin 4 (and pin 2 to pin 3). Use when connectors face opposite directions, or when the PCB layout requires a mirrored pinout at one end. Common in 3D printer stepper motor extensions and display module connections where the connector orientation is flipped relative to the PCB.

Typical Applications

  • I2C Bus Extensions: OLED display extensions, RTC module connections, IMU sensor extensions, environmental sensor leads (SDA/SCL/VCC/GND)
  • SPI Interface Extensions: SD card module extensions, display driver connections, ADC/DAC module leads
  • 3D Printers: Stepper motor extension cables (X/Y/Z/E axes), BLTouch/CR Touch probe extensions, filament sensor extensions
  • Arduino & Microcontrollers: Multi-wire sensor module extensions, shield-to-module connections, breakout board leads
  • RC & Drones: Flight controller I2C peripheral extensions, compass module leads, barometer connections
  • Robotics: Encoder quadrature lead extensions, motor driver interface cables, servo bus extensions
  • Industrial: 4-wire RTD sensor extensions, multi-channel analog input leads, PLC I/O extensions

Compatibility

Both ends are compatible with JST XH series 4-pin housings (JST part: XHP-4) and all 2.54mm pitch PCB headers with XH-compatible locking geometry. Cross-compatible with third-party XH-style connectors.

Housings not included. This listing is for the pre-crimped cable only. Select your required polarity (Same Side or Reverse Side) and length from the variant options above.

visa
View full details
  • ★Product Description
  • ★About us
  • ★Custom cable

JST XH 2.54mm 4-Pin Both-Sided Connector Cable — Same Side & Reverse Polarity, 22AWG

The 4-pin JST XH 2.54mm both-sided cable is the workhorse extension cable for I2C buses, SPI interfaces, stepper motor connections, and any 4-wire interface that needs to be extended, routed, or adapted between two PCBs. Both ends arrive factory-crimped and ready to insert into XH housings — no additional assembly required. Available in Same Side (straight-through, pin 1 to pin 1) and Reverse Side (mirrored, pin 1 to pin 4) configurations to match the connector orientation required by your specific application.

The 4-pin format is particularly critical in I2C applications, where pin order (SDA/SCL/VCC/GND) must be preserved exactly. A reversed cable on an I2C bus will either fail to communicate or, in the worst case, apply power to a signal line and damage the connected device. Ordering the correct polarity configuration eliminates this risk entirely.

Eight contacts (four per end) are machine-crimped to a defined pull-force specification, inspected, and shipped ready to use. The positive latch lock on both ends ensures the cable stays seated under vibration and repeated handling.

Technical Specifications

  • Connector System: JST XH series, 2.54mm pitch
  • Pin Count: 4-pin
  • Configuration: Both-sided — XH terminals on both ends
  • Polarity Options: Same Side (1-to-1 straight) / Reverse Side (1-to-4 mirrored)
  • Wire Gauge: 22AWG stranded copper
  • Current Rating: 3A per contact
  • Voltage Rating: 250V AC/DC
  • Contact Material: Copper alloy, tin-plated
  • Insulation: PVC, UL-rated
  • Locking Mechanism: Positive latch lock on both ends
  • Available Lengths: 10cm / 20cm / 30cm / 40cm / 50cm / 60cm / 70cm / 80cm
  • Available Colors: Red, Black, White, Yellow, Blue, Green, Orange, Purple
  • Pitch: 2.54mm (0.1 inch)
  • RoHS Compliant: Yes

Same Side vs. Reverse Side — Which Do You Need?

Same Side (Straight-Through): Pin 1 connects to pin 1 at both ends. Use for I2C bus extensions, SPI extensions, stepper motor cable extensions, and any application where both connectors face the same direction with identical pinouts.

Reverse Side (Mirrored): Pin 1 connects to pin 4 (and pin 2 to pin 3). Use when connectors face opposite directions, or when the PCB layout requires a mirrored pinout at one end. Common in 3D printer stepper motor extensions and display module connections where the connector orientation is flipped relative to the PCB.

Typical Applications

  • I2C Bus Extensions: OLED display extensions, RTC module connections, IMU sensor extensions, environmental sensor leads (SDA/SCL/VCC/GND)
  • SPI Interface Extensions: SD card module extensions, display driver connections, ADC/DAC module leads
  • 3D Printers: Stepper motor extension cables (X/Y/Z/E axes), BLTouch/CR Touch probe extensions, filament sensor extensions
  • Arduino & Microcontrollers: Multi-wire sensor module extensions, shield-to-module connections, breakout board leads
  • RC & Drones: Flight controller I2C peripheral extensions, compass module leads, barometer connections
  • Robotics: Encoder quadrature lead extensions, motor driver interface cables, servo bus extensions
  • Industrial: 4-wire RTD sensor extensions, multi-channel analog input leads, PLC I/O extensions

Compatibility

Both ends are compatible with JST XH series 4-pin housings (JST part: XHP-4) and all 2.54mm pitch PCB headers with XH-compatible locking geometry. Cross-compatible with third-party XH-style connectors.

Housings not included. This listing is for the pre-crimped cable only. Select your required polarity (Same Side or Reverse Side) and length from the variant options above.

1 of 3