I know you are out there, somewhere, and I need your help. I'm looking to build a small circuit of some kind which will sense whether AC is present or not and if it goes off, then a program which will shut down my beige G3 fileserver after say, five minutes or so. I know there are newer UPS systems designed for this purpose, but my APC UPS is but a couple of years old and I just bought a brand new battery for it! Call me cheap, call me dumb, I don't care, I just would like to do this project for something to do and to save a few bucks in the process. My idea would involve a wallwart to keep the voltage low and a sensing circuit which would provide a signal of some sort to the serial port. The program would poll the serial port for that signal and If it is not detected, a count would begin and continue until approximately 5 minutes has gone by and then proceed to safely shutdown the computer. If the power comes back on before the 5 minutes are up, the counter would be reset. I think most all of the newer sensing UPS systems use USB for this process, but my old beige G3 doesn't have a USB card in it, so I figured the serial port would work for the same purpose. So how about it, anybody up to the challenge?

Just a message from Doug...


--
G-List is sponsored by <http://lowendmac.com/> and...

Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
-- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

     Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to