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/
|