Can I use USB data pins as a power source?USB cable as +5v vcc sourceWhere I can find an USB dongle to connect two devices with external power?Switching between power supplies - USB dominanthow to connect usb power only to variable power supplyCan I charge a 12v toy with USB?What is the maximum length i can choose for a USB cable made up of CAT6 shielded cable?“Dumb” power from USBUse mobile to power external LED(bulb) via a Micro USB port?USB data transfer with a separate power sourceHow to have USB act as a programmable power source?

What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?

Practical application of matrices and determinants

How could an airship be repaired midflight?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

Relation between independence and correlation of uniform random variables

Am I eligible for the Eurail Youth pass? I am 27.5 years old

Fewest number of steps to reach 200 using special calculator

Comment Box for Substitution Method of Integrals

Using Past-Perfect interchangeably with the Past Continuous

Is there a creature that is resistant or immune to non-magical damage other than bludgeoning, slashing, and piercing?

How to define limit operations in general topological spaces? Are nets able to do this?

Is there a term for accumulated dirt on the outside of your hands and feet?

Light propagating through a sound wave

Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?

Pronounciation of the combination "st" in spanish accents

Print a physical multiplication table

Turning a hard to access nut?

What is the term when voters “dishonestly” choose something that they do not want to choose?

Existence of a celestial body big enough for early civilization to be thought of as a second moon

Asserting that Atheism and Theism are both faith based positions

Can other pieces capture a threatening piece and prevent a checkmate?

What are substitutions for coconut in curry?

Is it possible to stack the damage done by the Absorb Elements spell?

gerund and noun applications



Can I use USB data pins as a power source?


USB cable as +5v vcc sourceWhere I can find an USB dongle to connect two devices with external power?Switching between power supplies - USB dominanthow to connect usb power only to variable power supplyCan I charge a 12v toy with USB?What is the maximum length i can choose for a USB cable made up of CAT6 shielded cable?“Dumb” power from USBUse mobile to power external LED(bulb) via a Micro USB port?USB data transfer with a separate power sourceHow to have USB act as a programmable power source?













5












$begingroup$


I'm trying to build a circuit as seen below, where a sequencer controls the flashing of some LED sections, and an SPDT switch controls power to either the left or the right section of LEDs.



However, I want the PCB with the switch and power source to be located a distance (~1 meter) from the LEDs and sequencer, and I was wondering if I could use USB to connect them.



To be clear, I am NOT connecting this to any sort of computer or microcontroller, I want to know if it is possible to have a USB cable provide VCC and GND from one circuit to another, and then use D+ and D- to provide/disconnect power to the LEDs via the switch. All voltages would be 5 V, and I can adjust the current draw of the LEDs as necessary.



If this is not possible, is there an existing type of cable that can achieve this (three power leads and a ground), or will I have to solder my own?



LED Selection Circuit using USB










share|improve this question









New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 5




    $begingroup$
    Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
    $endgroup$
    – pjc50
    2 days ago











  • $begingroup$
    It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
    $endgroup$
    – Alex Heuer
    2 days ago










  • $begingroup$
    If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
    $endgroup$
    – Chris Stratton
    2 days ago






  • 3




    $begingroup$
    To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
    $endgroup$
    – Majenko
    yesterday










  • $begingroup$
    Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
    $endgroup$
    – UKMonkey
    yesterday















5












$begingroup$


I'm trying to build a circuit as seen below, where a sequencer controls the flashing of some LED sections, and an SPDT switch controls power to either the left or the right section of LEDs.



However, I want the PCB with the switch and power source to be located a distance (~1 meter) from the LEDs and sequencer, and I was wondering if I could use USB to connect them.



To be clear, I am NOT connecting this to any sort of computer or microcontroller, I want to know if it is possible to have a USB cable provide VCC and GND from one circuit to another, and then use D+ and D- to provide/disconnect power to the LEDs via the switch. All voltages would be 5 V, and I can adjust the current draw of the LEDs as necessary.



If this is not possible, is there an existing type of cable that can achieve this (three power leads and a ground), or will I have to solder my own?



LED Selection Circuit using USB










share|improve this question









New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 5




    $begingroup$
    Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
    $endgroup$
    – pjc50
    2 days ago











  • $begingroup$
    It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
    $endgroup$
    – Alex Heuer
    2 days ago










  • $begingroup$
    If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
    $endgroup$
    – Chris Stratton
    2 days ago






  • 3




    $begingroup$
    To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
    $endgroup$
    – Majenko
    yesterday










  • $begingroup$
    Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
    $endgroup$
    – UKMonkey
    yesterday













5












5








5





$begingroup$


I'm trying to build a circuit as seen below, where a sequencer controls the flashing of some LED sections, and an SPDT switch controls power to either the left or the right section of LEDs.



However, I want the PCB with the switch and power source to be located a distance (~1 meter) from the LEDs and sequencer, and I was wondering if I could use USB to connect them.



To be clear, I am NOT connecting this to any sort of computer or microcontroller, I want to know if it is possible to have a USB cable provide VCC and GND from one circuit to another, and then use D+ and D- to provide/disconnect power to the LEDs via the switch. All voltages would be 5 V, and I can adjust the current draw of the LEDs as necessary.



If this is not possible, is there an existing type of cable that can achieve this (three power leads and a ground), or will I have to solder my own?



LED Selection Circuit using USB










share|improve this question









New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




I'm trying to build a circuit as seen below, where a sequencer controls the flashing of some LED sections, and an SPDT switch controls power to either the left or the right section of LEDs.



However, I want the PCB with the switch and power source to be located a distance (~1 meter) from the LEDs and sequencer, and I was wondering if I could use USB to connect them.



To be clear, I am NOT connecting this to any sort of computer or microcontroller, I want to know if it is possible to have a USB cable provide VCC and GND from one circuit to another, and then use D+ and D- to provide/disconnect power to the LEDs via the switch. All voltages would be 5 V, and I can adjust the current draw of the LEDs as necessary.



If this is not possible, is there an existing type of cable that can achieve this (three power leads and a ground), or will I have to solder my own?



LED Selection Circuit using USB







power-supply led usb interconnect






share|improve this question









New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Peter Mortensen

1,60031422




1,60031422






New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Alex HeuerAlex Heuer

286




286




New contributor




Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Alex Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 5




    $begingroup$
    Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
    $endgroup$
    – pjc50
    2 days ago











  • $begingroup$
    It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
    $endgroup$
    – Alex Heuer
    2 days ago










  • $begingroup$
    If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
    $endgroup$
    – Chris Stratton
    2 days ago






  • 3




    $begingroup$
    To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
    $endgroup$
    – Majenko
    yesterday










  • $begingroup$
    Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
    $endgroup$
    – UKMonkey
    yesterday












  • 5




    $begingroup$
    Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
    $endgroup$
    – pjc50
    2 days ago











  • $begingroup$
    It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
    $endgroup$
    – Alex Heuer
    2 days ago










  • $begingroup$
    If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
    $endgroup$
    – Chris Stratton
    2 days ago






  • 3




    $begingroup$
    To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
    $endgroup$
    – Majenko
    yesterday










  • $begingroup$
    Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
    $endgroup$
    – UKMonkey
    yesterday







5




5




$begingroup$
Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
$endgroup$
– pjc50
2 days ago





$begingroup$
Why not use the power lines to supply power to the LEDs? Or is this using the USB "form factor" but not USB protocol?
$endgroup$
– pjc50
2 days ago













$begingroup$
It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
$endgroup$
– Alex Heuer
2 days ago




$begingroup$
It would use the form factor, not the protocol. I'm not connecting it to any computer or microcontroller
$endgroup$
– Alex Heuer
2 days ago












$begingroup$
If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
$endgroup$
– Chris Stratton
2 days ago




$begingroup$
If you're going to do this, you should probably use semiconductor switches at the downstream side and run 3v3 logic signals through the data pins. Better yet use wiring intended for your purpose.
$endgroup$
– Chris Stratton
2 days ago




3




3




$begingroup$
To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
$endgroup$
– Majenko
yesterday




$begingroup$
To sum up all the answers: Physically yes, you can do it. Ethically, no you shouldn't do it.
$endgroup$
– Majenko
yesterday












$begingroup$
Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
$endgroup$
– UKMonkey
yesterday




$begingroup$
Is there any reason you don't want to have the data channels drive a transistor that then uses the expected VCC to power the LED?
$endgroup$
– UKMonkey
yesterday










4 Answers
4






active

oldest

votes


















12












$begingroup$


If this is not possible, is there an existing type of cable that can
achieve this (3 power leads and a ground), or will I have to solder my
own?




Cables will do whatever you want them to do, they carry current from one point to another. The biggest concern would be if someone accidentally plugged the USB cable into a regular USB device which would probably blow out the data lines on that device.



Most USB cables use bigger conductors for the power lines, so the data lines would best be used for lower currents.



But you can use any cable you want as long as you can find ends for it and a way to solder your circuit to the ends. At that point it might be easier to just go down to your local hardware store and splice a 4 conductor cable and solder to that.






share|improve this answer









$endgroup$












  • $begingroup$
    Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
    $endgroup$
    – Alex Heuer
    2 days ago










  • $begingroup$
    @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
    $endgroup$
    – Der Kommissar
    2 days ago







  • 2




    $begingroup$
    @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
    $endgroup$
    – JPhi1618
    2 days ago



















22












$begingroup$

This is neither Kosher nor Halal. It should actually be explicitly forbidden in the Electrical Engineering code of ethics. Some certification standards explicitly frown upon this.



Besides the wires probably being extremely under-dimensioned for the delivery of power, using narrowly-defined standard connectors for non-standard uses is a sure way to cause an unforeseen problem down the road. Particularly if this use would ensure the destruction of any standards-compliant device that could be plugged into it, as is this case.



I have had apparently standard but mis-wired cables in my hand that have caused the malfunction and even destruction of standard-compliant devices.



Standardization bodies actually spend a lot of time designing their connectors so that these cannot be confused/mistaken/interconnected with anything else out there. Don't make our job harder.



Some connector types are more generic than others, stick to those.






share|improve this answer











$endgroup$








  • 2




    $begingroup$
    In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
    $endgroup$
    – Dan Mills
    2 days ago






  • 7




    $begingroup$
    @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
    $endgroup$
    – Ben Voigt
    2 days ago










  • $begingroup$
    @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
    $endgroup$
    – Marcus Müller
    yesterday










  • $begingroup$
    @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
    $endgroup$
    – psmears
    19 hours ago










  • $begingroup$
    @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
    $endgroup$
    – Dan Mills
    12 hours ago


















8












$begingroup$

Your best bet is likely to be a more generic connector. There are many common types of cable out there other than USB that will have two major advantages: Larger conductors on all pins, and no chance of damaging USB devices by mistaken connections.



Consider using a DIN connector on either end of your cable, for example. These connectors are common enough that they're cheap, and generic enough that the presence of the connector does not automatically make people expect it will work for any one protocol.



Molex's mini-fit and micro-fit connectors are also popular for power, but be careful if you use mini-fit jr connectors, as they are commonly used on PC power supplies.



JST connectors are commonly used for batteries in RC applications, and may be a good fit for this as four-conductor JST connectors are sufficiently uncommon that people wouldn't have any particular expectation for what they're meant to be used in, yet sufficiently common that they're very cheap, even pre-assembled cables with a four-pin JST connector on either end can go for less than $2.



The links in this post are just what I found in a very quick search of digi-key; if you search yourself you may find more options, and you can tailor to your needs regarding conductor size. Or you can look for just the connectors and make your own cable, which is not that hard if you have a crimping tool.






share|improve this answer











$endgroup$




















    6












    $begingroup$

    No, USB cable's data lines are significantly thinner than their power lines, and shouldn't/can't be used to supply any significant amount of power.






    share|improve this answer









    $endgroup$












      Your Answer





      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
      );
      );
      , "mathjax-editing");

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

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "135"
      ;
      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
      );



      );






      Alex Heuer is a new contributor. Be nice, and check out our Code of Conduct.









      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f427405%2fcan-i-use-usb-data-pins-as-a-power-source%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      12












      $begingroup$


      If this is not possible, is there an existing type of cable that can
      achieve this (3 power leads and a ground), or will I have to solder my
      own?




      Cables will do whatever you want them to do, they carry current from one point to another. The biggest concern would be if someone accidentally plugged the USB cable into a regular USB device which would probably blow out the data lines on that device.



      Most USB cables use bigger conductors for the power lines, so the data lines would best be used for lower currents.



      But you can use any cable you want as long as you can find ends for it and a way to solder your circuit to the ends. At that point it might be easier to just go down to your local hardware store and splice a 4 conductor cable and solder to that.






      share|improve this answer









      $endgroup$












      • $begingroup$
        Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
        $endgroup$
        – Alex Heuer
        2 days ago










      • $begingroup$
        @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
        $endgroup$
        – Der Kommissar
        2 days ago







      • 2




        $begingroup$
        @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
        $endgroup$
        – JPhi1618
        2 days ago
















      12












      $begingroup$


      If this is not possible, is there an existing type of cable that can
      achieve this (3 power leads and a ground), or will I have to solder my
      own?




      Cables will do whatever you want them to do, they carry current from one point to another. The biggest concern would be if someone accidentally plugged the USB cable into a regular USB device which would probably blow out the data lines on that device.



      Most USB cables use bigger conductors for the power lines, so the data lines would best be used for lower currents.



      But you can use any cable you want as long as you can find ends for it and a way to solder your circuit to the ends. At that point it might be easier to just go down to your local hardware store and splice a 4 conductor cable and solder to that.






      share|improve this answer









      $endgroup$












      • $begingroup$
        Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
        $endgroup$
        – Alex Heuer
        2 days ago










      • $begingroup$
        @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
        $endgroup$
        – Der Kommissar
        2 days ago







      • 2




        $begingroup$
        @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
        $endgroup$
        – JPhi1618
        2 days ago














      12












      12








      12





      $begingroup$


      If this is not possible, is there an existing type of cable that can
      achieve this (3 power leads and a ground), or will I have to solder my
      own?




      Cables will do whatever you want them to do, they carry current from one point to another. The biggest concern would be if someone accidentally plugged the USB cable into a regular USB device which would probably blow out the data lines on that device.



      Most USB cables use bigger conductors for the power lines, so the data lines would best be used for lower currents.



      But you can use any cable you want as long as you can find ends for it and a way to solder your circuit to the ends. At that point it might be easier to just go down to your local hardware store and splice a 4 conductor cable and solder to that.






      share|improve this answer









      $endgroup$




      If this is not possible, is there an existing type of cable that can
      achieve this (3 power leads and a ground), or will I have to solder my
      own?




      Cables will do whatever you want them to do, they carry current from one point to another. The biggest concern would be if someone accidentally plugged the USB cable into a regular USB device which would probably blow out the data lines on that device.



      Most USB cables use bigger conductors for the power lines, so the data lines would best be used for lower currents.



      But you can use any cable you want as long as you can find ends for it and a way to solder your circuit to the ends. At that point it might be easier to just go down to your local hardware store and splice a 4 conductor cable and solder to that.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered 2 days ago









      laptop2dlaptop2d

      26.5k123383




      26.5k123383











      • $begingroup$
        Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
        $endgroup$
        – Alex Heuer
        2 days ago










      • $begingroup$
        @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
        $endgroup$
        – Der Kommissar
        2 days ago







      • 2




        $begingroup$
        @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
        $endgroup$
        – JPhi1618
        2 days ago

















      • $begingroup$
        Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
        $endgroup$
        – Alex Heuer
        2 days ago










      • $begingroup$
        @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
        $endgroup$
        – Der Kommissar
        2 days ago







      • 2




        $begingroup$
        @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
        $endgroup$
        – JPhi1618
        2 days ago
















      $begingroup$
      Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
      $endgroup$
      – Alex Heuer
      2 days ago




      $begingroup$
      Thanks, I'll see if I can find some 4 conductor cable and some suitable connectors I can use to connect and disconnect my two PCBs. I guess I'm making my own cable
      $endgroup$
      – Alex Heuer
      2 days ago












      $begingroup$
      @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
      $endgroup$
      – Der Kommissar
      2 days ago





      $begingroup$
      @AlexHeuer You can buy header cables and connectors quite regularly. They often have a single-end setup for connecting to a header, with leads off to be soldered to something else. Ex: allelectronics.com/item/con-234/4-pin-connector-w/header-0.156/… the nice thing about them is you can solder the connector to one device, and the cables to the other, then it's obvious that the cable and connector go together, vs. reusing something that's not built for it.
      $endgroup$
      – Der Kommissar
      2 days ago





      2




      2




      $begingroup$
      @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
      $endgroup$
      – JPhi1618
      2 days ago





      $begingroup$
      @AlexHeuer As far as pre-made cable found in home stores: network cable and phone line works great for passing low amounts of power like this. For higher current you can step up to alarm wire, thermostat wire or sprinkler controller wire.
      $endgroup$
      – JPhi1618
      2 days ago














      22












      $begingroup$

      This is neither Kosher nor Halal. It should actually be explicitly forbidden in the Electrical Engineering code of ethics. Some certification standards explicitly frown upon this.



      Besides the wires probably being extremely under-dimensioned for the delivery of power, using narrowly-defined standard connectors for non-standard uses is a sure way to cause an unforeseen problem down the road. Particularly if this use would ensure the destruction of any standards-compliant device that could be plugged into it, as is this case.



      I have had apparently standard but mis-wired cables in my hand that have caused the malfunction and even destruction of standard-compliant devices.



      Standardization bodies actually spend a lot of time designing their connectors so that these cannot be confused/mistaken/interconnected with anything else out there. Don't make our job harder.



      Some connector types are more generic than others, stick to those.






      share|improve this answer











      $endgroup$








      • 2




        $begingroup$
        In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
        $endgroup$
        – Dan Mills
        2 days ago






      • 7




        $begingroup$
        @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
        $endgroup$
        – Ben Voigt
        2 days ago










      • $begingroup$
        @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
        $endgroup$
        – Marcus Müller
        yesterday










      • $begingroup$
        @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
        $endgroup$
        – psmears
        19 hours ago










      • $begingroup$
        @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
        $endgroup$
        – Dan Mills
        12 hours ago















      22












      $begingroup$

      This is neither Kosher nor Halal. It should actually be explicitly forbidden in the Electrical Engineering code of ethics. Some certification standards explicitly frown upon this.



      Besides the wires probably being extremely under-dimensioned for the delivery of power, using narrowly-defined standard connectors for non-standard uses is a sure way to cause an unforeseen problem down the road. Particularly if this use would ensure the destruction of any standards-compliant device that could be plugged into it, as is this case.



      I have had apparently standard but mis-wired cables in my hand that have caused the malfunction and even destruction of standard-compliant devices.



      Standardization bodies actually spend a lot of time designing their connectors so that these cannot be confused/mistaken/interconnected with anything else out there. Don't make our job harder.



      Some connector types are more generic than others, stick to those.






      share|improve this answer











      $endgroup$








      • 2




        $begingroup$
        In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
        $endgroup$
        – Dan Mills
        2 days ago






      • 7




        $begingroup$
        @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
        $endgroup$
        – Ben Voigt
        2 days ago










      • $begingroup$
        @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
        $endgroup$
        – Marcus Müller
        yesterday










      • $begingroup$
        @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
        $endgroup$
        – psmears
        19 hours ago










      • $begingroup$
        @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
        $endgroup$
        – Dan Mills
        12 hours ago













      22












      22








      22





      $begingroup$

      This is neither Kosher nor Halal. It should actually be explicitly forbidden in the Electrical Engineering code of ethics. Some certification standards explicitly frown upon this.



      Besides the wires probably being extremely under-dimensioned for the delivery of power, using narrowly-defined standard connectors for non-standard uses is a sure way to cause an unforeseen problem down the road. Particularly if this use would ensure the destruction of any standards-compliant device that could be plugged into it, as is this case.



      I have had apparently standard but mis-wired cables in my hand that have caused the malfunction and even destruction of standard-compliant devices.



      Standardization bodies actually spend a lot of time designing their connectors so that these cannot be confused/mistaken/interconnected with anything else out there. Don't make our job harder.



      Some connector types are more generic than others, stick to those.






      share|improve this answer











      $endgroup$



      This is neither Kosher nor Halal. It should actually be explicitly forbidden in the Electrical Engineering code of ethics. Some certification standards explicitly frown upon this.



      Besides the wires probably being extremely under-dimensioned for the delivery of power, using narrowly-defined standard connectors for non-standard uses is a sure way to cause an unforeseen problem down the road. Particularly if this use would ensure the destruction of any standards-compliant device that could be plugged into it, as is this case.



      I have had apparently standard but mis-wired cables in my hand that have caused the malfunction and even destruction of standard-compliant devices.



      Standardization bodies actually spend a lot of time designing their connectors so that these cannot be confused/mistaken/interconnected with anything else out there. Don't make our job harder.



      Some connector types are more generic than others, stick to those.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited yesterday

























      answered 2 days ago









      Edgar BrownEdgar Brown

      6,4872735




      6,4872735







      • 2




        $begingroup$
        In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
        $endgroup$
        – Dan Mills
        2 days ago






      • 7




        $begingroup$
        @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
        $endgroup$
        – Ben Voigt
        2 days ago










      • $begingroup$
        @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
        $endgroup$
        – Marcus Müller
        yesterday










      • $begingroup$
        @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
        $endgroup$
        – psmears
        19 hours ago










      • $begingroup$
        @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
        $endgroup$
        – Dan Mills
        12 hours ago












      • 2




        $begingroup$
        In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
        $endgroup$
        – Dan Mills
        2 days ago






      • 7




        $begingroup$
        @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
        $endgroup$
        – Ben Voigt
        2 days ago










      • $begingroup$
        @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
        $endgroup$
        – Marcus Müller
        yesterday










      • $begingroup$
        @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
        $endgroup$
        – psmears
        19 hours ago










      • $begingroup$
        @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
        $endgroup$
        – Dan Mills
        12 hours ago







      2




      2




      $begingroup$
      In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
      $endgroup$
      – Dan Mills
      2 days ago




      $begingroup$
      In this case I agree, but there are valid 'off spec' uses for standard connectors. For example SATA cables make a wonderful way to hook things like PECL clocks between cards at GHz rates with very low jitter (Also for serdes links between FPGAs). Cheap as anything, impedance controlled, latching and second sourced by everyone, whats not to love?
      $endgroup$
      – Dan Mills
      2 days ago




      7




      7




      $begingroup$
      @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
      $endgroup$
      – Ben Voigt
      2 days ago




      $begingroup$
      @DanMills: There's a significantly difference between "This is a non-standard use of the connector, it won't work when plugged into a standard host port" and "This will fry any standard device you plug into".
      $endgroup$
      – Ben Voigt
      2 days ago












      $begingroup$
      @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
      $endgroup$
      – Marcus Müller
      yesterday




      $begingroup$
      @DanMills nice to know that this actually works well. I've been in discussions about how to transport differential high-speed signaling between boards for ca. forever, and very few solutions seemed great.
      $endgroup$
      – Marcus Müller
      yesterday












      $begingroup$
      @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
      $endgroup$
      – psmears
      19 hours ago




      $begingroup$
      @DanMills: Similarly, there exist Ethernet switches that can be "stacked" together to make one logical switch, and hence need to communicate at very high speed over a short distance. Some use custom, proprietary (and highly expensive) cables - and others use HDMI cables, for much the reasons you describe :)
      $endgroup$
      – psmears
      19 hours ago












      $begingroup$
      @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
      $endgroup$
      – Dan Mills
      12 hours ago




      $begingroup$
      @MarcusMüller Just be careful not to let purchasing pick the cheapest possible SATA cables, there is some proper junk out there. I use them for clock and serdes in a SDR application and they do just fine.
      $endgroup$
      – Dan Mills
      12 hours ago











      8












      $begingroup$

      Your best bet is likely to be a more generic connector. There are many common types of cable out there other than USB that will have two major advantages: Larger conductors on all pins, and no chance of damaging USB devices by mistaken connections.



      Consider using a DIN connector on either end of your cable, for example. These connectors are common enough that they're cheap, and generic enough that the presence of the connector does not automatically make people expect it will work for any one protocol.



      Molex's mini-fit and micro-fit connectors are also popular for power, but be careful if you use mini-fit jr connectors, as they are commonly used on PC power supplies.



      JST connectors are commonly used for batteries in RC applications, and may be a good fit for this as four-conductor JST connectors are sufficiently uncommon that people wouldn't have any particular expectation for what they're meant to be used in, yet sufficiently common that they're very cheap, even pre-assembled cables with a four-pin JST connector on either end can go for less than $2.



      The links in this post are just what I found in a very quick search of digi-key; if you search yourself you may find more options, and you can tailor to your needs regarding conductor size. Or you can look for just the connectors and make your own cable, which is not that hard if you have a crimping tool.






      share|improve this answer











      $endgroup$

















        8












        $begingroup$

        Your best bet is likely to be a more generic connector. There are many common types of cable out there other than USB that will have two major advantages: Larger conductors on all pins, and no chance of damaging USB devices by mistaken connections.



        Consider using a DIN connector on either end of your cable, for example. These connectors are common enough that they're cheap, and generic enough that the presence of the connector does not automatically make people expect it will work for any one protocol.



        Molex's mini-fit and micro-fit connectors are also popular for power, but be careful if you use mini-fit jr connectors, as they are commonly used on PC power supplies.



        JST connectors are commonly used for batteries in RC applications, and may be a good fit for this as four-conductor JST connectors are sufficiently uncommon that people wouldn't have any particular expectation for what they're meant to be used in, yet sufficiently common that they're very cheap, even pre-assembled cables with a four-pin JST connector on either end can go for less than $2.



        The links in this post are just what I found in a very quick search of digi-key; if you search yourself you may find more options, and you can tailor to your needs regarding conductor size. Or you can look for just the connectors and make your own cable, which is not that hard if you have a crimping tool.






        share|improve this answer











        $endgroup$















          8












          8








          8





          $begingroup$

          Your best bet is likely to be a more generic connector. There are many common types of cable out there other than USB that will have two major advantages: Larger conductors on all pins, and no chance of damaging USB devices by mistaken connections.



          Consider using a DIN connector on either end of your cable, for example. These connectors are common enough that they're cheap, and generic enough that the presence of the connector does not automatically make people expect it will work for any one protocol.



          Molex's mini-fit and micro-fit connectors are also popular for power, but be careful if you use mini-fit jr connectors, as they are commonly used on PC power supplies.



          JST connectors are commonly used for batteries in RC applications, and may be a good fit for this as four-conductor JST connectors are sufficiently uncommon that people wouldn't have any particular expectation for what they're meant to be used in, yet sufficiently common that they're very cheap, even pre-assembled cables with a four-pin JST connector on either end can go for less than $2.



          The links in this post are just what I found in a very quick search of digi-key; if you search yourself you may find more options, and you can tailor to your needs regarding conductor size. Or you can look for just the connectors and make your own cable, which is not that hard if you have a crimping tool.






          share|improve this answer











          $endgroup$



          Your best bet is likely to be a more generic connector. There are many common types of cable out there other than USB that will have two major advantages: Larger conductors on all pins, and no chance of damaging USB devices by mistaken connections.



          Consider using a DIN connector on either end of your cable, for example. These connectors are common enough that they're cheap, and generic enough that the presence of the connector does not automatically make people expect it will work for any one protocol.



          Molex's mini-fit and micro-fit connectors are also popular for power, but be careful if you use mini-fit jr connectors, as they are commonly used on PC power supplies.



          JST connectors are commonly used for batteries in RC applications, and may be a good fit for this as four-conductor JST connectors are sufficiently uncommon that people wouldn't have any particular expectation for what they're meant to be used in, yet sufficiently common that they're very cheap, even pre-assembled cables with a four-pin JST connector on either end can go for less than $2.



          The links in this post are just what I found in a very quick search of digi-key; if you search yourself you may find more options, and you can tailor to your needs regarding conductor size. Or you can look for just the connectors and make your own cable, which is not that hard if you have a crimping tool.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered 2 days ago









          HearthHearth

          4,6101136




          4,6101136





















              6












              $begingroup$

              No, USB cable's data lines are significantly thinner than their power lines, and shouldn't/can't be used to supply any significant amount of power.






              share|improve this answer









              $endgroup$

















                6












                $begingroup$

                No, USB cable's data lines are significantly thinner than their power lines, and shouldn't/can't be used to supply any significant amount of power.






                share|improve this answer









                $endgroup$















                  6












                  6








                  6





                  $begingroup$

                  No, USB cable's data lines are significantly thinner than their power lines, and shouldn't/can't be used to supply any significant amount of power.






                  share|improve this answer









                  $endgroup$



                  No, USB cable's data lines are significantly thinner than their power lines, and shouldn't/can't be used to supply any significant amount of power.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 days ago









                  Marcus MüllerMarcus Müller

                  35k362101




                  35k362101




















                      Alex Heuer is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded


















                      Alex Heuer is a new contributor. Be nice, and check out our Code of Conduct.












                      Alex Heuer is a new contributor. Be nice, and check out our Code of Conduct.











                      Alex Heuer is a new contributor. Be nice, and check out our Code of Conduct.














                      Thanks for contributing an answer to Electrical Engineering 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.

                      Use MathJax to format equations. MathJax reference.


                      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%2felectronics.stackexchange.com%2fquestions%2f427405%2fcan-i-use-usb-data-pins-as-a-power-source%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

                      Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                      Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

                      Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?