How can I wire a Raspberry Pi to an 8-relay board in a tidy professional manner?












4















I want to connect a Raspberry Pi to an 8-relay board, such as this one.
enter image description here



Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper cables, such as these.



enter image description here



However, this will result in a messy and delicate connection. For example, if one of the wires is accidentally pulled, there's the risk of reinserting it to a wrong pin. What's the professional way to connect the two boards with a cable?










share|improve this question



























    4















    I want to connect a Raspberry Pi to an 8-relay board, such as this one.
    enter image description here



    Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper cables, such as these.



    enter image description here



    However, this will result in a messy and delicate connection. For example, if one of the wires is accidentally pulled, there's the risk of reinserting it to a wrong pin. What's the professional way to connect the two boards with a cable?










    share|improve this question

























      4












      4








      4


      2






      I want to connect a Raspberry Pi to an 8-relay board, such as this one.
      enter image description here



      Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper cables, such as these.



      enter image description here



      However, this will result in a messy and delicate connection. For example, if one of the wires is accidentally pulled, there's the risk of reinserting it to a wrong pin. What's the professional way to connect the two boards with a cable?










      share|improve this question














      I want to connect a Raspberry Pi to an 8-relay board, such as this one.
      enter image description here



      Together with ground and power this amounts to ten wires. One option to connect the two is by using female to female jumper cables, such as these.



      enter image description here



      However, this will result in a messy and delicate connection. For example, if one of the wires is accidentally pulled, there's the risk of reinserting it to a wrong pin. What's the professional way to connect the two boards with a cable?







      gpio relay wiring






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 hours ago









      Diomidis SpinellisDiomidis Spinellis

      1363




      1363






















          1 Answer
          1






          active

          oldest

          votes


















          4














          The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. Ideally, you can use your cable, remove contacts from the housing, and just push them into the bigger housing.



          enter image description here






          share|improve this answer
























          • Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

            – Roger Jones
            7 hours ago











          Your Answer






          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("schematics", function () {
          StackExchange.schematics.init();
          });
          }, "cicuitlab");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "447"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f95140%2fhow-can-i-wire-a-raspberry-pi-to-an-8-relay-board-in-a-tidy-professional-manner%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. Ideally, you can use your cable, remove contacts from the housing, and just push them into the bigger housing.



          enter image description here






          share|improve this answer
























          • Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

            – Roger Jones
            7 hours ago
















          4














          The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. Ideally, you can use your cable, remove contacts from the housing, and just push them into the bigger housing.



          enter image description here






          share|improve this answer
























          • Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

            – Roger Jones
            7 hours ago














          4












          4








          4







          The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. Ideally, you can use your cable, remove contacts from the housing, and just push them into the bigger housing.



          enter image description here






          share|improve this answer













          The black housings are available for more than just one contact, as one row or two row version. The contacts are crimped to the wires , which means you either have a crimp tool or somehow solder it. Ideally, you can use your cable, remove contacts from the housing, and just push them into the bigger housing.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 9 hours ago









          swebersweber

          2413




          2413













          • Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

            – Roger Jones
            7 hours ago



















          • Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

            – Roger Jones
            7 hours ago

















          Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

          – Roger Jones
          7 hours ago





          Nice answer, might I add that you can also re-arrange the pin orders on one side to suit or omit unnecessary lines. Also heatshrink tubing is great for keeping loose bundles neat and adding a little strain relief.

          – Roger Jones
          7 hours ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Raspberry Pi Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f95140%2fhow-can-i-wire-a-raspberry-pi-to-an-8-relay-board-in-a-tidy-professional-manner%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          格利澤436b

          When can things happen in Etherscan, such as the picture below?