ts-7000
[Top] [All Lists]

Re: [ts-7000] Implementing Shutdown Button from XDIO

To:
Subject: Re: [ts-7000] Implementing Shutdown Button from XDIO
From: Jim Jackson <>
Date: Mon, 19 Oct 2009 14:33:25 +0100 (BST)


On Mon, 19 Oct 2009, ApOgEE wrote:

> Hi all,
>
> I've been searching on how to make Shutdown button on my TS-7260 using the
> DIO2 but I can't find any clues.
>
> As I can see in the ts-7260 manual, Pin 6 on DIO2 is for shutdown. Can
> anyone help me on how can I do it? or point me to the right direction. I
> have no formal electronic background. I'm just good at programming. But I
> like electronic and would like to learn from all of you.
>
> I've tried to short pin 2 (GND) and Pin 6 (SHD), but it cause the board
> reset. And if i short it before turn the power on, the board won't boot.

So it's working then :-) I'd guess it is shutting down the board, which is 
not the same thing as shutting down the operating system!

> I'm thinking, if I can use this to properly shutdown the board like using
> the command # shutdown -h now

Something like. So you simply need to use an unused DIO input connected to 
a switch (NOT Pin6 on dio2 !). Then you need to write a small program that 
continually (well maybe every second or 2) monitors the switch.
If it is pressed for longer than say 4 secs (whatever) then your program 
executes the relevant shutdown command to stop the Operating System.

With a bit more electronics you could get this program to shutdown the 
power to the board too.

Happy hacking.

>
> Is that what it is used for? Can anyone guide me please?
>
> -- 
> Best Wishes,
>
> ApOgEE
>


------------------------------------

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