Control the power for a USB 3 device from a button or GPIO output on a microcontroller board with this small module from our pals at 8086.
The board can be used to control power for many different types of USB 3 devices, such as flash drives, webcams, etc.
Logic Level
"PU" solder jumper bridged closest to PCB edge, "OD" solder jumper bridged away from PCB edge
The USB Power Switch is normally OFF
EN is pulled low to ground
Applying a voltage >2V (20V max) to the EN pin turns the power switch on
Example: Connect GND (to GND) and EN (to a GPIO) of an Arduino/Raspberry Pi/Pico/etc., set the GPIO pin to be an output and set the pin high to turn the power on
Example: Connect the VBUS and EN pins of the power switch to a slide/toggle switch. When the connection is made by the switch, USB power will be turned on
Important Notes
If your USB device/power supply negotiates a VBUS voltage higher than 5V when using Open Drain setting or changing the PU solder jumper to pull EN high it will be pulled to VBUS (the USB Power Switch itself can switch 5-20V).
USB data lines are connected at all times.
When "PU" solder jumper bridged away from PCB edge, "OD" solder jumper bridged away from PCB edge. EN pin is pulled high to VBUS. USB Power switch is normally ON but still controlled by high(on)/low(off) logic level on EN pin.
When "PU" solder jumper bridged away from PCB edge, "OD" solder jumper bridged closest to PCB edge - Invalid - USB Power Switch is always ON.
This USB3 Power Switch is for USB3 and/or USB2 devices, please see our USB Power Switch if you're looking for a lower-cost power switch which only supports USB 2 speeds.