ts-7000
[Top] [All Lists]

Re: [ts-7000] switch a 5v dc power switch off the DIO ts-7200

To:
Subject: Re: [ts-7000] switch a 5v dc power switch off the DIO ts-7200
From: Triffid Hunter <>
Date: Wed, 13 Feb 2008 16:31:55 +1000 (EST)
On Wed, 13 Feb 2008, Ashley wrote:

> I just purchased my first embedded project. A TS-7200. In the manual
> it tells how to read the input of a pushbutton on DIO 1.
>
> How do I program the DIO to connect a flipflop so it can to ground an
> external 5 volt line.
>
> I guess what I am trying to say Is I wanted to connect the DIO to the
> DC power switch pins on a standard PC to turn it on/off.
>
> Schematics...Code...transistors chips.. any direction would be helpful.
>
>
> Thanks,
> -Paul
> e:pknific (AT) gmail.com

You'll need a transistor and a resistor.

The DIO ports run on 3.3v logic, not 5v so you can't connect them 
directly.

instead, try this: dio -> 1k resistor -> transistor base, transistor 
emitter -> ground, transistor collector -> pc power pin.

The ground will have to be common to both machines, and you'll have to 
work out which of the 2 wires on the switch is ground and which is signal.

Since ATX motherboards use momentary pushbuttons, you don't need a flip 
flop -
pcon () {on, usleep 10000, off}
pcoff() {on, usleep 7000000, off}

or similar.

You may be able to run the ts-7200 from the power supply's 5VSB output, 
but check that the power supply is capable of more than 500mA on that 
line.


 
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