How to build a simple device that turns off external appliances when your computer shuts down

This very simple circuit will turn off anything when you shutdown your computer. It works by using the power of the usb port to turn on a relay. When your computer is off the usb port has no power and the relay opens the circuits to the devices that are plugged in.

Parts

 * 1 Relay:
 * If you plan on using less than 1A; Get 1-Amp SPDT Micro Relay-5VDC Model: 275-240 at Radio Shack
 * More than 1A: Part #255-1103-ND from http://www.digikey.com
 * power cord and socket, you can use a power strip
 * USB Cable

Steps

 * 1) Cut the usb cord, keeping the computer side long.
 * 2) * i.e. cut the B-plug off
 * 3) Strip the +5 and ground wires
 * 4) * the 1 and 4 wire, probable black and red. See USB pinout below
 * 5) Solder wires to the coil of the relay.
 * 6) Cut one of the power cords wires and solder one end to normally open (NO) and the other end to common.

Credits

 * Designed and published by User:ZyMOS

From HowTo Wiki, a Wikia wiki.