0
\$\begingroup\$

I am working on a hobby project which will have a eTape Liquid Level sensor connected to an Arduino controller. Since it is highly inconvenient to attach the sensor directly to the board, I'm trying to find the best way to connect it via an extension wire. So far, I've been considering the 4-pin JST SM Receptacle Cable. The sensor comes with a small connector connector. What would be the best (i.e. clean and safe) way to attach this connector to the wire and have all wires isolated?

Alternatively, is there a better way to indirectly attach such sensors to a board?

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

Just go ahead and wire it to the small connector. The pin spacing is wide enough you shouldn't have any issues with bridging or shorts. Pre-tin the wire and the connector, and add on each one. You could strip each wire a bit longer and twist it around the connector pin if you feel it is not strong enough.

A small piece of heat shrink is all you need to cover up the small connector afterwards. If you are really worried about shorts, you can add heatshrink to each individual wire before soldering it on, then still add the bigger heatshrink afterwards.

An alternative way to attach it would be by using a small piece of protoboard. Solder the connector to the board, then use wires from the protoboard to the main board.

\$\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.