{"product_id":"jst-xh-2-54mm-4-pin-cable","title":"JST XH 2.54mm 4-Pin Cable — Custom Length \u0026 Color, 22AWG Pre-Crimped","description":"\u003ch2\u003eJST XH 2.54mm 4-Pin Single-Head Pre-Crimped Cable — 22AWG, 3A\/250V\u003c\/h2\u003e\n\n\u003cp\u003eFour 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.\u003c\/p\u003e\n\n\u003cp\u003eMachine 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.\u003c\/p\u003e\n\n\u003cp\u003e22AWG 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.\u003c\/p\u003e\n\n\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConnector System:\u003c\/strong\u003e JST XH series, 2.54mm pitch\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePin Count:\u003c\/strong\u003e 4-pin\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration:\u003c\/strong\u003e Single-head — one end crimped (XH terminals), one end bare wire\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWire Gauge:\u003c\/strong\u003e 22AWG stranded copper\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCurrent Rating:\u003c\/strong\u003e 3A per contact\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVoltage Rating:\u003c\/strong\u003e 250V AC\/DC\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContact Material:\u003c\/strong\u003e Copper alloy, tin-plated\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInsulation:\u003c\/strong\u003e PVC, UL-rated\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLocking Mechanism:\u003c\/strong\u003e Positive latch lock\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAvailable Lengths:\u003c\/strong\u003e 10cm \/ 20cm \/ 30cm \/ 40cm \/ 50cm \/ 60cm \/ 70cm \/ 80cm\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAvailable Colors:\u003c\/strong\u003e Red, Black, White, Yellow, Blue, Green, Orange, Purple\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePitch:\u003c\/strong\u003e 2.54mm (0.1 inch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoHS Compliant:\u003c\/strong\u003e Yes\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eThe 4-Pin XH: The Protocol Connector\u003c\/h3\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI2C Buses:\u003c\/strong\u003e OLED displays, RTC modules, IMU sensors, environmental sensors (BME280, SHT31), EEPROM connections\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSPI Interfaces:\u003c\/strong\u003e SD card modules, display drivers, ADC\/DAC breakouts, flash memory connections\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3D Printers:\u003c\/strong\u003e Stepper motor phase wiring (X\/Y\/Z\/E axes), BLTouch\/CR Touch probe connections, filament sensor leads\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStepper Motor Drivers:\u003c\/strong\u003e Motor phase output connections (A1\/A2\/B1\/B2), driver module wiring\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino \u0026amp; Microcontrollers:\u003c\/strong\u003e Multi-wire sensor modules, relay module connections, LCD interface wiring\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRC \u0026amp; Drones:\u003c\/strong\u003e Flight controller I2C peripherals, compass module connections, barometer leads\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRobotics:\u003c\/strong\u003e Servo bus connections, encoder quadrature leads, motor driver interfaces\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIndustrial:\u003c\/strong\u003e 4-wire RTD temperature sensor leads, 4-20mA transmitter connections\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSelecting the Right Length\u003c\/h3\u003e\n\u003cp\u003eStepper 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.\u003c\/p\u003e\n\n\u003ch3\u003eCompatibility\u003c\/h3\u003e\n\u003cp\u003eCompatible 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.\u003c\/p\u003e\n\n\u003cp\u003e\u003cem\u003eHousing not included. This listing is for the pre-crimped wire only.\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"4Pin Single Sided \/ 10CM","offer_id":45727405474027,"sku":null,"price":2.23,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 20CM","offer_id":45727405506795,"sku":null,"price":2.96,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 30CM","offer_id":45727405539563,"sku":null,"price":3.66,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 40CM","offer_id":45727405572331,"sku":null,"price":4.52,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 50CM","offer_id":45727405605099,"sku":null,"price":5.09,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 80CM","offer_id":45727405637867,"sku":null,"price":6.81,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 100CM","offer_id":45727405670635,"sku":null,"price":9.43,"currency_code":"USD","in_stock":true},{"title":"4Pin Single Sided \/ 200CM","offer_id":45727405703403,"sku":null,"price":18.69,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/JST_XH_2.54mm_4-Pin_Cable.jpg?v=1723617461","url":"https:\/\/keszooxstore.com\/products\/jst-xh-2-54mm-4-pin-cable","provider":"Keszoox","version":"1.0","type":"link"}