loading
Hi all, My name is Dexter, I am 15 years of age and this is my first instructable. It will show you the inside of the USB cable. And will show you how to connect a light to it. NOTE: Do not directly connect an LED to a USB cable, use a resistor. I appologise for the poor quality of the photos.

Step 1: Strip one end of the USB cable

Strip an end of the USB cable, remember to leave a USB port on one end, show the wires inside (with their coloured covers). The wires should be the same as in the photo below, the red wire = 5 Volts (+) and the black wire is the ground (-), for now ignore the other two wires I will hopefully make an instructable about them at a later stage. We will only use the black and red wires for now.
<p>I have just joined this site and already it has saved me money and helped me fix the power cable for my car camera. The end that plugs in the camera is a micro USB-b type, and when I pulled it out of the camera it snapped inside the metal piece. As the cable is a very long power cable, they are difficult to find, so I cut the same type of connector off an old cable to enable me to use it. Because it has four wires and the power has only two, your diagram helped me identify the USB power cable earth and positive. Although I would have eventually found them, this diagram saved me a lot of hassle, and also the possibility of damaging the camera. Thanks for your help.</p>
<p>Suppose i am going to connect my usb camera to my phone..the length of the chord is about 3 meters..so,phone battery is not enough...If i cut the usb and powering it with an external source..and connecting the remaining 2 cabes (yellow and white) to otg cable ..will it work???If no..please give me an other option...External powering is done using usb port in a car.,</p>
<p>I have just joined this site and already it has saved me money and helped me fix the power cable for my car camera. The end that plugs in the camera is a micro USB-b type, and when I pulled it out of the camera it snapped inside the metal piece. As the cable is a very long power cable, they are difficult to find, so I cut the same type of connector off an old cable to enable me to use it. Because it has four wires and the power has only two, your diagram helped me identify the USB power cable earth and positive. Although I would have eventually found them, this diagram saved me a lot of hassle, and also the possibility of damaging the camera. Thanks for your help.</p>
<p>Can you adjust how much power is sent to the thing being powered over the USB cable?</p><p>Otherwise, does anyone know a cheap thing that can do that?</p>
<p>a potentiometer across just one of the wires (red or black) will let you control the voltage. the current will depend on the device</p>
<p> I was wondering if I would be able to take the nice braided usb cable off of my<br>razer nostromo keypad, and switch it with the plastic usb cable from my<br>newly ordered razer Orbweaver Stealth that has not arrived yet ???<br><br> Thanks with your answer for this as I do hope its possible.</p>
<p>I need to make a very very important point! Especially because of knexpert1700.</p><p>A USB port can only handle 500mA of current, if more flows it may break the computer. Ohms law (V=i*R or i=V/R, i is current, R is resistance) tells you that if you have 5V, and connect some resistance to it, current will be voltage divided by that resistance.<br>LEDs have a very low effective resistance, and if you hook them up directly across a 5V supply without a resistor in-between (in series) you may draw more than 500mA (or simply burn the LED). If your computer doesnt have current protection, it could break the computer, or at least your USB port.<br>I would suggest putting a 100 ohm resistor in series to limit the current to around 25mA. This is an optimal current for an LED to function in most cases.</p>
can i do this with my wireless keyboard? i want to make it wired...there is 1 red and 3 black wires ...red and one of the blac came from where the battery is.<br>
Please help, I did this (on my own without this intructable) a few times and each time it breaks my usb ports on my computer. They either disable the data inputs or the electrical and the data. I dont want to break it again (I only have 2 left) so please help to see if I can fix this. :)
simple and instructive. Thanks.
yet you dont tell us what resistor to use... not even a link to where they say what rated resistor for what voltage of LED.
Just use Ohm's Law V = IR<br>or R = V/I = 5/20e-3 (for 20mA diode)<br>so 250 Ohms<br>Seeing as electronics isn't an exact science use a 220 Ohm resistor or try using combinations of resistors. Don't be afraid of a little trial and error :)
&nbsp;My cable is&nbsp;slightly&nbsp;different&nbsp;i have a lot of thin&nbsp;exposed&nbsp;metal wire along with ones you have the red is + the black is - and the exposed wires are ground
thats just another ground
Actually those wires are there to protect the Black, Red, White, and Green wires.
i thought it was connected to the metal casing of the USB connector?
A late addition to the conversation and hopefully you have already found the answer to your question, but for people finding this thread from a search, the exposed metal wire sounds like &quot;Shielding&quot;. It is intended to reduce interference from other signals close by and should not normally be used as a &quot;ground&quot;, or &quot;return&quot;, though in some cases it may go to &quot;Earth&quot; which is NOT the same.
late, but not unread ;)<br>nice info, ty
Thanks! This instructable actually cleared things up for me =D
thank you I am only 12 and this me a lot
I don't know why people post their age, and I didn't understood what you said :)
why so much negativity?
It is not negativism, it is just that, it seems dumb to do it.
&quot;and this me a lot&quot; Huh? And i guess that they are saying that they are young and foolish?
i think thats just a simple christmas light or a little light from a toy... and a great tutorial...
Hi i'm 14 years old and.. I already knew that , also like a million other people have been doing that as in connecting lights but what i am looking for right now is how to use the other green and white wires for your use
too bad you need a microcontroller...
thats pretty cool. I dont believe I've ever seen inside a USB cable. lol<br/>thanx =]<br/>
THE cable part was cool but the light not so much.
Wow its pritty cool to see such a young boy with electronics knowledge. Good one =)<br/>
Second sentence (&quot;It will how you the inside of the USB cable. &quot;) doesn't make any sense, but other than that, cool! After reading that sentence for the 10th time, I realized that you probably meant &quot;It will <strong>show</strong> you the inside of the USB cable&quot;.<br/>Thanks for posting<br/><br/>-gamer<br/>

About This Instructable

141,014 views

54 favorites

License:

More by luster123: How a USB Works: The inside of the cable
Add instructable to: