ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: LEDs

To:
Subject: Re: [ts-7000] Re: LEDs
From: Matthieu Crapet <>
Date: Tue, 10 Jan 2006 00:03:17 +0100
Greetings,

Jesse, you are a fountain of knowledge :) Thanks curtis too !
Sorry to insist again, ascii Schematics ;)

3.3V (Supply, DIO header)
|
R1
|
-
V (LED)
-
|
CPU Pin (DIO_08 = port F bit 0 ; LVTTL [logic 1 = 3.3V] )

So,

(3.3 - 1.6) / 0.0094
With red led, R1 = 180 (sink 9.4ma)
(3.3 - 1.6) / 0.0077
With red led, R1 = 220 (sink 7.7ma)

Is that safe to do that ?

What's exactly happen when DIO_08 is at logic 1 ?

Matthieu


Jesse Off wrote:

>Actually, you likely can connect an LED directly to a DIO port.  You
>must be sure to *sink* current.  Current ratings on CMOS output pins
>are determined based on max current that still result in a valid logic
>level.  In the case of an 8mA rated output sinking its rated 8mA of
>current the voltage measured at the output pin is guaranteed to be <=
>0.4V (which is still a valid 0).  If you exceed the current rating the
>voltage at the pin will rise to a point where it will no longer be
>interpreted as a valid '0' to another CMOS input (you can think of the
>output driver as a resistor to ground).  Since you're driving an LED,
>not another CMOS input, it doesn't matter if the voltage rises a bit
>so you can squeeze a bit more than the rated current out of the pin. 
>You wouldn't want to go a lot more than the rated current, but
>certainly another 2mA (total 10mA) is doable and perfectly safe.  
>
>//Jesse Off
>
>  
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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>
  • Re: [ts-7000] Re: LEDs, Matthieu Crapet <=
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