Hi,
You need a resistor in series with each LED. most LEDs have a voltage
drop of around 2V, so depending on how bright you want the LED to
shine you need to use V=IR with (3.3-2)=I*R.
I'm not sure how much current the XDIO pin can sink, but using that
value in the equation above should get you in the ballpark for the
resistor size (go bigger to be on the safe side).
Also, make sure you're using LEDs designed for low current operation.
Hope this helps,
PJE
--- In ApOgEE <> wrote:
>
> Hi Jim Jackson, thank you for your verification.
>
> Actually, I don't have lecturer or tutor for this. Hope I got one... I'm
> interested in this SBC and learn it by reading manuals and online
> documentation. I hope I got somebody who can guide me, or just point
me to
> where i can get the information I need.
>
> I've tried to connect pin1(xdio0) to the LED(-) and pin16(3.3v) to
LED(+). I
> can boot up my debian on SD card and everything seems working fine. but,
> when I add another LED which I connect on pin3(xdio1) to another
LED(-) and
> share the pin16(3.3v), the board fails to boot and I got kernel panic.
>
> I've googled around to find any document regarding this but seems
there is
> none. That's why I subscribed to this group and hope there is some
gurus out
> there who can help me to achieve this simple LED connection problem.
>
> I haven't start to program it yet but I hope the programming part
should be
> easier because there is samples and API in the development kit.
>
> On Fri, Apr 11, 2008 at 5:17 PM, Jim Jackson <> wrote:
>
> >
> >
> >
> > On Thu, 10 Apr 2008, ApOgEE wrote:
> >
> > > Hi everyone, I'm new with this SBC. Can anyone please tell me
that is it
> > > possible to connect 8 LEDs on the XDIO (DIO2 header) and turn
the LED On
> > and
> > > Off.
> >
> > Yes it is.
> > The pinout of the DIO2 is in the TS documentation.
> >
> > > If it is possible, what is the pinout to connect 8 LEDs on DIO2
header.
> > I'm
> > > currently booting Debian on SD card on this TS-7260. I've tried to
> > connect
> > > one LED on pin 1 (XDIO 0) and pin 16 (3.3v). Is it the correct
way? I
> > can't
> > > find any document on the net regarding this. Please guide me to the
> > correct
> > > way of doing this.
> >
> > I'd consult your lecturer/tutor if you are stuck at this point.
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
> --
> Best Wishes,
>
> ApOgEE a.k.a JeRuNgKuN
> ----------------------------------------------------
> https://edge.launchpad.net/~apogee - ApOgEE on LaunchPad
> http://artofapogee.blogspot.com - Art Of ApOgEE
> http://coderstalk.blogspot.com - Coder's Talk
> http://jerungkun.blogspot.com - The Rojak Blog
> http://reggae-and-ska.blogspot.com - Reggae and SKA Music Blog
> ----------------------------------------------------
>
------------------------------------
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/
|