Max number of LEDs (MSP430)

106 views
Skip to first unread message

Justin Danger

unread,
May 23, 2013, 10:57:10 AM5/23/13
to ti-lau...@googlegroups.com
Hey all, I'm working on the MSP 430 and I'd like to know just how many LEDs I can independently control at one time. I've gotten to 3, using pins 1.1, 2.1, and 3.1. I'm sure there's a better way to do this, though. I'd like them independently controlled, as well- no using "1.1 + 2.1 = LED 4" or anything of the sort. How many LEDs have you guys used at once? 

Joep Suijs

unread,
May 23, 2013, 12:12:14 PM5/23/13
to ti-lau...@googlegroups.com
google for Charlieplexing; 3 pins enable you to control 6 leds, 4 pins = 12 leds.
With additional hardware like i2c io chips or multiplexer, there is vitrually no limit (although speed might become an issue at some point).

Joep




2013/5/23 Justin Danger <jwb...@gmail.com>
Hey all, I'm working on the MSP 430 and I'd like to know just how many LEDs I can independently control at one time. I've gotten to 3, using pins 1.1, 2.1, and 3.1. I'm sure there's a better way to do this, though. I'd like them independently controlled, as well- no using "1.1 + 2.1 = LED 4" or anything of the sort. How many LEDs have you guys used at once? 

--
You received this message because you are subscribed to the Google Groups "TI Launchpad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ti-launchpad...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Peter Johansson

unread,
May 24, 2013, 3:44:39 PM5/24/13
to ti-lau...@googlegroups.com
You can put an LED on every IO pin if you want. Just be aware that
the msp430 is capable of far less current than most other
microcontrollers.

-p.
Reply all
Reply to author
Forward
0 new messages