How to: Automate Control of Power and Data

Power measurement with the USBHub3+ with HubTool or Brainstem API

How to monitor voltage and power with the GUI or Python

Among other properties, we can view:

  • Per-port Voltage
  • Per-port Current
  • Input Voltage
  • Input Current

Measuring voltage and current with HubTool

If you haven't already, install HubTool, which is part of the Brainstem Dev Kit.
Power on the hub and connect one of the host ports to your computer

Independently control VBus and data connections on each port of the USBHub3+

The USBHub3+ provides advanced control beyond basic on/off switches, allowing for precise USB customization.

The USBHub3+ can also independently enable and disable Voltage and Data:

  • Vbus
  • All Data
  • High Speed data (480 Mbps)
  • Super Speed data (5 Gbps)

We'll be working interactively using the Brainstem API in a Python console so you can see the results line-by-line.