1
\$\begingroup\$

I am making a system that requires the white wires and the green wires (in usb cables) need to kind of be on a diode. Which one goes to the computer and which goes to the USB device?

\$\endgroup\$
3
\$\begingroup\$

USB uses bidirectional differential signaling on the data lines - data is tranmitted both ways (one way at a time) over the pair of data wires.

USB is a very complex communication system, and shouldn't be messed with, unless you really understand the system.

| improve this answer | |
\$\endgroup\$
0
\$\begingroup\$

The White wire in a USB is the Data- wire

The Green Wire in a USB is the Data+ wire

Edit : Apparently, I was wrong.

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ This is incorrect, USB (up to 2.0) is half-duplex bidirectional signalling over a single differential pair. \$\endgroup\$ – uint128_t Jan 7 '16 at 3:37
  • \$\begingroup\$ USB uses differential signalling - data is sent on both wires simultaneously, one way at a time. You can't call one wire TX and the other RX. \$\endgroup\$ – Peter Bennett Jan 7 '16 at 3:39
  • \$\begingroup\$ @uint128_t Thanks for telling me that Im wrong. I am still too learning about electonics \$\endgroup\$ – Bryan Jan 7 '16 at 3:43
  • \$\begingroup\$ @PeterBennett Thanks for telling me that Im wrong. I am still too learning about electronics \$\endgroup\$ – Bryan Jan 7 '16 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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