ts-7000
[Top] [All Lists]

[ts-7000] TS-BAT3: understanding the reply

To:
Subject: [ts-7000] TS-BAT3: understanding the reply
From: "Wim Vinckier" <>
Date: Wed, 7 Feb 2007 18:20:12 +0100
Hi List,

I'm trying to understand the reply while querying the bat3 but there
are a few parts I don't understand.  Looking at
ftp://ftp.embeddedarm.com/bat3/GettingStarted.txt I see the definition
of the struct bat3Info but there are a few field which I don't
understand.

  float supplyV; // supply voltage
  float regV; // regulated supply voltage

These return values like 39812(supplyV) and 26623 (regV) when running
from a powersource (24V).  On batteries these values return 1023.

  dword pwm1en:1, // set if PWM1 is enabled
        pwm2en:1, // set if PWM2 is enabled
        offset:1, // reserved
        opamp:1,  // must be enabled to read battery current
        buck:1,   // reserved
        led:1,    // set if the LED on the board is on
        jp3:1,    // set if JP3 on the board is on
        onbatt:1, // set if running on batteries
        softJP3:1,// set automatically if battery voltage drops too low
        locked:1; // set if bat3 has locked onto the target charge current

What is PWM1 and PWM2 for?  I suppose it's UPS related but that's the
only thing I know.
softJP3 is supposed to be set when the power drops but it wasn't in my
testcase.  The docs say there's more info while running 'bat3 --help'
but that isn't very clear either.

Can someone give me any help?

Tnx,

wim.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU