How To Wiki
Register
Advertisement

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
Cost Time Difficulty Age Group
20$US 30m easy 12+
About:Ratings


Steps[]

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

Pictorial Diagram[]

Power-usb-switch

Credits[]

From HowTo Wiki, a Wikia wiki.

Advertisement