How to wire two female USB connectors togather

  • Thread starter Thread starter John1397
  • Start date Start date
  • Tags Tags
    Usb Wire
Click For Summary
SUMMARY

This discussion focuses on the technical challenges of wiring two female USB connectors together. Participants emphasize that USB connections are inherently master-slave configurations, meaning both devices cannot act as masters simultaneously. A special USB cable designed for direct computer-to-computer connections is necessary to avoid protocol errors and potential system crashes. For file transfers, alternatives like USB flash drives are recommended over direct wiring.

PREREQUISITES
  • Understanding of USB connection types and configurations
  • Knowledge of master-slave device relationships in USB
  • Familiarity with HID drivers and their implications
  • Basic electronics knowledge regarding voltage sources
NEXT STEPS
  • Research USB data transfer protocols and their limitations
  • Learn about special USB cables for direct computer connections
  • Explore alternatives for file transfer, such as USB flash drives
  • Investigate the role of HID drivers in USB communication
USEFUL FOR

This discussion is beneficial for electronics hobbyists, computer technicians, and anyone interested in understanding USB connectivity and data transfer methods.

John1397
Messages
189
Reaction score
18
I want to take two female USB from a computer one will be on top of the other just as they are installed in a computer I want to make a generic type a female to female connector would one connect pin 1 to pin 1 and so on or do the cross over?
 

Attachments

  • pin out.jpg
    pin out.jpg
    9.5 KB · Views: 630
Engineering news on Phys.org
The image you attached has it right; connect the same-numbered pins together.
 
What did you plan on using this for?

BoB
 
Gigabit Ethernet is pretty well universal (plus networking software) and that will avoid trying to do things the USB way.
 
@John1397 --

@Svein is correct. HID drivers (kernel mode code) are not going to be happy - an error in driver running in kernel mode can crash and/or freeze the system. Protocol errors are nasty, IMO.

Instead of wiring something that is a guaranteed problem - there are a lot of really bright people here who can help.

Please tell us what you want to do, not how you want to do it.

Thanks!
 
The simplest way to transfer files is the venerable sneakernet - buy an USB stick, copy the files to be transferred over to the stick, walk to the other computer and copy the files from the USB stick.Repeat until done.
 
jim mcnamara said:
HID drivers (kernel mode code) are not going to be happy

Wiring two 5V sources together will not be happy either. You might scare away the magic smoke.

BoB
 
  • Like
Likes   Reactions: krater
If you are trying to connect two devices together that act as Master devices, that is with both of them supplying power to the cable, then @rbelli1 is absolutely right; they won't like that at all. There used to be, and maybe still are, cables sold for that purpose with some active components built in. They also came with some supporting software for data transfer.

If you are making a coupler so you can connect two USB cables together for a longer run, then connect as in your original diagram.

What is the project you are working on? If you don't mind divulging the details, someone here may come up with an easier approach.

Cheers,
Tom
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
Replies
18
Views
2K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
37
Views
7K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K