Creating You Own USB Cables

313,277

87

28

In honor of the USB contest, and my own passion for making my own wherever I can, I have created what I believe is a totally unique (gasp) Instructable.  I could be wrong, of course, but a quick Google search turned up nothing for this, so I'm claiming glory lol.  All told, with picture taking, this project cost me around 30 min, and $0 because I had everything lying around that I needed.  Let's begin, and remember to vote!!!

Step 1: Items You Will Need

Straight forward, these are the items you will need to make a custom length USB cable:

A piece of Cat-5 cable, length you desire
Extra USB connectors that come with a 6-in-1 type cable (if you ever had to purchase one like me, you probably have at least a couple you have absolutely no use for)
Razor knife (careful!)
Soldering iron and solder
Shrink tubing
Wire Strippers (optional)
Basic electrical meter (not pictured)

I decided to make my own cable to 2 reasons:  1, I always make my own cables when I can (the one I bought that came with the connectors was about $15, yikes!), and 2: Cables never seem to come in the length I need.  I always want a longer or shorter than you can buy (most USB cables are 6ft long, this one I made is 10ft long).

Step 2: Harvesting the Male and Female Ends

I picked 2 of the connectors that I had absolutely no use for, couldn't even tell you what they might fit.  I carefully (to preserve the usb end) used the razor knife to remove the plastic around the connector part I didn't need.  I then use the knife tip and small pliers to peel away the metal housing for the unused connector, exposing 4 wires.  I cleaned these up as best I could, and proceeded to step 3.

Step 3: Preparing the Cat-5 Cable

Cat-5 ethernet cable is generally fairly cheap, and I like it because it comes with 8 conductors (wires) and since it's solid wires (instead of stranded), solders beautifully for whatever I need, and small enough for all my mini-electronic experiments.  We will only need 4 of the 8 wires, so to make it simple, I kept only the solid wires (blue, orange, green, brown) and removed the stripped wires, on both ends of my cable.  I then stripped about a cm of the ends, just enough to solder to.  I took a large piece of heat shrink tubing and slipped it over the body of the wire, and took a smaller heat shrink tube and quartered it, placing a 1/4 on each of my 4 colored wires, as pictured.

Step 4: Solder Time!

For the first connector, it doesn't really matter what color wire you attach to what pin of the USB cable.  We will ensure before attaching the other end that it's all right.  In retrospect, I would have used my shorter-wired usb plug on this step as it doesn't matter, but you know what they say about hindsight...  Regardless, if you are a neat solder-er, you can make all your connections, then turn the plug upside down so the smaller heat shrink covers the welds.  Heat gun/blow dry to shrink, ensuring all connections are fully insulated from each other.  You want NO chance that these wires might cross later, or your cable will be worthless.  Use electrical tape if necessary to ensure good insulation, then slide the large heat shrink over the whole mess, and heat it up to tidy everything neatly.

Step 5: Finish the Other End

Before you can finish out the other side, you have to make sure you are connecting the right wires in sequence.  To do this, I used the electrical trick called "ohming out the line".  Using a meter, set it to the Ohm (greek Omega character) setting, ideally the setting that sounds on connection.  You can test this by touching the 2 leads of your meter together.  They will either make a noise, or if that feature is not on your meter, make the needle jump or numbers go crazy, indicating a closed circuit.  I  plugged the female end of my usb cable into my already completed male end, and while holding 1 meter lead on an exposed wire from my female connector, touched each of my colored Cat-5 wires in turn until it made a noise.  I then knew these 2 should be soldered together.  So as to eliminate confusion, I went ahead and soldered each pair as I matched them so I wouldn't forget.  Once finished, I took turns touching my terminals to every possible combination of wire connections to ensure I did NOT hear the noise (each should be fully isolated, and not 'ohm out', or that would indicate a crossed wire or short somewhere, not a good thing).  Once satisfied, I completed my heat shrink tubing as I did on the original end.

Step 6: Test It Out!

To test, I plugged the male end into my computer's USB port, and a cheap flash drive into the other.  I was hoping to catch a picture of the bubble in the system tray, but the best I grabbed was the open window showing my empty drive contents.  I was slightly worried that the longer wire may cause a voltage drop (and I'm sure in very long ones it can/will), so I changed my meter from OHMs to Voltage-DC setting.  The outside pins on a USB connector supply the power (pins 1 and 4), so I touched my meter contacts to these 2 and read 5 volts.  Success!

I hope this inspires you to get creative with making things that suit your needs.  My next project will probably be to use some spare Cat-5 and a spare USB 2.0 PCI card I have to de-solder the USB ports and make my own USB Hub.  Thanks to the entire Instructables community and individuals like KipKay that inspired me to get started tinkering with things like this!  VOTE FOR Pedro ME!

Share

    Recommendations

    • Arduino Contest 2019

      Arduino Contest 2019
    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest

    28 Discussions

    0
    None
    flattery

    6 years ago on Introduction

    What about EMI and USB standard requiring shielded cable to protect from EMI?

    How does this achieve that? I don't believe cat5 cable is shielded...

    5 replies
    1
    None
    GavinV1flattery

    Reply 3 years ago

    Just use shielded CAT cable then...

    0
    None
    m6255GavinV1

    Reply 3 months ago

    ALL CAT 5 AND CAT 5E AND CAT 6 ETC IS ALL TWISTED PAIRS AND SHIELDED. SOLID WIRE
    IF IT WASNT THE NETWORK CABLE WOULD NOT WORK OR RUN AT 1MBS

    0
    None
    flatterym6255

    Reply 3 months ago

    Twisted pair helps to avoid crosstalk, it does not provide significant schielding.

    1
    None
    ludionisflattery

    Reply 6 years ago on Introduction

    From a quick Google search, I do believe that technically speaking USB requires shielding. To be honest though, it didn't concern me for my purpose was exclusively to extend the charger cable for my PS3 controller so I could sit on the comfort of my couch when my controller ran low lol. I technically only needed the +5v and ground cables connected for my purpose, but decided to hook them all up for my instructable. You are correct, cat5 is not shielded in the least. Maybe you could cover the entire cable in aluminum foil or metal duct tape? J/K lol

    0
    None
    numanairludionis

    Reply 3 years ago

    For a ps3 controller to charge it requires being connected to a host device. In order for it to know it is it needs the data wires.

    0
    None
    PaulB666

    Question 9 months ago

    Can you use any cable instead of the Cat-5? I wanna extend an USB cable, can I just use some regular copper cable? I have 0.5mm^2 and 0.75mm^2 cables laying around, which I use for electronics

    1 answer
    0
    None
    ludionisPaulB666

    Answer 9 months ago

    I used cat5 because I had it laying around and it was a convenient small gauge wire. I'm sure other wires would work.

    0
    None
    botronics

    1 year ago

    You can get USB connectors and shells really cheap at banggood.com. No need to chop up other stuff.

    usbshells.JPG
    0
    None
    Hamids

    2 years ago

    thanks for sharing your experience , however I've tried to power up my external HDD with external 5.4 vcc power but the my built usb adapter not recognized by windows whereas my mouse work well with that , do you have any advise or hint ?is it possible somehow noise affected usb connection?following is the image of my adapter which is easily made by simple male /female usb connector

    Photo-0003.jpg
    1 reply
    0
    None
    KocHiWHamids

    Reply 1 year ago

    same here.. work on mouse but not external hdd

    0
    None
    baribe68

    2 years ago

    I need help because I have an original iPod and my charger broke and I can't use my iPod anymore. can you help me.

    0
    None
    DavidS78

    3 years ago on Introduction

    Hello:I have a charging cable intended to go from a vehicle's cigarette lighter-to-mobile device. The end does not fit my mobile phone's data/power input. I've cut off the charging cable's end - there are two wires, obviously one will be positive
    and the other negative/ground. Next, I've removed an end from a cable that fits my mobile phone's data/power input. However, that piece has several
    wires inside.Does anyone know which two (color) leads are positive and ground? Thanks for any help.

    2 replies
    0
    None
    ludionisDavidS78

    Reply 3 years ago

    Honestly, the safest way would be to plug the power end in and use a volt meter to test, but usually black is ground and red is positive.

    0
    None
    aewers

    6 years ago on Introduction

    I totally agree. Electric meters measure watt hours Volt/Ohm/Multi-meters measure different aspects of the flow of electrical energy. Awesome article though, it confirmed that Cat5 is an acceptable replacement for USB cable. I wonder how difficult it woud be to make converter/adapter ends for a cable so that it could be used as both?

    0
    None
    dnx

    6 years ago on Introduction

    still have disadvantage use this..but still good..