The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
Driving LEDs - Chetan Bhargava - Aug 10 22:52:24 2008
Hi All,
I'm working on an app that has a matrix of 4x3 LEDs driving them
multiplexed. Reading previous group posts tell me that F2013 can
source only 2ma which might be insufficient.
Current data sheet SLAS491D has only two occurrences of the work sink
and none of them relate to output sink current. Same is with "source"
:-) that has more occurrences.
Should I use transistors or use a PIC? Any comments /suggestions would
be appreciated.
Thanks.
Chetan
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: Driving LEDs - old_cow_yellow - Aug 10 23:54:34 2008
I think you can drive/sink a lot more than 2mA with MSP430.
How much current do you want to go through the LED?
At that current, how much voltage is dropped across that LED?
Only one of the 4x3=12 LEDs is on at any given moment. Correct?
--- In m...@yahoogroups.com, "Chetan Bhargava"
wrote:
>
> Hi All,
>
> I'm working on an app that has a matrix of 4x3 LEDs driving them
> multiplexed. Reading previous group posts tell me that F2013 can
> source only 2ma which might be insufficient.
>
> Current data sheet SLAS491D has only two occurrences of the work sink
> and none of them relate to output sink current. Same is with "source"
> :-) that has more occurrences.
>
> Should I use transistors or use a PIC? Any comments /suggestions would
> be appreciated.
>
> Thanks.
>
> Chetan
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Onestone - Aug 11 1:00:12 2008
As you draw more current the voltage available will drop, hwoever,
depending upon what you want to do 2mA should be adeqaute to drive most
LEDs. Obviously it won't drive White LEds or Blue LED sparticularly well
(these require voltages greater than 3V normally). I have practically
experimented with this for designs that require a LED but which are also
low power designs. a !k resistor in series with the RED LED was used,
and the green LED was tested with whatever resistor is on the EZ430-2013
board. (I also tested a blue LED and it was highly visible too)
Given a common 0603 RED or Green LED driven at 40Hz, ie it is pulsed ON
40 times a second, for a period of 1msec the LED will appear to be
constantly ON. (In fact the LEd will appear to be constantly On to most
people above about 12Hz). This LED is readily visible across a room in
daylight at 10mtr.
You can directly drive the 12 LEDs with 4 pins supplying the anodes and
3 pins supplying the cathodes (doesn't matter which). use a single timer
channel set to interrupt at 2msec intervals (about 65 counts for a watch
crystal) hold the cathod pattern in one variable, ie if that LED is ON
clear the relevant bit, if it is off set the relevant bit) and change
this pattern every ISR by writing the changed values to the releavnt I/O
pins. The anode pattern is simpler, the selected Anode is always ON, and
the others are off,. every 3rd time the ISR is visited change the anode
pattern.
You can then play around with current reduction by varying the number of
cathode periods processed (ie add 1 cathode period, as if there were
actually 4 cathodes to control and you get 25% of the time with NO LEDS,
add 3 more cathode periods and you get a 505 current reduction.
You ca also vary the basic timerr ate (ie this is based on approximately
40hxz 12 periods, use 25Hz 12 periods and you get a longer ON time for
the LEDs. Experimentally I've found 1msec ON to be a good compromise,
while 0.5msecs still works but does not appear quite so bright, so in
the above scenario you could probably get current draw only 50% of the time.
Cheers
Al
Chetan Bhargava wrote:
>Hi All,
>
>I'm working on an app that has a matrix of 4x3 LEDs driving them
>multiplexed. Reading previous group posts tell me that F2013 can
>source only 2ma which might be insufficient.
>
>Current data sheet SLAS491D has only two occurrences of the work sink
>and none of them relate to output sink current. Same is with "source"
>:-) that has more occurrences.
>
>Should I use transistors or use a PIC? Any comments /suggestions would
>be appreciated.
>
>Thanks.
>
>Chetan
>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: Driving LEDs - Chetan Bhargava - Aug 11 1:04:47 2008
--- In m...@yahoogroups.com, "old_cow_yellow"
wrote:
>
> I think you can drive/sink a lot more than 2mA with MSP430.
>
> How much current do you want to go through the LED?
I'm not sure as I haven't decided on LED yet. I'll grab some high
brightness ones (0805) from ebay. I'm thining of these
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=310073391657
I'll have to test brightness levels at various current levels.
> At that current, how much voltage is dropped across that LED?
The Vdd will be 3.0V (CR2032) and the forward voltage of the Red LED
as specified by the supplier (link above) is 2.1V.
> Only one of the 4x3=12 LEDs is on at any given moment. Correct?
Yes, that is correct. They will only light when user presses a button.
Thanks,
Chetan
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Chetan Bhargava - Aug 11 1:33:46 2008
Thanks for nice pointers Al.
I will be using a 32KHz xtal and waking up from lpm3 and service some
registers. After that the program will check if user pressed a button.
If yes then display the data on LEDs.
I have already posted link for the LEDs that I might be using.
I wanted to use the blue LEDs but their forward voltage is more than
what a CR2032 can deliver.
Also can I replace the push button with capacitive touch pad? I only
have one pin left after the LEDs and 32KHz xtal. Or can a capacitive
pad can be incorporated among the LED outputs? That will free up a pin.
Thanks,
Chetan
--- In m...@yahoogroups.com, Onestone
wrote:
>
> As you draw more current the voltage available will drop, hwoever,
> depending upon what you want to do 2mA should be adeqaute to drive most
> LEDs. Obviously it won't drive White LEds or Blue LED sparticularly
well
> (these require voltages greater than 3V normally). I have practically
> experimented with this for designs that require a LED but which are
also
> low power designs. a !k resistor in series with the RED LED was used,
> and the green LED was tested with whatever resistor is on the
EZ430-2013
> board. (I also tested a blue LED and it was highly visible too)
>
> Given a common 0603 RED or Green LED driven at 40Hz, ie it is pulsed ON
> 40 times a second, for a period of 1msec the LED will appear to be
> constantly ON. (In fact the LEd will appear to be constantly On to most
> people above about 12Hz). This LED is readily visible across a room in
> daylight at 10mtr.
>
> You can directly drive the 12 LEDs with 4 pins supplying the anodes and
> 3 pins supplying the cathodes (doesn't matter which). use a single
timer
> channel set to interrupt at 2msec intervals (about 65 counts for a
watch
> crystal) hold the cathod pattern in one variable, ie if that LED is ON
> clear the relevant bit, if it is off set the relevant bit) and change
> this pattern every ISR by writing the changed values to the releavnt
I/O
> pins. The anode pattern is simpler, the selected Anode is always ON,
and
> the others are off,. every 3rd time the ISR is visited change the anode
> pattern.
>
> You can then play around with current reduction by varying the
number of
> cathode periods processed (ie add 1 cathode period, as if there were
> actually 4 cathodes to control and you get 25% of the time with NO
LEDS,
> add 3 more cathode periods and you get a 505 current reduction.
>
> You ca also vary the basic timerr ate (ie this is based on
approximately
> 40hxz 12 periods, use 25Hz 12 periods and you get a longer ON time for
> the LEDs. Experimentally I've found 1msec ON to be a good compromise,
> while 0.5msecs still works but does not appear quite so bright, so in
> the above scenario you could probably get current draw only 50% of
the time.
>
> Cheers
>
> Al
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - old_cow_yellow - Aug 11 2:02:23 2008
Those LEDs from ebay are rated for 20mA. The voltage drop is at least
2.1V and up to 3.4V
If you take a look at F2013 data-sheet slas419d.pdf page 28 Fig 5 and
Fig 7, you will see that MSP430 can source/sink 20 mA.
However, the source/sink will drop about 0.7V each. Assuming that you
are using 3.6V (max for F2013), 3.6-0.7-0.7=2.2V. That is, you have at
most 2.2V left for the LED. That is very marginal. You cannot use a
current limiting resistor at all.
Thus for MSP430, you need to add at least 3 transistors (better still
3+4=7 transistors) to reduce the voltage drops of the source/sink.
Other 3V microprocessor may have the same problem. Old 5V ones have
less problem in this respect.
--- In m...@yahoogroups.com, "Chetan Bhargava"
wrote:
>
> --- In m...@yahoogroups.com, "old_cow_yellow"
> wrote:
> >
> > I think you can drive/sink a lot more than 2mA with MSP430.
> >
> > How much current do you want to go through the LED?
>
> I'm not sure as I haven't decided on LED yet. I'll grab some high
> brightness ones (0805) from ebay. I'm thining of these
> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=310073391657
>
> I'll have to test brightness levels at various current levels.
> > At that current, how much voltage is dropped across that LED?
>
> The Vdd will be 3.0V (CR2032) and the forward voltage of the Red LED
> as specified by the supplier (link above) is 2.1V.
>
> > Only one of the 4x3=12 LEDs is on at any given moment. Correct?
>
> Yes, that is correct. They will only light when user presses a button.
>
> Thanks,
>
> Chetan
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - ahmed abdel rahim mohamed - Aug 11 2:03:32 2008
--- In m...@yahoogroups.com, "Chetan Bhargava"
wrote:
>
> Hi All,
>
> I'm working on an app that has a matrix of 4x3 LEDs driving them
> multiplexed. Reading previous group posts tell me that F2013 can
> source only 2ma which might be insufficient.
>
> Current data sheet SLAS491D has only two occurrences of the work sink
> and none of them relate to output sink current. Same is with "source"
> :-) that has more occurrences.
>
> Should I use transistors or use a PIC? Any comments /suggestions would
> be appreciated.
>
> Thanks.
>
> Chetan
>HI FRIEND i think pic for microchip company is a great solution
it's able to sink and source till 20 m a that for "mid range family"
or you can use line driver "DM 74LS541" CHIP or "74AC244"
OR USE ordinary transistor circuit as you suggest before
thank
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Chetan Bhargava - Aug 11 2:32:59 2008
--- In m...@yahoogroups.com, "old_cow_yellow"
wrote:
>
> Those LEDs from ebay are rated for 20mA. The voltage drop is at least
> 2.1V and up to 3.4V
>
I think the seller means 100mcd@20ma but am not very certain.
> If you take a look at F2013 data-sheet slas419d.pdf page 28 Fig 5 and
> Fig 7, you will see that MSP430 can source/sink 20 mA.
You mean slas491D page 26 right? as I can't find slas419d.
>
> However, the source/sink will drop about 0.7V each. Assuming that you
> are using 3.6V (max for F2013), 3.6-0.7-0.7=2.2V. That is, you have at
> most 2.2V left for the LED. That is very marginal. You cannot use a
> current limiting resistor at all.
I would like to drive them at 5-10 ma depending on the brightness I
get out of them. My Vdd would be 3.0v and it looks like it would be
hard to find an LED with forward voltage less than 2.1v. TI's
capacitive demo board is powered by a 3v battery and still the LED is
pretty bright. I'll have to check the specs on the LED they have used.
> Thus for MSP430, you need to add at least 3 transistors (better still
> 3+4=7 transistors) to reduce the voltage drops of the source/sink.
>
> Other 3V microprocessor may have the same problem. Old 5V ones have
> less problem in this respect.
Well, that would be 3 components per drive line (two resistors and a
transistor at least). I would rather avoid additional discrete components.
Thanks,
Chetan
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Chetan Bhargava - Aug 11 2:36:07 2008
> >HI FRIEND i think pic for microchip company is a great solution
> it's able to sink and source till 20 m a that for "mid range family"
> or you can use line driver "DM 74LS541" CHIP or "74AC244"
> OR USE ordinary transistor circuit as you suggest before
> thank
Perhaps a ULN2003 rather than a LS device :-)
Thanks.
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: Re: Driving LEDs - Onestone - Aug 11 2:56:43 2008
The 20mA is for the rated brightness, dropping the current drops the
brightness. In most cases for simple indicators high brightness is
unnecessary, the eye can detect extremely low levels of light, and when
that light is a point source cwith hig contrast ratio against the
background the, it tends to have persistence, and appear brighter
than it actually is. this also allows comparatively low blink
frequencies to appear to be continuous. One series of LEDs I commonly
use are the PicoLED series (SML-P12) from ROHM. All of the LEDs in this
series have a rated forward current of 20mA, and a Forward voltage
between 2.0 and 2.2V, yet all of them operate with a 1K series resistor
under the timing parameters given in my earlier post, and are clearly
visible through a semi-opaque encapsulating material across a room.
These are 0402 size.
I would never attempt to drive anything at more than a couple of mA
directly from the MSP430, especially using a small coin cell. the coin
cells themselves are not capable of driving high currents, and when the
losses trough the micro are combind with the losses from the coin cell
you are asking for trouble, whether or not you use tansistors, you
cannot over come the poor high pulse current performance of a standard
lithium coin cell.
Al
old_cow_yellow wrote:
>Those LEDs from ebay are rated for 20mA. The voltage drop is at least
>2.1V and up to 3.4V
>
>If you take a look at F2013 data-sheet slas419d.pdf page 28 Fig 5 and
>Fig 7, you will see that MSP430 can source/sink 20 mA.
>
>However, the source/sink will drop about 0.7V each. Assuming that you
>are using 3.6V (max for F2013), 3.6-0.7-0.7=2.2V. That is, you have at
>most 2.2V left for the LED. That is very marginal. You cannot use a
>current limiting resistor at all.
>
>Thus for MSP430, you need to add at least 3 transistors (better still
>3+4=7 transistors) to reduce the voltage drops of the source/sink.
>
>Other 3V microprocessor may have the same problem. Old 5V ones have
>less problem in this respect.
>
>--- In m...@yahoogroups.com, "Chetan Bhargava"
wrote:
>
>
>>--- In m...@yahoogroups.com, "old_cow_yellow"
>>wrote:
>>
>>
>>>I think you can drive/sink a lot more than 2mA with MSP430.
>>>
>>>How much current do you want to go through the LED?
>>>
>>>
>>I'm not sure as I haven't decided on LED yet. I'll grab some high
>>brightness ones (0805) from ebay. I'm thining of these
>>http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=310073391657
>>
>>I'll have to test brightness levels at various current levels.
>>
>>
>>>At that current, how much voltage is dropped across that LED?
>>>
>>>
>>The Vdd will be 3.0V (CR2032) and the forward voltage of the Red LED
>>as specified by the supplier (link above) is 2.1V.
>>
>>
>>
>>>Only one of the 4x3=12 LEDs is on at any given moment. Correct?
>>>
>>>Yes, that is correct. They will only light when user presses a button.
>>
>>Thanks,
>>
>>Chetan
>>
>>
>>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - old_cow_yellow - Aug 11 3:05:53 2008
Yes, I think you get 100MCD @ 20mA for the Red one. and the voltage
will be 2.1V to 2.3V. You get lower current and lower light output
with less voltage drop. But it is more efficient to use 20mA and PWM
to reduce the average current. (20mA with 10% duty cycle looks much
much brighter than 2mA with 100% duty.)
(BTW, the Blue one needs higher voltage and produces lower light
output. Is that desirable?)
Yes, I mean slas491, not slas419.
If the LED also has a voltage vs current curve, you can find out what
current you get with a given total voltage.
Note that for 3x4 LEDs, you need both source and sink. TI uses only 1
LED with a source but no sink.
You can also have a 3x4 keypad in parallel to the LEDs but with signal
diodes in the opposite direction. Or, you can eliminate the watch
crystal for 2 additional GIOP.
--- In m...@yahoogroups.com, "Chetan Bhargava"
wrote:
>
> --- In m...@yahoogroups.com, "old_cow_yellow"
> wrote:
> >
> > Those LEDs from ebay are rated for 20mA. The voltage drop is at least
> > 2.1V and up to 3.4V
> >
> I think the seller means 100mcd@20ma but am not very certain.
>
> > If you take a look at F2013 data-sheet slas419d.pdf page 28 Fig 5 and
> > Fig 7, you will see that MSP430 can source/sink 20 mA.
> You mean slas491D page 26 right? as I can't find slas419d.
> >
> > However, the source/sink will drop about 0.7V each. Assuming that you
> > are using 3.6V (max for F2013), 3.6-0.7-0.7=2.2V. That is, you have at
> > most 2.2V left for the LED. That is very marginal. You cannot use a
> > current limiting resistor at all.
>
> I would like to drive them at 5-10 ma depending on the brightness I
> get out of them. My Vdd would be 3.0v and it looks like it would be
> hard to find an LED with forward voltage less than 2.1v. TI's
> capacitive demo board is powered by a 3v battery and still the LED is
> pretty bright. I'll have to check the specs on the LED they have used.
> > Thus for MSP430, you need to add at least 3 transistors (better still
> > 3+4=7 transistors) to reduce the voltage drops of the source/sink.
> >
> > Other 3V microprocessor may have the same problem. Old 5V ones have
> > less problem in this respect.
>
> Well, that would be 3 components per drive line (two resistors and a
> transistor at least). I would rather avoid additional discrete
components.
>
> Thanks,
>
> Chetan
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: Driving LEDs - Onestone - Aug 11 3:11:46 2008
Actually the 74LVTH573 octal latch can sink 25mA per pin and costs far
less than a ULN2003, I use these to drive a large array of LEDs (128)
from an MSP based design.
Try my suggestion, especially if you have the Ti EZ430 board. The green
LED here has a 330R resistor. Green LEDs typically have a FVD of 2.2V,
so at 3.3V supply this part is drawing 3.3mA. I have run this at an 80:1
duty cylce quite happily, although it does start to dim at that point.
Also try replacing the resistor with a 1K one, it won't hurt to try, and
is easy to reverse. Try a few different duty cycles and you will soon
see how visible the LEd is at very low mean currents.
Cheers
Al
Chetan Bhargava wrote:
>>>HI FRIEND i think pic for microchip company is a great solution
>>>
>>>
>>it's able to sink and source till 20 m a that for "mid range family"
>>or you can use line driver "DM 74LS541" CHIP or "74AC244"
>>OR USE ordinary transistor circuit as you suggest before
>>thank
>>
>>
>Perhaps a ULN2003 rather than a LS device :-)
>Thanks.
>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: Driving LEDs - Chetan Bhargava - Aug 11 3:36:40 2008
ULN2003 was a joke :-)
That thing can drive halogens instead of LEDs if combined with relays :-)
Thanks,
Chetan
--- In m...@yahoogroups.com, Onestone
wrote:
>
> Actually the 74LVTH573 octal latch can sink 25mA per pin and costs far
> less than a ULN2003, I use these to drive a large array of LEDs (128)
> from an MSP based design.
>
> Try my suggestion, especially if you have the Ti EZ430 board. The green
> LED here has a 330R resistor. Green LEDs typically have a FVD of 2.2V,
> so at 3.3V supply this part is drawing 3.3mA. I have run this at an
80:1
> duty cylce quite happily, although it does start to dim at that point.
> Also try replacing the resistor with a 1K one, it won't hurt to try,
and
> is easy to reverse. Try a few different duty cycles and you will soon
> see how visible the LEd is at very low mean currents.
>
> Cheers
>
> Al
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Chetan Bhargava - Aug 11 3:49:32 2008
--- In m...@yahoogroups.com, "old_cow_yellow"
wrote:
>
> Yes, I think you get 100MCD @ 20mA for the Red one. and the voltage
> will be 2.1V to 2.3V. You get lower current and lower light output
> with less voltage drop. But it is more efficient to use 20mA and PWM
> to reduce the average current. (20mA with 10% duty cycle looks much
> much brighter than 2mA with 100% duty.)
Yeah, it would be appropriate to use lower duty cycle.
> (BTW, the Blue one needs higher voltage and produces lower light
> output. Is that desirable?)
Not desirable, just looks exotic. :-)
> Yes, I mean slas491, not slas419.
>
> If the LED also has a voltage vs current curve, you can find out what
> current you get with a given total voltage.
>
> Note that for 3x4 LEDs, you need both source and sink. TI uses only 1
> LED with a source but no sink.
>
> You can also have a 3x4 keypad in parallel to the LEDs but with signal
> diodes in the opposite direction. Or, you can eliminate the watch
> crystal for 2 additional GIOP.
I'll see if I can find out the manufacturer part number for the ones
on ebay.
I just need a single input to enable LEDs for a couple of seconds.
I can't loose the watch xtal as timing is essential.
Thanks,
Chetan
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: Driving LEDs - Onestone - Aug 11 4:56:22 2008
But then anything cN DRIVE HALOGENS WHE COMBINED WITH RELAYS, :@} In
atual fact the 74LVTH573 is rated to 64mA output high current and -32mA
output low with an absolute maximum of -128 output low. On practice a
total of 500mA can be drawn from the package if needed with a well
designed layout. It does drive relays directly one per pin! and costs
under 30c
Al
Chetan Bhargava wrote:
>ULN2003 was a joke :-)
>
>That thing can drive halogens instead of LEDs if combined with relays :-)
>
>Thanks,
>
>Chetan
>
>--- In m...@yahoogroups.com, Onestone
wrote:
>
>
>>Actually the 74LVTH573 octal latch can sink 25mA per pin and costs far
>>less than a ULN2003, I use these to drive a large array of LEDs (128)
>>from an MSP based design.
>>
>>Try my suggestion, especially if you have the Ti EZ430 board. The green
>>LED here has a 330R resistor. Green LEDs typically have a FVD of 2.2V,
>>so at 3.3V supply this part is drawing 3.3mA. I have run this at an
>>
>>
>80:1
>
>
>>duty cylce quite happily, although it does start to dim at that point.
>>Also try replacing the resistor with a 1K one, it won't hurt to try,
>>
>>
>and
>
>
>>is easy to reverse. Try a few different duty cycles and you will soon
>>see how visible the LEd is at very low mean currents.
>>
>>Cheers
>>
>>Al
>>
>>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Driving LEDs - Chetan Bhargava - Aug 11 15:42:10 2008
Hi Al,
Diodes are required across relay though.
Add (my) 2 cents each :-)
Thanks,
Chetan
--- In m...@yahoogroups.com, Onestone
wrote:
>
> But then anything cN DRIVE HALOGENS WHE COMBINED WITH RELAYS, :@} In
> atual fact the 74LVTH573 is rated to 64mA output high current and -32mA
> output low with an absolute maximum of -128 output low. On practice a
> total of 500mA can be drawn from the package if needed with a well
> designed layout. It does drive relays directly one per pin! and costs
> under 30c
>
> Al
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: Driving LEDs - Onestone - Aug 11 16:36:45 2008
The last relays I used had them built in, or you could of course use a
triac or SCR :@}, normally cheaper than a relay too.
Al
Chetan Bhargava wrote:
>Hi Al,
>
>Diodes are required across relay though.
>Add (my) 2 cents each :-)
>
>Thanks,
>
>Chetan
>
>--- In m...@yahoogroups.com, Onestone
wrote:
>
>
>>But then anything cN DRIVE HALOGENS WHE COMBINED WITH RELAYS, :@} In
>>atual fact the 74LVTH573 is rated to 64mA output high current and -32mA
>>output low with an absolute maximum of -128 output low. On practice a
>>total of 500mA can be drawn from the package if needed with a well
>>designed layout. It does drive relays directly one per pin! and costs
>>under 30c
>>
>>Al
>>
>>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: Driving LEDs - Jon Kirwan - Aug 11 17:08:33 2008
On Mon, 11 Aug 2008 16:41:43 +0930, Al wrote:
>Actually the 74LVTH573 octal latch can sink 25mA per pin and costs far
>less than a ULN2003, I use these to drive a large array of LEDs (128)
>from an MSP based design.
>
>Try my suggestion, especially if you have the Ti EZ430 board. The green
>LED here has a 330R resistor. Green LEDs typically have a FVD of 2.2V,
>so at 3.3V supply this part is drawing 3.3mA. I have run this at an 80:1
>duty cylce quite happily, although it does start to dim at that point.
>Also try replacing the resistor with a 1K one, it won't hurt to try, and
>is easy to reverse. Try a few different duty cycles and you will soon
>see how visible the LEd is at very low mean currents.
For those interested in playing around with the LED there, these
educational files may be of some use.
Under:
Files > Member contributions > Simple EZ Lessons
Or see:
http://tech.groups.yahoo.com/group/msp430/files/Member%20contributions/Simple%20EZ%20Lessons/
I had, some months back, dropped in 6 files providing some early
starting point for learning a little c and using the LED on the
EZ430F2013.
Jon
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )