Programmable USB Switch? [closed]

Is anyone aware of a USB Switch that is programmable or controlled via the PC?

I am writing a test application that requires the device (a mobile phone) to be plugged in via USB to a PC for initialization and then plugged in to a wall charger for a particular test.

Ideally I'd be able to have the phone plugged into the switch and then have two outputs from the switch - one to the PC and one to the wall charger. And then be able to set which connection to use from the PC.

Any thoughts?

4

2 Answers

This product offering from Acroname looks like it might fit your needs. Programmable through C++ and Python API interface and designed for test automation and regression.

simple and cheap, will have to change it to operate relays instead of just powering lights.

I haven't build the powerswitch example, but have used vusb for both serial and keyboard projects. works with really cheap hardware.

You Might Also Like