Usb Switch





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

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


  • 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.



    • Creative Misuse Contest

      Creative Misuse Contest
    • Clocks Contest

      Clocks Contest
    • Oil Contest

      Oil Contest

    7 Discussions


    2 years ago

    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

    2 years ago

    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.


    2 years ago

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

    i didnt understand anything

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

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