How can I wire a Raspberry Pi to an 8-relay board in a tidy professional manner?How to add isolation between raspberry pi and relay board?Power on 5V GPIO power pin at bootCan I wire a relay AND a breadboard?Motion Sensor Doesn't Work using Pins #2 and #3?Issues with Sunfounder relay boardWiring and soldering a prototype board for a Pi ZeroPowering a raspberry pi from another raspberry pi through gpio over a relatively long distanceGPIO relay signal cross turns to all relays staying on after Darlington addedOpen/Close Sliding Gate Using Raspberry Pi and Python4 relay board weird behavior

NASA's RS-25 Engines shut down time

Is it possible to avoid unpacking when merging Association?

Does a warlock using the Darkness/Devil's Sight combo still have advantage on ranged attacks against a target outside the Darkness?

Are tamper resistant receptacles really safer?

How to write ı (i without dot) character in pgf-pie

Shifting between bemols (flats) and diesis (sharps)in the key signature

What's the "normal" opposite of flautando?

Accountant/ lawyer will not return my call

Is it "Vierergruppe" or "Viergruppe", or is there a distinction?

meaning and function of 幸 in "则幸分我一杯羹"

Definition of Statistic

When traveling to Europe from North America, do I need to purchase a different power strip?

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

PTIJ: Should I kill my computer after installing software?

How to secure an aircraft at a transient parking space?

Bash script should only kill those instances of another script's that it has launched

Why the color red for the Republican Party

Good for you! in Russian

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

Do f-stop and exposure time perfectly cancel?

How do I express some one as a black person?

What problems would a superhuman have whose skin is constantly hot?

They call me Inspector Morse

Examples of a statistic that is not independent of sample's distribution?



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


How to add isolation between raspberry pi and relay board?Power on 5V GPIO power pin at bootCan I wire a relay AND a breadboard?Motion Sensor Doesn't Work using Pins #2 and #3?Issues with Sunfounder relay boardWiring and soldering a prototype board for a Pi ZeroPowering a raspberry pi from another raspberry pi through gpio over a relatively long distanceGPIO relay signal cross turns to all relays staying on after Darlington addedOpen/Close Sliding Gate Using Raspberry Pi and Python4 relay board weird behavior













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






















  • What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

    – crasic
    21 hours ago
















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






















  • What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

    – crasic
    21 hours ago














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 2 days ago









Diomidis SpinellisDiomidis Spinellis

1385




1385












  • What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

    – crasic
    21 hours ago


















  • What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

    – crasic
    21 hours ago

















What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

– crasic
21 hours ago






What distances? Small enclosure or control cabinet? For control cabinets I prefer screw terminals or ideally ferule terminal blocks for small enclosures properly terminated cables are good as per accepted answer

– crasic
21 hours ago











1 Answer
1






active

oldest

votes


















6














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



Edit (by Milliways) To add to the answer I have a selection of housings I purchased on eBay. I use these with a crimping tool (their original purpose) or on existing jumper cables.
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
    2 days ago











  • This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

    – Diomidis Spinellis
    yesterday






  • 1





    @DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

    – Roger Jones
    yesterday










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









6














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



Edit (by Milliways) To add to the answer I have a selection of housings I purchased on eBay. I use these with a crimping tool (their original purpose) or on existing jumper cables.
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
    2 days ago











  • This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

    – Diomidis Spinellis
    yesterday






  • 1





    @DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

    – Roger Jones
    yesterday















6














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



Edit (by Milliways) To add to the answer I have a selection of housings I purchased on eBay. I use these with a crimping tool (their original purpose) or on existing jumper cables.
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
    2 days ago











  • This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

    – Diomidis Spinellis
    yesterday






  • 1





    @DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

    – Roger Jones
    yesterday













6












6








6







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



Edit (by Milliways) To add to the answer I have a selection of housings I purchased on eBay. I use these with a crimping tool (their original purpose) or on existing jumper cables.
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



Edit (by Milliways) To add to the answer I have a selection of housings I purchased on eBay. I use these with a crimping tool (their original purpose) or on existing jumper cables.
enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday









Milliways

29.8k1355116




29.8k1355116










answered 2 days ago









swebersweber

2763




2763












  • 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
    2 days ago











  • This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

    – Diomidis Spinellis
    yesterday






  • 1





    @DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

    – Roger Jones
    yesterday

















  • 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
    2 days ago











  • This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

    – Diomidis Spinellis
    yesterday






  • 1





    @DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

    – Roger Jones
    yesterday
















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
2 days 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
2 days ago













This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

– Diomidis Spinellis
yesterday





This looks like a perfect solution, thanks! @RogerJones heatshrink tubing is another nice touch. Would you apply it end-to-end, near each connectors, or somehow else?

– Diomidis Spinellis
yesterday




1




1





@DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

– Roger Jones
yesterday





@DiomidisSpinellis depends on the length and how often the loom is going to be moved. For short runs, say < 10cm, I'd shrink the whole lot. For longer runs I'd shrink the connectors plusabout 2cm of cable on each end and then have short bits of heatshink every 5cm or so along the length. If the "bundle" hasn't been split up into individual strands then you'd not need so much along the length.

– Roger Jones
yesterday

















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

Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer