0
\$\begingroup\$

I have a USB cable from my old Samsung phone. There are four wires: red, white, green, and an unshielded wire.

These wires were in a foil-like cover which was surrounded by another unshielded wire. I will use this for the my USB webcam project, but which wire should I use for ground, the one that came inside with the foil-like cover or the wire that is surrounding the foil-like cover?

enter image description here

\$\endgroup\$

2 Answers 2

1
\$\begingroup\$

You should use the black cable for GND (At the USB Device end), The foil shielding should be connected to GND on the host end and if this is being hard soldered (Not a connector) you can link the shielding to the Webcams GND as well.

enter image description here

Edit - Sorry re-read the question, yeah trim back the insulation until you find a black cable this will be GND, don't use the shielding as a GND cable.

\$\endgroup\$
2
  • \$\begingroup\$ Got it. Gonna try it now to my usb webcam. \$\endgroup\$ Commented Aug 14, 2020 at 11:06
  • \$\begingroup\$ There is widespread disagreement about the data+/- lines. From a general Web search, the opinion seems to be split 50/50 on which is which. \$\endgroup\$
    – Oscar
    Commented Apr 17 at 19:10
0
\$\begingroup\$

Try to cut it a bit more deep; usually the cables have four wires (red - Vcc, white - Data-, green - Data+, black - GND). These are surrounded by a foil acting as a shield, and for long wires sometimes I also found another uncovered wire acting as a shield as well

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.