Using WS2812B with Pi 3. Should I use AllPixel or is external power and BiblioPixel enough?

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

Hey Chet,

BiblioPixel actually supports the WS2812 strips directly on the Pi via a driver that wraps rpi_ws281x…

https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X

Though I’m realizing now that the doc page for that only shows how to install rpi_ws2812x, will update shortly.

But using the driver is the same as any other. And unless you want to go advanced, just specify num and c_order.

https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/drivers/PiWS281X.py#L32

Everything else should be fine as is, just use GPIO pin 18 (which is Pin #12 on the header).

We technically support WS2812 via our SPI driver in BiblioPixel v3.x but that’s kind of experimental right now. Very much a YMMV situation. But I use PiWS2812X in multiple installations with no problem.

You could of course also use the AllPixel which would simplify the power hookup and let you use any LED type. And it would then also work from anything that is not a Raspberry Pi as well.

We’ll actually be launching a new kit later this week that provides for much easier hookup when driving LEDs directly off the GPIO on a Pi.

···

On Fri, Aug 4, 2017 at 12:58 PM, Chet Stevens cws.ccsd@gmail.com wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/091cff49-f03c-4e00-bd21-441034d4e9c9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Tom is a much better salesman than I :stuck_out_tongue:
Which also reminds me… need to doc the remote UI features. Chet… if you are interested, BP 3.1.x has the ability to easily provide a web-based UI with which you can choose from a list of animations. It is currently not doc’d but if you want I will bump that up the priority list.
Which also reminds me… we need to hire a technical doc writer to do such things for us.

···

On Fri, Aug 4, 2017 at 1:51 PM, Tom Swirly tom@swirly.com wrote:

Glad Adam came in with a much better answer than the lame one I was working on!

Since I have you on the line :slight_smile: might I ask - what are you planning to do with these, and what feature could BiblioPixel offer that would make it a killer app for you?

Have fun with them!

On Fri, Aug 4, 2017 at 7:45 PM, Adam Haile adammhaile@gmail.com wrote:

Hey Chet,

BiblioPixel actually supports the WS2812 strips directly on the Pi via a driver that wraps rpi_ws281x…

https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X

Though I’m realizing now that the doc page for that only shows how to install rpi_ws2812x, will update shortly.

But using the driver is the same as any other. And unless you want to go advanced, just specify num and c_order.

https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/drivers/PiWS281X.py#L32

Everything else should be fine as is, just use GPIO pin 18 (which is Pin #12 on the header).

We technically support WS2812 via our SPI driver in BiblioPixel v3.x but that’s kind of experimental right now. Very much a YMMV situation. But I use PiWS2812X in multiple installations with no problem.

You could of course also use the AllPixel which would simplify the power hookup and let you use any LED type. And it would then also work from anything that is not a Raspberry Pi as well.

We’ll actually be launching a new kit later this week that provides for much easier hookup when driving LEDs directly off the GPIO on a Pi.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-TbwLWdjJx0_-C6ET%3De9_u-EdLRa9M5BtFoM9-OOV2ezPw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Aug 4, 2017 at 12:58 PM, Chet Stevens cws.ccsd@gmail.com wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/091cff49-f03c-4e00-bd21-441034d4e9c9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thank you very much for the response! I’ll continue working with BiblioPixel and keep an eye out for the new kit too!

···

On Friday, August 4, 2017 at 10:00:16 AM UTC-7, Chet Stevens wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

Hi Tom! This has been a learn-as-I-go project but I’m working on restoring an antique radio cabinet and putting a RPi3 with a sound board in it and then using the WS2812B for light effects. I’ve made some progress using lightshowPi to drive some basic LEDs but now I would like to trigger the light strips rather than a single LED or relay.

I’ve just started to scratch the surface of BiblioPixel so I don’t know yet all of its capabilities but making the learning curve for syncing sound and lights has been a little difficult for me so far. I don’t know if BiblioPixel could be expanded to offer some built-in capabilities for FFT calculation, effects based on an audio source, or something along those lines. I appreciate your all your work! Thank you!

···

On Friday, August 4, 2017 at 10:51:49 AM UTC-7, Tom Swirly wrote:

Glad Adam came in with a much better answer than the lame one I was working on!

Since I have you on the line :slight_smile: might I ask - what are you planning to do with these, and what feature could BiblioPixel offer that would make it a killer app for you?

Have fun with them!

On Fri, Aug 4, 2017 at 7:45 PM, Adam Haile adamm...@gmail.com wrote:

Hey Chet,

BiblioPixel actually supports the WS2812 strips directly on the Pi via a driver that wraps rpi_ws281x…

https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X

Though I’m realizing now that the doc page for that only shows how to install rpi_ws2812x, will update shortly.

But using the driver is the same as any other. And unless you want to go advanced, just specify num and c_order.

https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/drivers/PiWS281X.py#L32

Everything else should be fine as is, just use GPIO pin 18 (which is Pin #12 on the header).

We technically support WS2812 via our SPI driver in BiblioPixel v3.x but that’s kind of experimental right now. Very much a YMMV situation. But I use PiWS2812X in multiple installations with no problem.

You could of course also use the AllPixel which would simplify the power hookup and let you use any LED type. And it would then also work from anything that is not a Raspberry Pi as well.

We’ll actually be launching a new kit later this week that provides for much easier hookup when driving LEDs directly off the GPIO on a Pi.

On Fri, Aug 4, 2017 at 12:58 PM, Chet Stevens cws....@gmail.com wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/091cff49-f03c-4e00-bd21-441034d4e9c9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-TbwLWdjJx0_-C6ET%3De9_u-EdLRa9M5BtFoM9-OOV2ezPw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com

BiblioPixelAnimations has an FFT animation for matrices: https://github.com/ManiacalLabs/BiblioPixelAnimations/tree/master/BiblioPixelAnimations/matrix/spectrum
I should probably write one for strips as well, but that might get you in the right direction.

Note, that because the linux audio system is odd, you may actually have to feed the audio output back into the mic to make this work.

···

On Fri, Aug 4, 2017 at 2:14 PM, Chet Stevens cws.ccsd@gmail.com wrote:

Hi Tom! This has been a learn-as-I-go project but I’m working on restoring an antique radio cabinet and putting a RPi3 with a sound board in it and then using the WS2812B for light effects. I’ve made some progress using lightshowPi to drive some basic LEDs but now I would like to trigger the light strips rather than a single LED or relay.

I’ve just started to scratch the surface of BiblioPixel so I don’t know yet all of its capabilities but making the learning curve for syncing sound and lights has been a little difficult for me so far. I don’t know if BiblioPixel could be expanded to offer some built-in capabilities for FFT calculation, effects based on an audio source, or something along those lines. I appreciate your all your work! Thank you!

On Friday, August 4, 2017 at 10:51:49 AM UTC-7, Tom Swirly wrote:

Glad Adam came in with a much better answer than the lame one I was working on!

Since I have you on the line :slight_smile: might I ask - what are you planning to do with these, and what feature could BiblioPixel offer that would make it a killer app for you?

Have fun with them!

On Fri, Aug 4, 2017 at 7:45 PM, Adam Haile adamm...@gmail.com wrote:

Hey Chet,

BiblioPixel actually supports the WS2812 strips directly on the Pi via a driver that wraps rpi_ws281x…

https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X

Though I’m realizing now that the doc page for that only shows how to install rpi_ws2812x, will update shortly.

But using the driver is the same as any other. And unless you want to go advanced, just specify num and c_order.

https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/drivers/PiWS281X.py#L32

Everything else should be fine as is, just use GPIO pin 18 (which is Pin #12 on the header).

We technically support WS2812 via our SPI driver in BiblioPixel v3.x but that’s kind of experimental right now. Very much a YMMV situation. But I use PiWS2812X in multiple installations with no problem.

You could of course also use the AllPixel which would simplify the power hookup and let you use any LED type. And it would then also work from anything that is not a Raspberry Pi as well.

We’ll actually be launching a new kit later this week that provides for much easier hookup when driving LEDs directly off the GPIO on a Pi.

On Fri, Aug 4, 2017 at 12:58 PM, Chet Stevens cws....@gmail.com wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/091cff49-f03c-4e00-bd21-441034d4e9c9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-TbwLWdjJx0_-C6ET%3De9_u-EdLRa9M5BtFoM9-OOV2ezPw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com

Also, congrats Chet, you are the first person who is not the people that work on this stuff to post on the new user group :slight_smile:

···

On Fri, Aug 4, 2017 at 2:19 PM, Adam Haile adammhaile@gmail.com wrote:

BiblioPixelAnimations has an FFT animation for matrices: https://github.com/ManiacalLabs/BiblioPixelAnimations/tree/master/BiblioPixelAnimations/matrix/spectrum
I should probably write one for strips as well, but that might get you in the right direction.

Note, that because the linux audio system is odd, you may actually have to feed the audio output back into the mic to make this work.

On Fri, Aug 4, 2017 at 2:14 PM, Chet Stevens cws.ccsd@gmail.com wrote:

Hi Tom! This has been a learn-as-I-go project but I’m working on restoring an antique radio cabinet and putting a RPi3 with a sound board in it and then using the WS2812B for light effects. I’ve made some progress using lightshowPi to drive some basic LEDs but now I would like to trigger the light strips rather than a single LED or relay.

I’ve just started to scratch the surface of BiblioPixel so I don’t know yet all of its capabilities but making the learning curve for syncing sound and lights has been a little difficult for me so far. I don’t know if BiblioPixel could be expanded to offer some built-in capabilities for FFT calculation, effects based on an audio source, or something along those lines. I appreciate your all your work! Thank you!

On Friday, August 4, 2017 at 10:51:49 AM UTC-7, Tom Swirly wrote:

Glad Adam came in with a much better answer than the lame one I was working on!

Since I have you on the line :slight_smile: might I ask - what are you planning to do with these, and what feature could BiblioPixel offer that would make it a killer app for you?

Have fun with them!

On Fri, Aug 4, 2017 at 7:45 PM, Adam Haile adamm...@gmail.com wrote:

Hey Chet,

BiblioPixel actually supports the WS2812 strips directly on the Pi via a driver that wraps rpi_ws281x…

https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X

Though I’m realizing now that the doc page for that only shows how to install rpi_ws2812x, will update shortly.

But using the driver is the same as any other. And unless you want to go advanced, just specify num and c_order.

https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/drivers/PiWS281X.py#L32

Everything else should be fine as is, just use GPIO pin 18 (which is Pin #12 on the header).

We technically support WS2812 via our SPI driver in BiblioPixel v3.x but that’s kind of experimental right now. Very much a YMMV situation. But I use PiWS2812X in multiple installations with no problem.

You could of course also use the AllPixel which would simplify the power hookup and let you use any LED type. And it would then also work from anything that is not a Raspberry Pi as well.

We’ll actually be launching a new kit later this week that provides for much easier hookup when driving LEDs directly off the GPIO on a Pi.

On Fri, Aug 4, 2017 at 12:58 PM, Chet Stevens cws....@gmail.com wrote:

Hello. I am working with WS2812B lights. I have been able to control them using the rpi_ws281x library. I recently started looking at BiblioPixel and it looks pretty interesting. I also have seen some people use the AllPixel board. Is the AllPixel board suggested or is BiblioPixel and the power/pins of the Pi3 sufficient? Thank you for your input.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/091cff49-f03c-4e00-bd21-441034d4e9c9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAG8g-TbwLWdjJx0_-C6ET%3De9_u-EdLRa9M5BtFoM9-OOV2ezPw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


/t

https://tom.ritchford.com

https://tom.swirly.com