Re: How to detect power cutout for PC?
- From: Emre Sevinc <emres@xxxxxxxxxxxx>
- Date: Sun, 18 Sep 2005 23:54:50 +0300
Rene Tschaggelar <none@xxxxxxxx> writes:
> Emre Sevinc wrote:
>
>> Rene Tschaggelar <none@xxxxxxxx> writes:
>>
>>>emre.sevinc@xxxxxxxxx wrote:
>>>
>>>
>>>>I need a circuit that can detect when electricity goes out
>>>>and sends a signal to the serial port of my PC, so that a
>>>>program that continously listens to the serial port can
>>>>understand the situation and send a poweoff command to the
>>>>operating system. I already have a simple UPS but I need
>>>>such an extra circuit because UPS doesn't last for long.
>>>>I have two purposes:
>>>>1- Learn how to build such a circuit.
>>>>2- Save my PC from unhealthy shutdowns.
>>>>I have only beginner's knowledge of electronics
>>>>so any resource, URL, etc. that provides
>>>>clear instructions will be very useful.
>>>
>>>IMO, one of the handshake signal inputs of the
>>>Serialport is used for exactly that purpose.
>>>A decent OS already has a driver to listen to this signal.
>> My main OS at home is Debian GNU/Linux and if I can construct such a
>> circuit I think
>> it is not going to be very difficult to write
>> a program that listens to the serial port and
>> issues the shutdown command when it receives
>> some bit from there.
>> The main challenge for me is to construct
>> such a circuit.
>
> Detection of missing power is not that hard as
> long as you have some left. From the battery powered,
"From the battery powered"... you mean the circuit that
is going to be constructed?
> detect whether the secondary of the transformer
> is delivering power. EG, attach before the rectifyer
Hmm, first I have to learn what a rectifier diode is and what
is its specification.
> a diode plus an RC. As long as the RC is having voltage,
> there is line power.
You mean an RC circuit? Just a resistor and capacitor?
Or some specific RC circuit? What kinds of resistor(s)
and capacitor(s)?
--
Emre Sevinc
eMBA Software Developer Actively engaged in:
http:www.bilgi.edu.tr http://ileriseviye.org
http://www.bilgi.edu.tr http://fazlamesai.net
Cognitive Science Student http://cazci.com
http://www.cogsci.boun.edu.tr
.
- References:
- Re: How to detect power cutout for PC?
- From: Rene Tschaggelar
- Re: How to detect power cutout for PC?
- From: Emre Sevinc
- Re: How to detect power cutout for PC?
- From: Rene Tschaggelar
- Re: How to detect power cutout for PC?
- Prev by Date: Re: Switching losses in half bridge
- Next by Date: Inverse D squared v/s Inverse D sixth power ?
- Previous by thread: Re: How to detect power cutout for PC?
- Next by thread: Re: How to detect power cutout for PC?
- Index(es):