I’m looking for some basic headers for some two pin moment switches.
The idea is to just buy a heap of 2 pin sockets that I can solder directly to a board and use some easy to source plug tails to connect my switches.
I thought JST made a heap of those little white ones. And I see the JST-XH series…
JST-XH connectors are typically listed with a pitch of 2.54mm. This pitch is often referred to as “standard” or “grid” pitch and is common in many types of electronic components, as it corresponds to 1/10 of an inch. This is also the pitch used in breadboards and perfboards, making these components easy to work with in prototyping.
The confusion between 2.54mm and 2.5mm likely arises from rounding, as 2.54mm converted to inches is exactly 0.1", but when converting back to millimeters, some may round to 2.5mm for simplicity. However, in practical use and in technical specifications, 2.54mm is the correct pitch for these connectors.
I think @Cheese71011 is correct with this, the Pitch standard is 2.54mm but often people like to round numbers for whatever reason. JST-XH is a 2.54mm pitch connector, though in future if there is any confusion with the connector types you are looking for, we have a handy little guide for connectors that can be used for reference.
Seems a bit odd, the standard pin pitch for most electronic connectors, perfboards and breadboards are 2.54mm specifically. Regardless, anything under an 8 pin connector shouldn’t really cause too much concern for fitment as there is enough play in most perfboards for that difference.
That link to the connectors page you sent sheds some more light on the subject! Thanks!!
Note here the * in reference to the XH-JST Connectors, some manufacturers will use 2.54 and 2.5mm pitch interchangeably with connectors with less than 4 pins. Know however the JST standard is to always use the metric system.
So there you go… Officially metric (2.5mm) but some mfgrs just fudge it for <4 pins!
Hi All
I think if you look into this far enough both are listed as “standard” and both are used. And it does not end there. Goes all the way down to 1mm or less. But although you can use whatever you like as a “standard” all the PCB design programs I have come across still use a 2.54 (0.1") or multiples/submultiples of for a grid pattern for their layout so for pin headers etc I would stick with 2.54. Easier all round.
Cheers Bob
As for
This would not get past any decent QA.
2 Likes
And you can get our latest projects and tips straight away by following us on: