Thanks, It didn't even come to me that they were 5v and 3.3. Does
anyone have some source code for writing the DIO line high for the
transistor?
--- In Triffid Hunter <> wrote:
>
> 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/
|