USB PowerControl Version 2 for Raspberry Pi and Arduino
This board comes in two versions. USB PowerControl and USB PowerControlNE. The only difference between the boards is the sense of the ENABLE line. The ENABLE line is Active High on the USB PowerControl and Active Low on the USB PowerControl NE.
The USB PowerControl board is a USB to USB solid state relay. It is is a digitally controlled power switch for your Arduino or Raspberry Pi. It is a Pi On and Off switch.
Anything you can plug into a USB port can be controlled with USB PowerControl. It’s easy to hook up. You connect a control line (a GPIO line or the output of a LiPo battery) to the LIPOBATIN line and if the line is LOW (< ~3.3V) the USB Port is off. If it is HIGH (above 3.8V) the USB Port is turned on and you have 5V of power to the USB plug.
We have now added a Grove Digital Input that allows you to control the USB PowerControlV2 using two GPIO Lines (one enable and one control line) to switch on and off from a Grove Digital Port. The Grove Enable Line, when high, disables the LIPOBATIN line and makes control of the device under the Grove Control Line. When the Grove Enable Line is low, the LIPOBATIN line controls the relay as in the original USB PowerControl. The Grove Enable Line is pulled down by a 43K resistor so if it is disconnected, the USB PowerControlV2 is compatible with the original USB PowerControl.
Comments are now closed. Please go to the Product Support Forum at the top of the page.
Application Note Published *Secrets of the USB PowerControl!* Turn your raspberryPi/arduino on and off using this solid state relay. Use a GPIO line, use a WatchDog timer, use a different voltage level to trigger the relay.
This board was initially designed to sit in-between a Solar Power Controller (such as SunAir/SunAirPlus) and a Raspberry Pi / Arduino. The input to the board was designed to come directly from a LiPo battery so the computer won’t be turned on until the LiPo battery was charged up above 3.8V. We provide a hysteresis circuit so the board won’t turn on and then turn immediately off because the power supply is yanked down when the computer turns on (putting a load not the battery). This really happens!!!! You kill Raspberry Pi SD Cards this way.
The software for this device is simple. You use one GPIO line to turn it on or off (or connect it directly to your LiPo battery for automatic control!). It controls the 5V line that powers a USB device plugged into the female USB A power end of the board.
The Grove Digital Input allows you to control the USB PowerControlV2 using two GPIO Lines (one enable and one control line) to switch on and off from a Grove Digital Port. The Grove Enable Line, when high, disables the LIPOBATIN line and makes control of the device under the Grove Control Line. When the Grove Enable Line is low, the LIPOBATIN line controls the relay as in the original USB PowerControl. The Grove Enable Line is pulled up by a 43K resistor so if it is disconnected, the USB PowerControl is compatible with the original USB PowerControl.
USB PowerControlNE has an active low ENABLE line that is pulled high by a 43K Ohm resistor.
- Can Switch the Power to any plugged into the Female A USB port
- On/Off Controlled by a single control line Implements Hysteresis on Control line
- Enable and Control Lines on Grove Connector
- Grove Connector with Enable and Control Inputs
- 3.8V/3.3V Turn On/Off Voltage on Control Line 3.3V Turn Off Voltage on Control Line
- Over Current Protection
- Thermal Shutdown
- Reverse Current Blocking
- Can be connected to GPIO Pin or directly to LiPo Battery
- Supports both Arduino and Raspberry Pi
- Has Dual USB ports – no more cutting USB cables
- Will work with SunAir and SunAirPlus Solar Power Controllers
USB PowerControl Product Specifications
Do I have Version 1 or Version 2?
Version 2 Looks like this:
Version 1 Looks like this:
Block and Application Diagrams