In-stock items handed to the courier within 24-48 hours · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark guided builds
  • Electrolark lessons
  • Electrolark circuit tools
  • Electrolark part library
  • Project ideas on Electrolark

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy

© 2026 Geekobot. All rights reserved.

+91 91810 15606 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

Product directory · Sitemap

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,946 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,347 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,400 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV2,960 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,319 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,322 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers598 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries921 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors660 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive470 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs576 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays1,201 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables2,653 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping122 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test794 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics195 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits336 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts296 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio145 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Prototyping & Wiring
  4. ›JST and Compatible Board-to-Wire Connectors

Buying guide · Intermediate · 3 min read

JST and Compatible Board-to-Wire Connectors

XH, PH, ZH, SH, 1.25 mm and 2.54 mm Pitch Headers, Housings and Pre-Wired Leads

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerIdentify the pitch firstHeader, housing and contactsPolarity and wiringWhere to use whichCommon mistakesFAQsParts and next steps
Short answer

A board-to-wire connector set has three parts: a header (wafer) soldered to the board, a housing that plugs into it, and crimp contacts on the wires. The key choice is the pitch, the spacing between pins: 2.5 mm (XH), 2 mm (PH), 1.5 mm (ZH), 1.25 mm or 1 mm (SH). Pitch, pin count and series must match on both sides.

Key specs at a glance

JST series
XH 2.5 mm, PH 2.0 mm, PA and PHD 2 mm, XA, ZH 1.5 mm, SH 1.0 mm
Compatible makers
CJT, DLL, XUNPU, HANBO in 1.0, 1.25, 1.5, 2.0, 2.5 and 2.54 mm pitch
Parts
Wafer headers, female housings with 300 mm wires, crimp contacts
Pin counts
2 to 24 pins, single and double row
01

Identify the pitch first

Pitch is the centre-to-centre distance of the pins, and connectors of different pitch do not fit each other. Measure a known connector with a ruler over several pins, or read the series code: XH is 2.5 mm, PH is 2.0 mm, ZH is 1.5 mm, SH is 1.0 mm, and a 1.25 mm series is also common for small devices. Choose the pitch for the space and the current; smaller pitch means a smaller connector, thinner wire and lower current.

SeriesPitchTypical use
XH2.5 mmLiPo balance leads, fans, general wiring
PH2.0 mmSmall LiPo cells, sensors, dev board batteries
ZH1.5 mmCompact modules and small boards
1.25 mm1.25 mmSmall robots, drones, cameras
SH1.0 mmVery small boards, Qwiic-style cables
XH
Pitch:
2.5 mm
Typical use:
LiPo balance leads, fans, general wiring
PH
Pitch:
2.0 mm
Typical use:
Small LiPo cells, sensors, dev board batteries
ZH
Pitch:
1.5 mm
Typical use:
Compact modules and small boards
1.25 mm
Pitch:
1.25 mm
Typical use:
Small robots, drones, cameras
SH
Pitch:
1.0 mm
Typical use:
Very small boards, Qwiic-style cables
02

Header, housing and contacts

The board side is the header (wafer), straight or right angle. The cable side is a housing with a crimp contact in each cavity. You can buy a pre-wired housing (a female housing with 300 mm wires) to skip crimping, or buy loose housings and contacts and crimp them yourself with the right crimp tool. A kit of matched pieces from one maker is safest; compatible makers fit the same series, but check the drawing.

03

Polarity and wiring

The housings are usually keyed so they only plug in one way, but the pin order is not standard between devices. For a battery connector, check the red and black wires against your board with a multimeter before connecting, because a reversed JST can destroy a module. Use wire thick enough for the current: thin 28 to 26 AWG leads are fine for signals and about an amp, but not for high power.

04

Where to use which

Use XH for balance leads and general internal wiring, PH for small LiPo cells and dev boards, ZH and 1.25 mm for compact devices, and SH where space is tight. See connectors and jumper wires and Dupont for the 2.54 mm family.

05

Common mistakes to avoid

  • !Mixing pitches or series.
  • !Assuming battery polarity is standard.
  • !Using thin leads for high current.
  • !Crimping with the wrong tool.
  • !Ordering a header without checking straight or right-angle.
06

Frequently asked questions

What does pitch mean?

The distance between pin centres. Connectors only mate when the pitch and series match.

Which JST for a LiPo battery?

Many small cells use PH 2.0 mm, balance leads use XH 2.5 mm, but check the board and cell.

Do I need a crimp tool?

Yes for loose housings and contacts. Pre-wired housings avoid this.

Are compatible parts the same as JST?

They are made to the same dimensions, but check the drawing and test fit.

Is the polarity standard?

No. Always check with a multimeter before connecting a battery.

Parts for this guide

  • DLL DL12501-MH1.25-2Y Female Housing with Wires, 2-Pin, 1.25 mm Pitch, 300mm Wires
    ₹18View
  • CJT A1002H-4P-2 Female Housing with Wires, 4-Pin, 1 mm Pitch, 300mm Wires
    ₹23View
  • CJT A2505H-2P Female Housing with Wires, 2-Pin, 2.5 mm Pitch, 300mm Wires
    ₹6View
  • JST B04B-PARK-1(LF)(SN) Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 2 mm Pitch
    ₹12View
  • JST B5B-XH-2(LF)(SN) Wire-to-Board Header (Wafer), 1 x 5 (5-Pin), 2.5 mm Pitch
    ₹19View
  • JST B04B-XASK-1-A(LF)(SN) Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 2.5 mm Pitch
    ₹14View
  • HANBO WAFER-ZH150Z-4A Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 1.5 mm Pitch
    ₹1View
  • XUNPU WAFER-MX1.25-3PWZ-H62 Wire-to-Board Header (Wafer), 1 x 3 (3-Pin), 1.25 mm Pitch
    ₹1View
  • CJT A2543WRA-4P-WH Wire-to-Board Header (Wafer), 4-Pin, 2.54 mm Pitch
    ₹13View

🎓 Keep learning on Electrolark

  • Learn the topicFree lessons with simulators and quizzes

Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 3 hoursSolder a fused 12 V to 5 V power board on stripboardView project
Browse all 1 project

Keep learning

ComparisonBeginnerElectronics ConnectorsIdentify connectors: JST XH, PH, SH and GH by pitch, Dupont headers, XT30, XT60 and XT90 plugs, screw terminals and barrel jacks, with current ratings.3 min read · Prototyping & WiringComponent guideBeginnerJumper Wires and Dupont ConnectorsJumper wires are short leads with pins or sockets that plug into breadboards and 2.54 mm headers.3 min read · Prototyping & WiringBuying guideBeginnerWire Gauge GuideWire gauge sets how much current a wire can carry safely: the lower the AWG number, the thicker the wire.3 min read · Prototyping & Wiring

Sources

  • JST connector catalogue sheets
  • CJT, DLL, XUNPU and HANBO connector drawings

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerIdentify the pitch firstHeader, housing and contactsPolarity and wiringWhere to use whichCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹94

DLL DL12501-MH1.25-2Y Female Housing with Wires, 2-Pin, 1.25 mm Pitch, 300mm Wires · CJT A1002H-4P-2 Female Housing with Wires, 4-Pin, 1 mm Pitch, 300mm Wires · CJT A2505H-2P Female Housing with Wires, 2-Pin, 2.5 mm Pitch, 300mm Wires · JST B04B-PARK-1(LF)(SN) Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 2 mm Pitch · JST B5B-XH-2(LF)(SN) Wire-to-Board Header (Wafer), 1 x 5 (5-Pin), 2.5 mm Pitch · JST B04B-XASK-1-A(LF)(SN) Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 2.5 mm Pitch · HANBO WAFER-ZH150Z-4A Wire-to-Board Header (Wafer), 1 x 4 (4-Pin), 1.5 mm Pitch · XUNPU WAFER-MX1.25-3PWZ-H62 Wire-to-Board Header (Wafer), 1 x 3 (3-Pin), 1.25 mm Pitch

Ask the Community

Ask a question