Hi Satish,
Thanks for your reply. This is exactly what I will be doing.
It's too bad that the sleep command can't take two parameters, something
like --sleep <sleep seconds> <wait seconds> that we we could give the main
computer some time to do a graceful shutdown. I also had another thought
along these lines. When the Bat3 functions as a UPS it knows when it has
lost external power and sends a message to the main computer to do a
graceful shutdown and this works quite nicely. If sleep functioned more like
this procedure that would be perfect. So here's how it would work. We finish
up everything that we are doing on the main computer and then issue the
sleep command for 300 seconds. The bat 3 gets the message and starts it's
counter and sends the same command back to the main computer that it sends
during a power failure that causes a graceful shutdown. Maybe Derek could
chime in on this idea and how hard or easy it might be to implement?
There is one other issue I'm having and wondering if you are seeing as well.
It might not be a concern for you as you are using a big lead acid battery.
In our tests so far it appears that the Bat3 is using .125 watts in sleep
mode. Can you confirm this. This is a little too much for our project.
Thanks again.
Jeff O'Brien
> Jeff,
> I am using the TS-BAT3 with 7260. I am doing an SD card boot (2.4
> kernel) so these are my steps.
>
> * in /linuxrc (load the bat modules) This will enable the TS7260 to
> control the TS-bat3 including going to sleep at a later stage.
> * Run whatever I want in /linuxrc. Ex. I am getting data from a weather
> station, writing to a log and then sending it via Iridium. I call this
> program also in /linuxrc after the ts-bat3 files have been loaded
> * Do a 'sync' to make sure the buffers are all flushed and everything is
> written to the disk (SD card).
> * Call the sleep function of the TS-bat3. This basically shuts off power
> to the 7260 abruptly (hence the sync). After time has elapsed, bat3 will
> supply power to the 7260 (waking it up). And the circle of life continues...
>
> There are few things that you need to be aware.
> * JP7 on 7260 needs to be enabled for TS-bat3 to supply power to the
> 7260. Make sure you also do not power the board when using the bat3
> * ts-bat3 just shuts off power so you need to do sync or risk corrupting
> your data.
> * Sleep time is the time the system is off. So if want the system to
> come up every 300 seconds, you need to calculate the sleep time plus the
> time of operation=300.
> * There are battery charging routines but I am not using them as the
> bat3 is using power from lead acid battery in my setup.
>
> Cheers,
> -Satish.
>
> Jeff wrote:
>>
>>
>> Hi All,
>> I have just did a search for BAT3 and read through about 165 posts. I'm
>> still a little fuzzy on what the BAT3 can do for my particular need.
>>
>> I have a TS-7260 that is being used as the controller for an autonomous
>> instrument system. This system will be on for 15-20 minutes then i need
>> to be able to power it down and have some other external system wake it
>> up at some programmable time interval. Can the BAT3 do this for me?
>>
>> The web page for this product would lead me to me believe that this is
>> possible with the verbiage "Sleep mode w/ programmable wake-up".
>> However, I am getting mixed answers to this question.
>>
>> If the answer is yes it can do it would you be able to give me a brief
>> synopsis of how it works?
>>
>> Thanks for your time.
>> Jeff O'Brien
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
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/
|