<div dir="ltr">You can absolutely do varying speeds.<div>Check out the ColorChase animation here: <a href="https://github.com/ManiacalLabs/BiblioPixel/blob/master/strip_animations.py#L112">https://github.com/ManiacalLabs/BiblioPixel/blob/master/strip_animations.py#L112</a></div><div><br></div><div>That will run a single pixel down the strip. You can change the speed in two ways:</div><div><ul><li>Modify the framerate: anim.run(fps=30) #Travel 30 pixels per second</li><li>Modify the amt parameter: anim.run(amt=2, fps=5) #5 steps per second, but light every second pixel</li></ul><div>I would use the first option, since you will light every pixel. You could also take the basic code in that animation out and run it manually and then specify your own delay between each step. The animation classes are there to provide very accurate timing, which you may not need.</div></div><div><br></div><div>For the LED choice, there are a few things to consider:</div><div><ul><li>Price</li><li>Speed</li><li>Density</li><li>Voltage</li></ul><div>NeoPixel (WS281x) and APA102 are the cheapest... NeoPixel is slow and APA102 is fast but slightly more expensive. But I don't think you need very high speed... APA102 is a better choice for high pixel counts requiring > 30FPS. But NeoPixel can keep up at low pixel counts.</div></div><div><br></div><div>You can also get the typical strips or the "christmas light" style. That just depends on the aesthetic you are going for. But the christmas style are only generally available in NeoPixel or WS2801.</div><div><br></div><div>Most strips are 5V but 12V is also an option, available in the WS2801 and LPD8806 chipsets. But with 12V you generally have a strip where 1 IC controls 3 RGB LEDs in series making 3-5" long "pixels", <i>or</i> you have half ping pong ball sized dome lights with 3-5 RGB LEDs in a cluster making one giant round pixel. Given you used to use incandescent lights, I think the dome LEDs might just be the ticket for you. Just note that with the AllPixel, you don't want to solder on that diode if using 12V. You can, and that's why it's there, but if you know you are doing 12V just leave it off. Then you can use the barrel jack to power the strip (up to 5A)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 9:50 AM, Grawburg via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Some general questions about the AllPixel.<br>
<br>
I'm working on an exhibit that could easily use a 4 meter length of LEDs. The exhibit is a racing game for little kids where they pick an animal/insect to see if they can outrun it. (I already have a much larger one that uses a PLC and 48 colored incandescent lights.)<br>
<br>
Using the Allpixel and a Raspberry Pi can I program the lights to race from start to finish at different rates (presuming, of course, I can write good Python code)?<br>
<br>
How do I pick the LED strip since there seem to be many choices?<br>
<br>
What other things do I need to consider?<br>
<br>
<br>
Thanks,<br>
Brian Grawburg<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</blockquote></div><br></div>