Introduction: Usb Switch

I was looking for a usb switch with 1 input and 2 outputs, so I could switch my usb hub with mouse and keyboard between my PC and laptop. Didn't found it cheap enough so I decided to built one myself.

Step 1: Materials and Tools

Materials
  • 2 usb extension cables € 2,50
  • A small box (could be metal or plastic) € 3,00
  • 4 dpdt switch €10,00

Tools

  • Soldering iron
  • Drill
  • Stripping tool

Step 2: Drill the Holes

Draw the positions for the cables and switch, drill the holes.

Step 3: Cut the Wires

Cut the usb extension cables the length you want, I recommend not longer as 2 meter, you might experience interruption of the signal if you make the cables longer. You need 2 cables with male to connect your PC and laptop and 1 female as output. (I had the black cable lying around so I used that one instead of the other side of one of the usb extension cables)

Put the cables trough the holes.

Step 4: Solder the Wires to the Switch

It doesn't matter wich sequence you solder the cables, as long you solder them al three the same. The switch is an on/off/on, I recommend using this one instead of a on/on because when you switch there may be short circuit between the two inputs.

Step 5: Finished

Now you can switch easily between PC and laptop without needing to unplug and plug it in again in your other device.

This is my first Instructable, so sorry if I'm doing it wrong and sorry for my bad English :p I'm from Holland.

I'm not responsible for any broken usb-port or failure.

Comments

author
Poit19 (author)2016-03-13

I found this image on Google, this is exactly what I'm doing. All the wires are switching at the same time with S1 (4dpdt switch). Make sure you solder the cables in the same order. It could cause a short circuit if you make a mistake. I checked the wiring with a multimeter before I tested it with PC and laptop. If you have more questions. Feel free to ask. (Sorry for bad English)

Screen Shot 2016-03-13 at 12.48.42.png
author
Poit19 (author)2016-03-12

I'm sorry Kalkeriakshay, I did not receive a e-mail notification of your comment. Mzdave, I will upload a schematic of the wiring tomorrow. It is switching both, power and data, if you would only switch data, it could cause problems with connectivity. Your PC or laptop probably would'nt recognize the usb device.

author
mzdave (author)2016-03-12

is it switching power, data, both, what does it do?.

author
kalkeriakshay (author)2015-10-27

i didnt understand anything

author
kalkeriakshay (author)2015-10-27

please give front image of dpdt switch to understand how you done the wiring

author
MsSweetSatisfaction (author)2014-10-19

Neat little build, even better that it replaces something that would have cost money! Thanks for sharing!

author
dan3008 (author)2014-10-19

Nice tut :) Simple and effective :D

About This Instructable

3,816views

45favorites

License:

More by Poit19:Usb Switch
Add instructable to: