On 16-02-2013 01:45, Arun Khan wrote:
On Fri, Feb 15, 2013 at 7:57 PM, Binand Sethumadhavan <[email protected]> wrote:
I am thinking of something like a mobile charger that would plug in a
regular 3-pin plug at one end and a computer at the other, and some
software/sensor combo that would read the (DC) voltage at the computer end.
If there is no voltage, there is no power in the mains and ergo - we are in
the middle of a power outage, so take action. Know of something along these
lines?

(idea is to detect power failures, while powered by a "dumb" UPS unit - one
that cannot communicate with the a computer. Any other
solutions/suggestions?).

Good idea.  You could use one of those AC Mains to USB
adapter/charger; which I think gives out 5V on the USB power line.   A
USB cable into the computer USB port should be a good starting.

-- Arun Khan
-------------- Complex Idea ------------------------------------------
Generally an UPS  will have a led indicator of the power source AC/Battery
check this http://electronics.stackexchange.com/questions/26101/connect-a-light-sensor-to-pc
now you can use the frequency generated as an input to the line-in of the pc

-------------- Simple Idea ------------------------------------------
Use an electomagnetic switch which switches on when the magnet is off
This can be adapted to setting a signal on the USB/Serial Port

 Surya Pratap
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to