1
\$\begingroup\$

How would one go about connecting an LED or a sensor to a printed circuit board? You could use a male header pin and a dupont cable, but that seems like it would easily be able to slip out. Is there any standard solution to this problem? Soldering is out of the question because anyone should be able to connect the wire without having to have any special skill.

\$\endgroup\$
  • 1
    \$\begingroup\$ FWIW, the answer is: "Use connectors. Thumb through the connectors section in your favorite fat catalog. See what you like". At the same time, your question is not clear (at least for me). You didn't write what your box is doing, what environment it will operate in, what are the signals that you want to connect. No schematic or block diagram for the system. \$\endgroup\$ – Nick Alexeev Oct 3 '13 at 21:06
  • \$\begingroup\$ Field-installable equipment usually uses screw terminals, in which the wire is clamped in a mechanism that is opened/closed with a screwdriver. \$\endgroup\$ – Dave Tweed Oct 3 '13 at 23:04
2
\$\begingroup\$

Well, you could buy an LED like this with wires attached, and attach a lockable connector to the wires for the end user to connect.

Or you could use a board mounted LED and then use a light pipe to get the light out of the case.

| improve this answer | |
\$\endgroup\$
0
\$\begingroup\$

There are lots of existing solutions. A latching connector for instance.

If you're trying to keep it really cheap you can just add two mounting holes near the cable attachment, this way you can zip-tie the cable to the board.

| improve this answer | |
\$\endgroup\$
0
\$\begingroup\$

Unless the device is subjected to excessive amounts of shock, dupont cable on a 5.88mm male header pin is very reliable. If even higher reliability is required, adding more connections than strictly required will increase the extraction force proportionally. Note that the cable should be secured against either the board or the chassis in order to prevent any slack from swinging around regardless.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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