
- ★Product Description
- ★About us
- ★Custom cable
JST XH 2.54mm 4-Pin Single-Head Pre-Crimped Cable — 22AWG, 3A/250V
Four conductors open up the full range of common interface protocols — I2C (SDA/SCL/VCC/GND), SPI (MOSI/MISO/SCK/CS), stepper motor phase pairs, and UART with hardware flow control all fit neatly into a 4-pin XH 2.54mm connector. This single-head pre-crimped cable delivers four factory-crimped XH terminals on one end, ready to click into any standard JST XH 4-pin housing, with the other end left bare for your preferred termination method.
Machine crimping ensures every contact meets a defined pull-force specification — the same standard used in automotive and industrial harness production. For builders who have experienced the frustration of intermittent connections from hand-crimped assemblies, the difference is immediately apparent: consistent insertion force, zero cold joints, and contacts that stay seated under vibration.
22AWG stranded copper wire rated at 3A/250V handles both signal and power duties across the full 4-pin XH application range. Available in 8 lengths from 10cm to 80cm and 8 wire colors for precise routing and color-coding.
Technical Specifications
- Connector System: JST XH series, 2.54mm pitch
- Pin Count: 4-pin
- Configuration: Single-head — one end crimped (XH terminals), one end bare wire
- 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
- 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
The 4-Pin XH: The Protocol Connector
The 4-pin XH 2.54mm format is the de facto standard for I2C and SPI breakout boards across the Arduino, Raspberry Pi, and ESP32 ecosystems. It's also the standard connector on most stepper motor driver modules (A4988, DRV8825, TMC2209) for the motor phase outputs, and on OLED display modules, RTC modules, and environmental sensor breakouts. If you're working with any of these platforms, you will encounter the 4-pin XH connector repeatedly.
Typical Applications
- I2C Buses: OLED displays, RTC modules, IMU sensors, environmental sensors (BME280, SHT31), EEPROM connections
- SPI Interfaces: SD card modules, display drivers, ADC/DAC breakouts, flash memory connections
- 3D Printers: Stepper motor phase wiring (X/Y/Z/E axes), BLTouch/CR Touch probe connections, filament sensor leads
- Stepper Motor Drivers: Motor phase output connections (A1/A2/B1/B2), driver module wiring
- Arduino & Microcontrollers: Multi-wire sensor modules, relay module connections, LCD interface wiring
- RC & Drones: Flight controller I2C peripherals, compass module connections, barometer leads
- Robotics: Servo bus connections, encoder quadrature leads, motor driver interfaces
- Industrial: 4-wire RTD temperature sensor leads, 4-20mA transmitter connections
Selecting the Right Length
Stepper motor connections within a 3D printer chassis typically require 30–50cm to route cleanly from the mainboard to the motor. I2C sensor leads on a compact Arduino project are usually satisfied by 10–20cm. For panel-mounted connectors or external module connections requiring routing through cable management, 50–80cm provides the flexibility needed without creating excess slack.
Compatibility
Compatible with JST XH series 4-pin housings (JST part: XHP-4) and all 2.54mm pitch PCB headers with XH-compatible locking geometry. Bare wire end accepts Dupont 2.54mm housings, screw terminals, or direct PCB soldering. Cross-compatible with third-party XH-style connectors.
Housing not included. This listing is for the pre-crimped wire only.

