

See Garage Door Remote for a detailed example, with full Arduino code and an example of controlling the relay from TeraTerm as well as the Arduino IDE SerialMonitor. The message protocol encloses commands in, think simplified html for micros, and provides numerous screens, menus, sliders, text and numeric inputs, etc. It uses an Arduino board, with a USB connection, (and Uno for example) to control the relay and combines this with pfod (Protocol for Operation Discovery) which will let you control the board/relay from either the Arduino IDE SerialMonitor, or a terminal window (TeraTerm) or a Java program. Can I write a program that swiches USB on/off.Is there software or code to alter USB power output.Power off an USB device in software on Windows.

This post sugggests the Linksys USB2HUB4 is one that works.ĮDIT (and again): Apparently there are a number of similar questions, but there don't seem to be any more useful answers: There are a number of projects on instructables that do similar to what you describe, but unfortunately they seem to either be quite complicated or require expensive parts.ĮDIT: There is actually a product currently in the news which would do want you want, but it doesn't appear to be shipping yet: ĮDIT (again): Apparently you can do this with some usb hubs. You can send a reset to a USB device, but that won't work in your case. The power supply is usually hardwired through, and not switchable in software. Unfortunately, in most cases you cannot control the power supply to the USB port.
