power monitor module for computer

Discussion in 'General Electronics Chat' started by bug13, Jul 29, 2015.

  1. bug13

    Thread Starter Well-Known Member

    Feb 13, 2012
    1,208
    38
    Hi guys

    I am looking for a power monitor module for computer. The function of such module is like a UPS, but it doesn't have batteries, charging circuit or inverter. It has only voltage monitoring circuit, and have the ability to send a command to a computer to shut it down when the battery is low.

    • It that something like that I can buy?
    • If yes, what do they call? Where I can but if from?

    Thanks guys!!
     
  2. #12

    Expert

    Nov 30, 2010
    16,305
    6,814
    Could you elaborate on this idea?
     
  3. BReeves

    Member

    Nov 24, 2012
    412
    64
    Do not laptops already do exactly that?
     
  4. bug13

    Thread Starter Well-Known Member

    Feb 13, 2012
    1,208
    38
    Let's say a UPS consist of batteries, batteries charging circuit, inverter, batteries fuel gauge, a mean to communicate the remaining energy in batteries to host computer.

    What I am looking for is some sort of module with two of these functions: 1)to monitor batteries status, and 2)communicate the batteries status to the host computer. by usb/serial/erthernet, with some sort of (hopefully standard UPS) protocol that a windows machine can understand. Windows/or an app can shutdown the host computer before the batteries is totally flat.

    The reason for this is I have a panel PC, which is power by 12V, and backup by 12V SLA battery. I need some mean to shut it down properly in case of power lose and backup battery is dead.
     
  5. bug13

    Thread Starter Well-Known Member

    Feb 13, 2012
    1,208
    38
    Yes, and I am hoping there is something like this I can buy of the shelf.
     
  6. BR-549

    Well-Known Member

    Sep 22, 2013
    2,001
    389
    What is a panel PC?
     
  7. bug13

    Thread Starter Well-Known Member

    Feb 13, 2012
    1,208
    38
  8. BR-549

    Well-Known Member

    Sep 22, 2013
    2,001
    389
    Ok, and this panel PC is powered by 12 volts dc, not 120 or 220 volts ac.

    What operating system do you use?
     
  9. bug13

    Thread Starter Well-Known Member

    Feb 13, 2012
    1,208
    38
    Windows 7
     
  10. AnalogKid

    Distinguished Member

    Aug 1, 2013
    4,542
    1,251
    Manu UPS units use SNMP to inform the host processor of UPS status. This requires a processor in the UPS running the SNMP protocol and an app or driver in the host system interpreting and acting on the UPS information. Not a cheap development cycle.

    ak
     
    bug13 likes this.
  11. BR-549

    Well-Known Member

    Sep 22, 2013
    2,001
    389
    ok, is there a laptop option in the power section in control panel?
    What is the name and model # of panel PC?
     
  12. Reloadron

    Active Member

    Jan 15, 2015
    963
    232
    OK, so what this comes down to is a computer powered by a 12 volt battery source and anytime the battery (source) voltage drops below a preset level of for example 12.00 volts you want to initiate a shutdown of the computer. There is the method as AnalogKid mentions which can get expensive and complicated. There really isn't an easy way but there is a quick and dirty method. Either way you will need to write a chunk of code. You could use a small piece of hardware like this to monitor battery voltage. Since it is limited to a 10 volt input you would divide the 12 volts by two so the monitor would effectively see only a 0 to 6 volts. The module I linked to is a 10 bit device so at the analog input 0 to 20 volts (since we divided by two) is equal to 0 to 1023 bits. That gives you 1024 quantization steps. There are dozens of other small inexpensive data acquisition modules out there like the one I linked to and most provide code samples in popular languages like Visual Basic and C languages.

    Microsoft does offer Visual Studio Express as a free download to give you something to program with.

    There are other ways to go about what you are looking to do. Pretty much a matter of budget and work involved.I don't know of a simple turn key off the shelf solution that you can buy.

    Ron
     
    bug13 likes this.
Loading...