Main product image for USB Switch / Multiplexer
Product image 1 for USB Switch / Multiplexer
Share a USB2 device between two host machines.
Raspberry Pi
Arduino
USB

USB Switch / Multiplexer

Sold by 8086 Consultancy

$6.76

No tax for United States [change]
Stock available: 10
Check
Original Design
This product was designed by 8086 Consultancy. By buying this product you support original hardware creators.

The USB Mux allows a USB device (or multiple devices if connected via a USB hub) to be switched between two hosts (or powered off).

For example, to test images on a Raspberry Pi you can use it to switch a USB flash drive between being the USB boot device on one Raspberry Pi and switching it to a second Raspberry Pi where you could write a new Raspberry Pi OS image, read/write data etc.

Whilst there are many USB 2 Multiplexers available to share a device between USB hosts, I wanted a board I could easily connect and control from a Raspberry Pi/Arduino/etc, and allow power to the device to be turned off.

To control which host the USB port is connected to, set the OE and S (SELECT) pins high/low as per the table below.

!OE SELECT Connection
0 0 USB Type-A is connected to micro USB port A
0 1 USB Type-A is connected to micro USB port B
1 X Disconnected

Both !OE and SELECT are pulled low on the board so micro USB port A is connected by default. The pins can be controlled by 3.3v signals but they're also 5v tolerant. When switching between hosts A/B both data and power for the USB device are connected to that host.

Using only the SELECT pin you can switch the device between A/B USB hosts.

Using only the !OE pin it can be used as a USB Switch to turn on/off the USB device (disconnecting both power and data) if you need to power cycle/power down a USB device for example to reset or save power.

By using both !OE and SELECT you have full control over which USB host the device is connected to and power it on/off.

The newer 4-pin version of the USB Switch/Multiplexer adds a 3.3 Volt output which can be used to toggle the state using switches without the need for external power.

Community Case

A USB Mux user has created a case which you can find on Thingiverse for the 3 pin version only.

Links to code and documentation

No additional links provided for this product.

Shipping policy

Please ensure your address is full and correct before placing an order and be aware I'm unable to use some shipping methods to PO boxes.

Deliveries to the USA are sent using RoyalMail PDDP (Postal Delivery Duties Paid).

The seller

8086 Consultancy

8086 Consultancy logo

Nottinghamshire, ENG, UK
2 orders since Apr 20, 2026
Maker of things mostly for the Raspberry Pi and Arduino world.