How to make a relay to turn on your USB hdd.
I know the dedicated USB hdd's go to sleep but i was cheap when I set up my HDD.
My set up: 3.5" Sata HDD and ebay enclosure.
My situation: In the beginning I thought it wasnt too hard to switch the HDD on and off... Then I got lazy and decided I could make a relay do this for me using the other usb port to power the relay.
So here is my journey...
Required pieces:
Solder
Soldering Iron
Relay (I used OJE-SH-105DM)
Diode, I used a 1A 50V diode
3 wire extension cord or in this case mine took a standard computer power cord.
USB cable
Here are the supplies:
http://farm3.static.flickr.com/2683/...04856e132d.jpg
http://farm3.static.flickr.com/2613/...15cfce7c51.jpg
Now to start with find a old usb cable.. I used one from a old phone. Cut the end off and seperate the red and black wires from the other two. Cut off the other two.
http://farm3.static.flickr.com/2591/...27565c4bd1.jpg
Next drill a hole the size of your 120V power line in your project box. Make sure that you do it on the edge so that the top of the box completes the circle being that we wont be cutting all the wires.
http://farm3.static.flickr.com/2651/...2052266ba5.jpg
Next drill a hole the size of your USB cable and slide the cable through.
http://farm3.static.flickr.com/2519/...6173857d30.jpg
Take your new relay and find which side is the coil side. The coil side will some resistance whereas the switch side will not(unless switched on)
http://farm3.static.flickr.com/2609/...613a58547f.jpg
Now take your diode and solder it on to the coil(it doesnt matter which side) **I accidently soldered it backwards so make sure to reverse it**
http://farm3.static.flickr.com/2592/...ebb560cb89.jpg
Once you have done that you need to solder the Red wire to the diode and the black wire to the other coil terminal. It should look something like this.
http://farm3.static.flickr.com/2654/...de105ab752.jpg
Now take your power cord and strip off about 1.5 inches of insulation in the area you want the relay box to be, make sure not to cut into the wires underneath. Now cut the white wire and strip the ends like this.
http://farm5.static.flickr.com/4038/...ebec0dfba8.jpg
Now solder the ends onto the remaining two terminals on the relay, it doesnt matter which one goes to what.
http://farm3.static.flickr.com/2665/...05de20fe49.jpg
You can now test it on a usb port and make sure the relay is functioning, if it is not check to make sure your diode is the correct way unlike in the picture.
Once it is working go ahead and neatly and delicately stuff it in your project box.
http://farm3.static.flickr.com/2519/...8f3c5dcbe4.jpg
Put the lid on and your done!
http://farm3.static.flickr.com/2530/...9cf5650713.jpg
Enjoy!