<div dir="ltr">Hey,<div><br></div><div>Try Charlieplexing (<a href="https://en.wikipedia.org/wiki/Charlieplexing" target="_blank">https://en.wikipedia.org/wiki/Charlieplexing</a> & <a href="http://lmgtfy.com/?q=charlieplexing" target="_blank">http://lmgtfy.com/?q=charlieplexing</a>). My brother used this for one of his projects. Its a pretty neat analog circuit. </div>
<div><br></div><div>You can also multiplex the LEDs to get you a bit more 'outputs', but not as many as charlieplexing. But it is safer since you're not driving as much current as charlieplexing.</div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">--<br>Sincerely,<br>Jaime Yu<br>B.Eng in Computer Engineering, System Hardware<br>Software Developer III at Juniper Networks<br><br>$CV = "<a href="http://cv.jaimeyu.com" target="_blank">http://cv.jaimeyu.com</a>"<br>
$Blog = "<a href="http://ask.jaimeyu.com" target="_blank">http://ask.jaimeyu.com</a>"<br>$Project = "<a href="http://www.capstone490.com" target="_blank">http://www.capstone490.com</a>"<br>$Linkedin = "<a href="https://www.linkedin.com/in/jaimeyu" target="_blank">https://www.linkedin.com/in/jaimeyu</a>"<br>
$GitHub = "<a href="https://github.com/jaimeyu" target="_blank">https://github.com/jaimeyu</a>"<br></div></div>
<br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 8:59 AM, Olaf Baumann <span dir="ltr"><<a href="mailto:olaf.baumann@pobox.com" target="_blank">olaf.baumann@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">Hey Lab,</div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff"><br></div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">
I got some RGB LEDS to play with but when I count the number of pins I need, it doesn't look like I can drive very many.</div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff"><br></div>
<div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">The UNO has six PWM output pins and each RGB LED needs three. As the saying goes, twos company, but I want a crowd!</div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">
<br></div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">With regular LEDs, I used cascading shift registers to allow me to control 24 of them. A great success in my temporarily blinded eyes.</div>
<div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff"><br></div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">Is there an analog analogue to the digital shift register? It seems that PWM is a hack for a voltage level, would a steady voltage be better? SPI or I2C would be bonus--maybe I could use an ATtiny85.</div>
<div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff"><br></div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">thanks,</div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff">
Olaf</div><div class="gmail_default" style="font-family:courier new,monospace;color:#3333ff"><br></div></div>
<br>_______________________________________________<br>
Lab mailing list<br>
1. subscribe <a href="http://artengine.ca/mailman/listinfo/lab" target="_blank">http://artengine.ca/mailman/listinfo/lab</a><br>
2. then email <a href="mailto:Lab@artengine.ca" target="_blank">Lab@artengine.ca</a> to send your message to the list<br></blockquote></div><br></div></div>