This is Version TWO of the USB PowerControl. Version ONE is here.
This is the NE version of the USB PowerControl. The difference between the two is that the ENABLE line in the Grove GPIO version is active low (0) not active high (1).
THIS IS THE ONLY DIFFERENCE!
Note: If you leave the Grove Connector unconnected, Version Two behaves exactly like Version One.
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 to the Grove connector (two GPIO lines) 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 up by a 43K resistor so if it is disconnected, the USB PowerControlV2 is compatible with the original USB PowerControl.
Grove GPIO Control Circuitry for NE
This circuitry is provided to allow the USB PowerControlV2 to be controlled by either LIPOBATIN or the state of the CONTROL Line (J3 Pin 1). ENABLE (J3 Pin 2) controls whether the USB POWERCONTROLV2 is switched by LIPOBATIN or the CONTROL line. Remember that LIPOBATIN is not a digital input. It is designed to look at the voltage level of the battery.
The truth table for the USB PowerControlNE V2 is given below:
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 either connect 2 GPIO lines to the Grove Connector (either using a Grove cable or jumpers), or use the LIPOBATIN. The USB Grove Connector controls the 5V line that powers a USB device plugged into the female USB A power end of the board. Or use LIPOBATIN for battery level control.
- 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
- 3.8V/3.3V Turn On/Off Voltage with LIPOBATIN
- Grove Digital Connector - ENABLE and CONTROL your USB Port
- 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
- Making the USB PowerControl on by Default, when connected to a GPIO that needs to be initialized (like the Pi and Arduino GPIOs)
- Turning off the USB PowerControl even if the battery is higher than ~3.3V and lower than ~3.8V.
- Controlling the USB PowerControl with a 3.3V GPIO Line, WITHOUT a buffer.
An Instructable for Building a Complete Raspberry Pi Weather Station using the USB PowerControl
USB PowerControl V2 Product Specification Download
Block and Application Diagrams
USB PowerControl Application Diagram