For his first big build with an MSP430, [Javon] decided to an RGB LED fader. Having worked with Arduinos in the past, he figured that his MSP430 would have a few PWM channels. After being proved wrong by the data sheet, [Javon] needed to figure out a way to switch a bunch of RGB LEDs with only one PWM channel on his microcontroller.
Because there was only one PWM pin on [Javon]’s micro, he needed a way to multiplex his output. He ended up using a 74HC4052 mux/demux chip to drive 20 LEDs. The LEDs were mounted onto hard board and the main part of the circuit built on a bit of perfboard. While there’s no total cost for his build, we’re guessing [Javon] didn’t spend much on his project; certainty much less than this explosion of LEDs.
[Javon] put all the build pictures up as a Google+ album and a few video demos up. Check those out after the break (009 Sound System warning, you might want to hit mute).
[youtube=http://www.youtube.com/watch?v=ekaUpoXU6PE&w=470]
[youtube=http://www.youtube.com/watch?v=mGdunfZSGEA&w=470]
[youtube=http://www.youtube.com/watch?v=iW8AYSsaDHA&w=470]
“009 sound system warning” ?? Is he hating on the music choice?
But its the youtube anthem, everybody loves the youtube anthem :P
why not just software PWM?
+1, it’s a huge overkill.
Muxing pwm sounds interesting, though. I guess it’s a weird way of learning new tricks, or just he didn’t know what soft pwm is.
I’m pretty sure there are not enough I/O pins on his MSP430 to control 20 RGB led (i.e. 60 signals) and without some kind of mux that’s 60 i/o pins…
lol’d from soundtrack