How to Make Custom JST Cable at Home: Tools and Steps
JST (Japan Solderless Terminal) connectors are everywhere in electronics — RC cars, drones, Arduino projects, battery packs, LED strips, and sensor modules all use them. Pre-made JST cables are widely available, but sometimes you need a specific length, a custom number of conductors, or a particular wire gauge that is not available off the shelf. Making your own JST cables at home is a practical skill that saves money and enables complete customization.
This step-by-step tutorial covers all the popular JST series (PH, XH, ZH, SH), the tools you need, proper crimping technique, and how to assemble the housing — with specific tips for Indian makers sourcing components locally.
JST Series: PH, XH, ZH, SH, SM
JST makes many connector families. The series most commonly used by Indian hobbyists and engineers:
| Series | Pitch | Wire Range | Current Rating | Common Use |
|---|---|---|---|---|
| JST SH | 1.0mm | 32-28 AWG | 1A | Small sensors, IoT, Raspberry Pi zero |
| JST ZH | 1.5mm | 32-26 AWG | 1A | Compact electronics, tiny RC |
| JST PH | 2.0mm | 30-24 AWG | 2A | LiPo batteries, popular in RC and drones |
| JST XH | 2.5mm | 30-22 AWG | 3A | Arduino sensor connections, power |
| JST SM | 2.5mm | 28-22 AWG | 2A | LED strips (waterproof JST) |
| JST EH | 2.5mm | 32-22 AWG | 3A | PCB-to-wire, servo-like |
| JST VH | 3.96mm | 26-16 AWG | 10A | Power connectors, large actuators |
Most popular for Indian makers: JST PH 2.0mm (LiPo batteries, Adafruit/SparkFun modules) and JST XH 2.5mm (general-purpose, cheap, widely available).
Tools Required
Essential Tools
- JST Crimp Tool: A dedicated JST crimp tool (PA-09 or equivalent for small JST contacts) is the most important tool. Using pliers or generic crimpers produces unreliable crimps that fail intermittently.
- PA-09 crimping tool: works for JST SH (1.0mm) to JST XH (2.5mm) contacts
- PAD-11: alternative for slightly different contact versions
- Engineer PA-20 or PA-21: popular precise ratchet crimpers
- Wire stripper: A precision wire stripper set for 26-28 AWG thin wires. Avoid the “universal” type — it often nicks thin wires. Use the dedicated 28 AWG notch.
- Flush cutters (diagonal cutters): For cutting wire to length and trimming excess after crimping
Helpful Additional Tools
- Loupe or magnifier (10x): Inspecting crimp quality — essential for SH and ZH contacts that are very small
- Contact removal tool (pin extractor): A thin plastic or metal tool that releases the contact retention latch, allowing removal and re-insertion of contacts from the housing
- ESD mat and wrist strap: For working with sensitive electronics
- Helping hands / third hand tool: Holds the wire while you work
Components Required
JST connectors consist of three separate components:
1. Female Housing (Receptacle)
The plug that holds the female contacts. For JST PH 2-pin: PHR-2. The “R” suffix = receptacle (female). Contacts are inserted into the housing from the back.
2. Male Header (Housing for PCB or Wire)
The connector body that mates with the receptacle. For through-hole PCB mounting: B2B-PH-K (vertical) or S2B-PH-K (side entry). For wire-to-wire: PHR-2 on both sides (matched pair).
3. Contacts (Terminals)
The metal crimp contacts that fit into the housing. For JST PH: SPH-002T-P0.5L (for 30-32 AWG wire) or SPH-002T-P0.5S (for 28 AWG). The contact number specifies the wire size compatibility.
Matching Components to Series
| Series | Female Housing | PCB Header | Contact |
|---|---|---|---|
| JST PH 2-pin | PHR-2 | B2B-PH-K | SPH-002T-P0.5L |
| JST PH 3-pin | PHR-3 | B3B-PH-K | SPH-002T-P0.5L |
| JST XH 2-pin | XHP-2 | B2B-XH-A | SXH-001T-P0.6 |
| JST XH 4-pin | XHP-4 | B4B-XH-A | SXH-001T-P0.6 |
| JST SH 4-pin | SHR-04V-S | SM04B-SRSS-TB | SSH-003T-P0.2 |
Wire Selection
Wire Gauge Matching
Using the wrong wire gauge is the most common crimp failure. The contact barrel is sized for specific AWG ranges:
- JST SH contacts: 32-28 AWG only (very thin wire — approximately 0.05-0.08mm2)
- JST PH contacts: 30-24 AWG (0.05-0.2mm2)
- JST XH contacts: 28-22 AWG (0.08-0.35mm2)
Using wire that is too thick prevents proper crimping and the contact will not fully seat in the housing. Using wire too thin results in a weak mechanical connection that pulls out easily.
Wire Type
Use fine-stranded wire (silicone insulation or standard PVC) for JST connectors. Solid core wire can be used but has poor flexing life and is more likely to break at the crimp point. For LiPo battery leads and power connections, use silicon-insulated wire (rated for higher current and more flexible than standard PVC).
Wire Length
Cut wire to your required length plus 20mm extra for handling during crimping. After crimping, trim the excess if needed. For very short cables (under 50mm), cut 25mm longer for the crimping process.
Crimping Steps
Understanding the JST Contact Structure
A JST crimp contact has two sets of tabs (wings):
- Insulation crimp wings: The rear wings that grip the wire insulation for strain relief
- Wire crimp wings: The front wings that clamp onto the bare conductor for electrical connection
Step-by-Step Crimping (JST XH Example)
- Cut wire to length: Use flush cutters for a clean, perpendicular cut
- Strip 1.5-2mm of insulation: Use the 26 AWG (or appropriate) notch on your wire stripper. Strip no more than 2mm — the wire crimp wings only accommodate 1.5mm of bare conductor.
- Inspect the stripped end: Under magnification, verify no strands are nicked or broken. A clean strip is critical for a reliable crimp. Re-strip if any strands are cut.
- Select the correct crimp die: The PA-09 has multiple die positions for different contact sizes. For JST XH contacts, use the 1.0-1.5 square mm die position (middle position on most tools).
- Place contact in crimp tool: Open the tool jaws, place the contact in the die with the contact tabs (wings) facing upward/outward in the correct orientation. The contact is held by the die with wings up.
- Insert wire into contact: With the contact held in the tool, insert the stripped wire from the front of the contact until the stripped portion sits under the front wire wings and the insulation sits under the rear insulation wings.
- Verify position: The stripped conductor should extend just past the front wire wings but not beyond the electrical contact area. 1-2mm of bare wire visible is correct.
- Crimp: Squeeze the tool handles fully until the ratchet releases (if using ratchet type) or until the die closes completely. The wings fold over and clamp the wire.
- Inspect: The insulation wings should be folded over the insulation, and the wire wings should be tightly folded over the bare conductor. Under 10x magnification, all conductor strands should be captured within the wings — none sticking out.
- Pull test: Grasp the wire near the contact and pull with moderate force (approximately 500g for 28 AWG wire). The contact should not pull off the wire. If it does, the crimp is defective — discard and start over.
Housing Assembly
Inserting Contacts Into Housing
- Orient the contact correctly: the retention latch on the contact must face the housing retention slot
- Insert the contact from the OPEN end (the end where wires exit) of the housing, not the mating face
- Push firmly until you feel and hear a click — the retention latch engages a notch inside the housing channel
- Verify the contact is fully seated by gently pulling on the wire — it should not move
- Repeat for all conductors in the correct pin order
Pin Order for Common Configurations
For 2-pin JST PH (LiPo battery standard): Pin 1 = positive (red wire), Pin 2 = negative (black wire). Always verify the polarity convention for your specific module — some Adafruit/SparkFun boards use opposite polarity from Chinese modules. Using a multimeter to verify before connecting a battery is strongly recommended.
Polarity Verification
Before using your custom JST cable:
- Check the mating connector on the device or PCB for pin 1 labeling
- Use a multimeter in continuity mode to verify which pin on your cable corresponds to which wire color
- For LiPo battery cables, ALWAYS verify polarity before connecting — reverse polarity destroys the connected electronics instantly
Boards That Use JST Connectors
These development boards use JST connectors for battery and peripheral connections:
- Arduino UNO R3 — Use JST XH 2-pin for external power connections to Arduino power headers
- 18650 Battery Shield — Battery pack with JST power connectors for Arduino/ESP32 projects
- Waveshare Solar Power Manager — Solar power module with JST connectors for battery and load connections
Testing and Verification
- Continuity test: With a multimeter set to continuity mode, probe pin 1 on one end and verify it reaches pin 1 on the other end. Repeat for all pins. No shorts between adjacent pins.
- Pull test: Pull each wire gently at the contact. A good crimp holds at least 500g (28 AWG) to 2kg (22 AWG) of pull force.
- Mate and unmate test: Mate the connector to its counterpart 5-10 times. Contacts should engage smoothly with a positive click each time and release cleanly when the housing latch is pressed.
- Visual inspection under magnification: All contact wings folded symmetrically, no stray wire strands outside the crimp zone, insulation not crimped into the conductor zone.
Common Mistakes
- Over-stripping wire: More than 2mm of bare wire means strands protrude past the crimp wings and may short to adjacent contacts in the housing.
- Under-stripping wire: Less than 1.5mm means insufficient conductor in the crimp zone, giving weak electrical contact.
- Using generic crimpers: Automobile or generic crimp tools have the wrong geometry for small JST contacts. The PA-09 or equivalent is mandatory for reliable results.
- Wrong contact in die: Placing the contact face-down (wings down) in the die produces a useless crimp. Wings must face the die closing direction.
- Forcing a thick wire: Using 20 AWG wire with a JST PH contact (rated 30-24 AWG) splits the crimp wings.
- Wrong pin order: Inserting contacts in incorrect order in the housing. Check the housing pin numbering before inserting — pin 1 is usually marked with a small numeral or arrow.
Sourcing in India
Where to Buy JST Components
- Robu.in: Good selection of JST PH, XH housings and contacts. Pre-made cables and individual components both available.
- Amazon India: JST crimp connector sets (housing + contacts) available. Verify they are original JST or quality compatible (avoid very cheap no-brand kits).
- SP Road (Bengaluru), Lamington Road (Mumbai): JST compatible connectors available from wholesale shops at low prices. Quality may vary.
- Mouser India, Element14: Genuine JST connectors at higher prices but guaranteed quality.
Crimp Tool in India
- PA-09 equivalent: Search “2.54mm JST XH SH PH crimp tool” on Amazon India. Available Rs 800-2500. The higher-quality versions (Engineer PA-09 or PA-20) are worth the investment if you make cables frequently.
- Budget alternative: Cheaper crimpers from Chinese brands available at Rs 300-500 work adequately for XH and PH series but are unreliable for small SH series contacts.
Frequently Asked Questions
What is the difference between JST PH and JST XH?
JST PH has a 2.0mm pitch (center-to-center distance between pins) and is rated for 2A. JST XH has a 2.5mm pitch and is rated for 3A. PH is smaller, commonly used for LiPo battery connectors (especially in RC, Adafruit, and SparkFun products). XH is slightly larger, more common for general-purpose sensor and module connections in Arduino projects. The connectors are not interchangeable.
Can I use a regular crimper for JST contacts?
Not reliably. Standard automotive-style ratchet crimp tools have die sizes for 22-16 AWG (or larger) terminals — much larger than JST contacts. They either cannot close fully on JST contacts or over-crimp them. A dedicated PA-09 or similar precision tool designed for 26-28 AWG contacts is essential for reliable JST crimping. Poor crimps fail intermittently, which is very difficult to diagnose.
How do I remove a contact from a JST housing?
Use a contact extraction tool — a thin plastic or metal probe with a hook or wedge tip that depresses the retention latch inside the housing while you pull on the wire. Never pry with a screwdriver as it damages the housing retention features. Contact extraction tools are available for Rs 100-300 in India as part of JST connector tool kits.
Are Chinese JST-compatible connectors safe to use?
Chinese JST-compatible connectors vary widely in quality. The main risks with cheaper versions: the retention latch is weaker (contacts work loose), the contact material has higher resistance (voltage drop issue for power connections), and dimensional tolerances may cause intermittent mating. For signal connections (sensors, I2C, SPI), budget-compatible connectors are adequate. For power connections (LiPo, motor drivers), invest in quality genuine JST or well-reviewed brands from Mouser/Robu.in.
How do I make a JST extension cable?
Crimp a male contact (if your tool kit includes both male and female contact versions) on one end of the wire and a female contact on the other end. Alternatively, use a wire-to-wire approach: crimp a female housing pair on one end (normal female receptacle) and a matching male housing pair on the other end. Some JST series (like XH) are wire-to-wire compatible. Check whether the male version of your series supports wire-to-wire or is PCB-mount only.
Shop Cables and Electronic Components
Find USB cables, connectors, development boards, and everything you need for your electronics projects at Zbotic.
Add comment