Simple USB Switch

41,966

36

8

Introduction: Simple USB Switch

This is the most simple USB  switch I could come up with. It doesn't require IC's or any other complex circuitry.
All it requires is:
One 4pdt switch
Two USB female ports
one USB cable
and a case

Step 1: Prepare the Case

this will differ depending on what you use, I used an old power brick.
Just make a hole for your toggle switch and USB ports

Step 2: Wire the Switch

Now the switch needs to be wired.
It doesn't really matter what order the wires are in, as long as they line up on the switch.

Step 3: Test!

Make sure double check the wiring before testing!
It's a good Idea to test this before you put in the case, otherwise you might get all put together, plug in, and it doesn't work

Step 4: Assembly

Now put your USB switch in it's case and your done

4th Epilog Challenge

Participated in the
4th Epilog Challenge

Be the First to Share

    Recommendations

    • Electronics Contest

      Electronics Contest
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Tinkercad to Fusion 360 Challenge

      Tinkercad to Fusion 360 Challenge

    8 Comments

    0
    n3pla2000
    n3pla2000

    1 year ago

    Only 3PDT needed. if all of the ground wires are all connected together, and only the 5v power is switched noting bad will happen. Also if the switch will only allow two USB devices to connect to 1 computer or power source 5v power can remain connected to both devices, just watch the power levels of the devices do not exceed 2.1 A. If you wish to connect two computer to one device again tie all grounds together, run the 5v power from each computer to diode, then to the device. Both computer will supply power to the one device, but power from one computer can not feed back to the other. However power feed back might be desired... If one "computer" is a tablet and only has one USB, wiring it to between the USB device and the computer is good, you will then want all 5v leads tied together and all grounds tied together. This way the tablet can talk to either the computer or USB device.

    0
    Atariiatarii
    Atariiatarii

    9 years ago on Introduction

    Would this work in reverse? like, one female port and two male ports? I want to be able to switch mouse and keyboard between computers without using synergy

    0
    EttoreS1
    EttoreS1

    Reply 6 years ago

    Yes, it works in reverse. I needed this way too. Its fully functional. =]

    0
    pjhenry1216
    pjhenry1216

    Reply 7 years ago on Introduction

    I would also like to know if this could work in reverse. If anyone has any insight into this, that'd be appreciated. I too would like to have a usb switch that can basically act as a switch between a USB hub and two different machines.

    0
    ahussain29
    ahussain29

    7 years ago on Introduction

    This usb switch solve my problem of plunging unplugging USB cables. I use tenda wifi usb router with USB adapter and power bank. With this switch I can keep my usb adaptor and power bank without unplugging and just switching on power failure. This usb switch will not use any energy so that I can save my battery life. USB switcher/hub available in the market have little circuit which consume power and I do not want to loose my power bank battery.

    0
    sctirvn687
    sctirvn687

    9 years ago on Introduction

    Does this switch turn the two USB ports on and off or does it just switch between them? Would you use this instead of plugging in and unplugging cables? Thanks.

    0
    T_T_
    T_T_

    Reply 9 years ago on Introduction

    this just switches between the two ports.
    right now I don't use it, as I've upgraded my computer and have no shortage of ports, but it is much easier than unplugging the cables, especially if the ports are on the back.

    0
    T_T_
    T_T_

    Reply 9 years ago on Introduction

    oh, and this particular switch can also turn off both ports