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 ads by
Signing UpStep 1Construction
| « Previous Step | Download PDFView All Steps | Next Step » |







































http://www.globalspec.com/FeaturedProducts/Detail/TeledyneRelays/Commerical_DC_SolidState_Relay/39618/0?fromSpotlight=1
The two wires from the LPT port attach to two of the contacts on the relay, usually labeled "5V" or "TTL". The two contacts from the 110V side connect to the switched contacts on the other end.
If you wanted to be safe you could add an opticoupler on the 5V side.
I also found these
http://www.hobbyengineering.com/H1268.html
I would check here: http://www.epanorama.net/circuits/parallel_output.html
He seems to have it under control.
There is a driver available here:
http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Windows_98/2000/NT/XP.html
as well as some simple example code. I found another controller board that looks the same as the one you listed:
http://electronickits.com/kit/complete/elec/ck1601.htm
The description says that it comes with the software, so that may be a good option as well.
If you cracked a remote open, you could solder the switch terminals so that it would send the signal to turn your stuff off.
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.
http://forums.firedaemon.com/viewtopic.php?t=27
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=9D467A69-57FF-4AE7-96EE-B18C4790CFFD
"Instrsrv.exe installs and removes system services from Windows NT and Srvany.exe allows any Windows NT application to run as a service."
As far as the switching, I *believe* they will work as a normal switch. I have used lower power SSRs in this manner with no problems. I honestly can't say I have tried these AC relays that way, I just have not had any call to do so. Wiki has some good info though http://en.wikipedia.org/wiki/Solid_state_relay
As far as the current draw for the LPT port, this site has some good info: http://www.tkk.fi/Misc/Electronics/circuits/lptpower.html
Normal UM82C11-C IEEE 1284 level II
Data output (>2.4V) 2.6 mA 2 mA 14 mA
Data line sink (<0.4V) 24 mA 24 mA 14 mA
Control output (>2.4 V) 0.5 mA* 1.5 mA ?
Signal lines (short circuit) 1 mA ? ?
Control line sink (<0.4V) 7 mA 7 mA 14 mA
Generally, you don't want to mess around with trying to draw too much current off the port. once it's burned out, it's done. and that's a new motherboard.
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.