1
\$\begingroup\$

I'm doing experiments with various sensors and I'd like to build peripherals with three or four pin plugs. This is DC power (3 or maybe 5 volts) and either an analog signal or low-speed I2C. I'd like to be able to have up to 30cm or so of wiring on each side of a plug. I'm fine with building my own cables, but I haven't done it before and I'd like to standardize on something so I don't have to do it too often.

Any suggestions? I see that Sparkfun and Adafruit use 1mm and 2mm JST connectors on their sensor boards but they don't seem to have a way to plug two cables together; the connectors are on the boards.

Edit: the terminology seems to be "wire-to-wire connector" to distinguish from a "wire-to-board connector."

\$\endgroup\$
8

1 Answer 1

0
\$\begingroup\$

(This is a tentative answer; just talking about one possible solution.)

There are many connector types out there, but it seems that JST-SM connectors are pretty common? I see that Adafruit sells cables with 4-pin plugs: https://www.adafruit.com/product/578

Also, they seem quite common on Amazon. Annoyingly they tend to be sold in bundles with 15cm wires attached and sometimes I need a bit longer.

I guess I should buy some and see if it's worth getting a crimping tool.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.