Peripheral Power control with screen saver

Peripheral Power control with screen saver
First: this project plugs into the printer port of a computer. I will not be held responsible for someone torching their motherboard. PLease, please, please be careful and triple check all your connections if you are going to attempt something like this. sending 110v through your printer port is spectacular, but short lived fun.

So,

I tend to leave my computer on all the time. It's a combination of laziness and need. I sit on line quite a bit, and the kids use it as well. I don't think I'm unique here.

Recently moved to a smaller apartment, and finally noticed the somewhat shocking electric bill. When I was in a house, I used to put it down to the baseboard electric heaters, or the watter heater or something. Now, it appears that it pretty much has to be the computer. With the monitor, printer, speakers and other crap I have going all the time, it has to be sucking up the power while it's just idling along. Putting the computer into screen saver still leaves all the external stuff turned on.

Last Christmas I grabbed a bunch of solid state relays off Ebay to use in a computer controlled lighting display. It's came out pretty cool, and left me with 8 spares.

For those who don't know, a solid state relay is something like an electronically controlled switch. More info here: http://relays.globalspec.com/LearnMore/Electrical_Electronic_Components/Relays_Timers/Solid_State_Relays

When I was looking for ways to control my Christmas lights, I came across some software for controlling the LPT (printer) port pins. The raw software is available here: http://neil.fraser.name/

After thinking about my power problem for a while, I decided to try and rig something up to turn on and off a bank of power sockets triggered by the screen saver.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Construction

Construction
I started by building a basic box big enough to hold the 8 relays and the sockets. the control end of each relay connects to one of the control pins and one of the ground pins on the LPT connector. the other side works as a switch for the socket above it. This allows me to control each socket separately.
« Previous StepDownload PDFView All StepsNext Step »
36 comments
Sep 7, 2007. 5:41 PMvlancSoft says:
can you send me the schematic of the relay circuit you used in this project?
Aug 2, 2010. 6:08 PMComputothought says:
Yeas and seal any 120v connections.
Jul 14, 2008. 2:32 PMthermoelectric says:
The Solid State Relays already have a opticoupler connecting the low and high volt sides
Dec 14, 2008. 6:47 AMegriff says:
would you be able to write an script that would power up or down one of the pins based on a hotkey? Like if I hit 8 on the numpad it would power up or down the relay connected to the 8th pin?
Dec 15, 2008. 2:43 AMegriff says:
I want to use it with Voice Activated Controls http://www.dwvac.com/

I also found these

http://www.hobbyengineering.com/H1268.html

Aug 2, 2010. 6:03 PMComputothought says:
I highly recommend http://www.epanorama.net also.
Dec 15, 2008. 11:09 AMegriff says:
jeez that some heavy reading.
Dec 15, 2008. 12:33 PMegriff says:
yeah the software basically allows you to create timed events, I'm looking to hotkey the pins because thats how voice activated commands work.
Dec 29, 2008. 9:33 AMlieuwe says:
about the 'not working when logged out' problem, if you could create a program that pulls all the pins to low when activated, you could just rename it to a .scr and use that as a screensaver
Jun 25, 2008. 1:16 PMDerin says:
JUST WHAT I NEED!!!!!!!!!!!! YOU ARE AWESOME!!!!!!!! just one question:can a timer control the software not your screensaver? im askin because i need a simple timer to charge nimh cells
Dec 31, 2006. 1:41 PMMr.Devious says:
So the moral is? Use moderation in what you plug in I guess. If you had money for a x11 system, that might be a bit better perhaps? But who knows, this website is for creativity and CHEAP THINGS!!! Rock err instructable on people
Jan 1, 2007. 12:36 PMMr.Devious says:
And even yet, adding settings to the screensaver to have the lights only dim to a certain %. That would be easy enough to do and would probably yeild more ideas with the x11 system. I don't know if they have outlets for stuff like stoves, but you could set the temp on your stove and then have the computer turn it on when you get home (time would have to be set) and then you can have it all heated up for when you get in the door so you can make supper? Dumb Idea I guess XD
Aug 20, 2007. 8:53 AMtyleestuff says:
I have a small X10 system and really want to try this. I'm always leaving the lights on. :) Hopefully I can get some code working because I would want it to detect the screen saver on my windows computer, and that isn't whats running the X10 software. My linux box is. Any suggestions?
Aug 20, 2007. 1:21 PM25Kilovolt says:
this is very cool i just did the exact same thing except with a large 10 amp relay and a vb.net program with a timer. i am going to see if I could make it work with serial port instead and use it a windows power device.
Dec 1, 2006. 11:06 AMextremistmike85 says:
Have any of you actually noticed a drop in electric bill because of this? If so then i may have to build one of these suckers! HAPPY DECEMBER!
Nov 19, 2006. 10:57 PMtrebuchet03 says:
Thanks for sharing :) I'll have to see if my external drive disconnecting will bring the machine off screen saver. But this sounds like a good way to save a few more dollars on the bills - not to mention a little greener than keeping everything on all the time :P
Nov 27, 2006. 7:15 PMDaykun says:
If it's a harddrive... please don't shut it down if you don't know if its doing something... You might be copying something to it and then the screensaver starts and goodbye uncorrupted data !
Nov 20, 2006. 10:40 AMColumbusGEEK says:
http://www.firedaemon.com/

This will allow you to run any .exe as a service. The last time I used it you could do one .exe for free, but if youu wanted more they wanted you to register and buy.

There are other ways, but this one is easy peasy.
Nov 22, 2006. 4:29 AMLamity says:
They still have a free verson available:

http://forums.firedaemon.com/viewtopic.php?t=27
Nov 20, 2006. 7:05 PMlinlin says:
Can you give some more specs on the SSRs you used for the project? How much current/voltage is produced from the LPT port when that pin is "on"? Also a question or two about SSRs, is it nessecary to have a (relativly high) AC current flowing through the other side of the device? Can a SSR be used like a normal relay in a sence where the switched side acts like a switch itself, or must it switch something with power? (I have been told that there always needs to be power flowing from the AC side for a SSR to function, this can be easily overcome with another mechanical relay, but its just more work) Thanks, nice project... :)
Nov 20, 2006. 6:47 PMbobdole says:
Wouldn't it be easier to write a screensaver wrapper or a frontend? like take your code, add a line at the end to run your favorite screensaver, compile and rename to .scr, throw it in your system32 directory and away you go
Nov 20, 2006. 9:47 AMbchafy says:
Cool project. Another use is just add some colored spotlights and you have a hombrew disco. I think there's a plugin for xmms or winamp that controls the parallel port like a vu meter.

One rant, your box is made of pressed wood sawdust. Not the best for fire prevention. Id gut an old metal PC case and use that instead, just in case something shorts and starts to burn.

BTW, Ive done a similar project:
http://www.ccs.neu.edu/home/bchafy/pstrip/dpmspowerstrip.html
It's dpms based, uses a mechanical relay and other junkbox parts.

I also have the mentioned epson printer. Great printer, but the 10+ minute selftest on powercyle drains all the ink away. Also mine consumes the parallel port.
Nov 20, 2006. 8:10 AMLogic says:
Do the relays get warm at all while operating? Because if so, on average they may be using more power during their on time than the appliances would use in their standby state...I'm just saying this because it's the kind of thing that would happen to me, and someone would point out after I'd done all the work. Time for a little math?
Nov 19, 2006. 10:47 PMLasVegas says:
Just don't use this to power up and down an Epson printer. Every time power is removed from an Epson, the heads are automatically cleaned. Could be a real waste of ink... Most modern monitors go into Energy Star Compliant mode when the video signal is off. This mode uses very little electricity. Just enough to sense the video signal's return and perhaps an amber LED. Now… If you're using a Teletype for your printer, most definitely shut the thing down when you're not using it!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
35
Followers
11
Author:photozz