How to Identify Small JST-Style Connectors and Choose the Right Cable
Share
You have a loose white plug with four contacts. The distance from the first contact to the last is about 3 mm. One seller calls a similar plug “PH1.0” and another calls it “SH1.0.” Which cable fits?
That measurement gives you one answer already. Four contacts span three gaps, so the pitch is about 1 mm. JST’s SH family is a candidate. To identify a replacement, turn the plug over, look at the guide rails and find out what each contact on the board does. A sensor cable and a battery lead can look remarkably similar on a workbench.
Start with the face of the plug
JST is a manufacturer. SH, PH and XH are connector families. A complete cable assembly also has a pin count, a wire size and a termination at each end. Here are three Wehitek housing examples, enlarged independently so you can inspect their shapes.
| Family or label | Pitch | Where you might see it | What to check |
|---|---|---|---|
| JST SH | 1.00 mm | Four-wire Qwiic sensor cables | Both ends must map power, ground, SDA and SCL correctly. |
| “PH1.0” | Verify | Seller listings for miniature leads | Request the mating part number or a drawing. The label alone leaves the family unclear. |
| JST GH | 1.25 mm | Flight-controller peripheral ports | Look for the locking latch and confirm the port pinout. |
| Molex PicoBlade | 1.25 mm | Compact internal board harnesses | Compare the housing profile with the mating header. GH has the same pitch. |
| JST ZH | 1.50 mm | Small devices with limited board space | Measure across several contacts to distinguish nearby pitches. |
| JST PH | 2.00 mm | Two-wire battery leads on some 1S micro models | Confirm polarity, wire gauge and current rating for the load. |
| JST XH | 2.50 mm | LiPo balance leads, including five-position leads on 4S packs | Match the cell count and the order of the balance taps. |
| Wehitek XH-style | 2.54 mm label | Internal board wiring and project harnesses | Check the actual socket and housing dimensions before choosing a cable. |
SH and PH. JST specifies 1.00 mm pitch for SH and 2.00 mm for PH. Treat “PH1.0” as an ambiguous listing. Ask for the housing drawing or mating part number if the photos and dimensions leave two possibilities. JST SH specifications · JST PH specifications
XH and “XH2.54.” JST specifies 2.50 mm for XH. Wehitek’s XH-style cable carries a 2.54 mm designation. Across a four-position housing, the difference between those two nominal pitches adds up to just 0.12 mm. A casual ruler measurement cannot settle that fit question. Check the equipment’s socket or mating drawing before ordering. JST XH specifications
Measure across several contacts
Disconnect the loose cable from both ends. Face the row of contacts squarely and measure between the centers of the first and last positions. A magnified photo with a millimeter scale in the same plane can make small contacts easier to read. Divide the span by the number of gaps. The A and B dimensions on the housing photos above measure the plastic body and serve a different purpose.

Four wires to a sensor: SH on a Qwiic board
In SparkFun’s weather-sensor setup, a Raspberry Pi connects to a Qwiic pHAT on its GPIO header. A four-conductor Qwiic cable runs from the pHAT to a BME280 breakout. Two conductors supply 3.3 V and ground. The other two carry I²C data (SDA) and clock (SCL), allowing the Pi to read temperature, humidity and barometric pressure through one small plug. SparkFun hookup guide

In the video, look for the small Qwiic socket on the breakout and the separate row of holes for a pin header. These give you two ways to connect the same board.
Watch SparkFun’s BME280 product showcase on YouTube
For a custom sensor harness, choose the termination as well as the housing. A single-ended lead with tinned wires suits a soldered connection at the far end. A board-to-board cable needs matching plugs at both ends and the correct contact mapping. The Wehitek SH range offers both arrangements. For Qwiic use, verify all four signal assignments against the boards. Wehitek SH 1.0 mm cable options
Two wires to a battery: what a PH2.0 test tells us
On a small battery-powered model, the current drawn by the motor passes through the power connector. Resistance in this path causes a voltage drop that grows with current. A model can therefore show a healthy voltage at rest and a lower voltage under load.
In a 2023 bench comparison, Oscar Liang fitted five different connectors to the same 2S 300 mAh LiHV battery. He discharged it at 12 A to a 6 V cutoff for each test. The solid-pin PH2.0 sample showed more voltage sag than the BT2.0, A30, GNB27 and XT30 samples. His analyzer required a 2S pack, a detail worth remembering when applying the result to a 1S micro model. The 12 A figure describes the experiment; for a particular harness, consult its component and wire ratings. Oscar Liang’s method and discharge curves

Five wires on a four-cell pack: what the balance lead measures
Tattu’s 2300 mAh 4S pack lists an XT60 main power plug and a JST-XHR-5P balance connector. Four cells in series have five electrical junctions if you count both ends. The main lead connects across the whole pack. The balance lead brings out all five junctions so the charger can measure each cell between two neighboring taps. Tattu pack and connector specifications

The five-position housing is only one part of a balance lead’s specification. A general-purpose five-wire assembly can have a different housing or pin order. If you are matching an internal board connector for your own project, compare the actual socket with the dimensions in the Wehitek XH-style cable listing.
What else might be on your bench?
- GH 1.25 mm and Molex PicoBlade 1.25 mm
- Both appear on compact electronics. Pitch alone leaves both families in the running. Check the housing profile, latch and mating part number, particularly on flight-controller peripherals.
- ZH 1.5 mm
- A compact wire-to-board family you may encounter inside small devices. Its 1.5 mm pitch sits between SH and PH. See the Wehitek ZH cable housing.
- RC servo leads and 2.54 mm jumper wires
- A typical three-wire servo lead carries power, ground and a control signal. A jumper lead connects individual header pins on a prototype. Check the receiver’s signal and power markings before plugging in a servo.
- BT2.0, XT30 and XT60
- These are battery power connectors. BT2.0 is common on tiny 1S models. XT30 and XT60 appear on larger power leads. Select for the device, expected load and cable size.
Before you plug it in, map both ends
A cable can have identical housings at each end while connecting different contact positions. Even “same-facing” and “opposite-facing” describe how the plugs look when laid flat. The equipment manual tells you which signal must arrive at each pin.


- Disconnect both ends of the loose harness from all equipment and batteries. Photograph both mating faces with their guide features visible. Label the ends A and B.
- Set a multimeter to continuity. Touch its probes together to check the indication. Use a fine probe or a mating breakout that fits without spreading the contacts.
- Hold one probe at the first position on end A. Test the positions on B in turn and record which one gives continuity. Repeat for the other conductors. For a straight-through four-wire harness, the map should match the intended four connections once both views are oriented correctly.
- Compare the map with the device pinouts, including supply voltage and polarity. Wire colors can vary between assemblies.
What to write down before ordering: connector family and pitch, pin count, mating housing, termination at each end, pin-to-pin map and cable length. For power leads, add wire gauge and current rating. Those details turn “a four-pin white cable” into a replacement you can actually identify.


