Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 539
» Latest member: scissorcraft
» Forum threads: 88
» Forum posts: 404

Full Statistics

Online Users
There are currently 8 online users.
» 0 Member(s) | 8 Guest(s)

Latest Threads
New tdsp color list Pytho...
Forum: BiblioPixel Development
Last Post: roykerman222
03-14-2017, 05:13 AM
» Replies: 1
» Views: 1,711
Art-Net Support
Forum: AllPixel Support
Last Post: dfive
03-04-2017, 03:09 PM
» Replies: 3
» Views: 1,253
Animated Porch Lights
Forum: Show-And-Tell
Last Post: emilyford33
02-22-2017, 07:18 AM
» Replies: 3
» Views: 4,834
Project Northern Lights
Forum: Show-And-Tell
Last Post: mlapasa
01-25-2017, 12:05 PM
» Replies: 3
» Views: 868
What sources do people us...
Forum: General Discussion
Last Post: stharocks77
01-14-2017, 11:39 AM
» Replies: 3
» Views: 8,729
AllPixels to drive a 6x9x...
Forum: AllPixel Support
Last Post: ghowles
01-12-2017, 12:30 AM
» Replies: 5
» Views: 1,333
Need help to determine a ...
Forum: BiblioPixel Support
Last Post: vied12
12-31-2016, 01:41 PM
» Replies: 3
» Views: 1,070
LarsonScanner Problem
Forum: BiblioPixel Support
Last Post: kwalkerk
12-25-2016, 01:00 PM
» Replies: 4
» Views: 868
Individual LED control or...
Forum: General Discussion
Last Post: Adam
12-24-2016, 05:41 PM
» Replies: 5
» Views: 1,664
Matrix dots made of multi...
Forum: General Discussion
Last Post: jack
12-24-2016, 07:47 AM
» Replies: 8
» Views: 4,065

  Project Northern Lights
Posted by: mlapasa - 01-17-2017, 06:54 PM - Forum: Show-And-Tell - Replies (3)

Thank you Manical Labs and all the contributors to BiblioPixel. This project would not have been possible without BiblioPixel.


Project Northern Lights - Arcade joystick lit with dynamic artwork and sound

Print this item

  Need help to determine a controller
Posted by: vied12 - 12-30-2016, 04:14 PM - Forum: BiblioPixel Support - Replies (3)


I would love to use BiblioPixel on my LED strip, but I'm not able to determine its controller.
My led strip is this one https://www.conrad.de/de/led-streifen-komplettset-mit-stecker-230-v-500-cm-rgb-renkforce-digital-5mcc316w-1193533.html?ref=searchDetail

Maybe this can give you a clue, I was able to light on some leds with this code:

from bibliopixel.led import *
from bibliopixel.animation import StripChannelTest
from bibliopixel.drivers.LPD8806 import *
from bibliopixel.drivers.PiWS281X import DriverPiWS281X

driver = DriverPiWS281X(30, ledFreqHz=800000, ledDma=14)
led = LEDStrip(driver)
anim = StripChannelTest(led)

[Image: LMQKvxF.gif]

Print this item

  AllPixels to drive a 6x9x53 array of LPD8806?
Posted by: ghowles - 12-26-2016, 03:24 AM - Forum: AllPixel Support - Replies (5)


I would like to build an 6 x 9 array of addressable LED strips (each strip about 1.7 m long so 53 LEDs per strip for a total of 2862 lights). The strips would hang vertically with 7 inch grid spacing together forming a 3D box display. I want to program a variety of effects such as a point of light bouncing around the box or orbiting bodies.

Would it be reasonable to use 5 or 6 AllPixels and Bibliopixel to run this array?

Each row of 6 strips would have 318 LEDs, so each AP could run two rows of 6 strips (636 LEDs) with the last one running just one row of 6 (for a total of 5 APs). Alternatively, I could use 6 APs, each running a column of 9 strips (477 LEDs).

Using LPD8806 strips, what would be my expected refresh rate?

If people have suggestions for a better/simpler way to execute this project, I'm all ears.


Print this item

  LarsonScanner Problem
Posted by: kwalkerk - 12-24-2016, 03:48 PM - Forum: BiblioPixel Support - Replies (4)

I have a project using AllPixel and BiblioPixel. Everything is working except for one small issue.

When I create an animation for a LarsonScanner and then run the animation it works just fine. But if I call the animation again(as in a loop with other animations, or in an animation queue). It does not work properly. Just flashes the first few pixels.

Any ideas?


Print this item

Question Individual LED control or Group Controls?
Posted by: chavenor - 12-21-2016, 10:38 PM - Forum: General Discussion - Replies (5)

I'm looking to control multiple groups of LED'S in real-time from a web messaging service that I have built in python bottle.

Would AllPixel be a fit for the use case below.

- I'm using a pi version 2 B+ v1.2 and pi 3 B+.
- 700 Leds WS812 RGB.
- LED power strip to drive all the above.

Example goal:
Leds 1 - 10 are all green.
Leds 11 -20 are pulsating in and out from low brightness to high color of green.
Leds 21 - ALL are all red.

I'd like to make changes to the led colors and which ones are green, red or pulsating.

Print this item

  Newbie in need of a lot of help
Posted by: Equim - 12-13-2016, 11:27 AM - Forum: BiblioPixel Support - Replies (2)

Yes, I'm sure I've already scared off everyone who might have been able to help me with just that title, fantastic!

So, let me start off by saying that I have practically no experience with any coding. I have a good understanding of computers and such though. Just never gotten much into the whole coding thing but if it comes down to it, I'll just have to learn.

So, what is it that I need help with then?
Well, basically what I have is a Adafruit Neopixel Mini Skinny strip that is connected to an RPi3.
And what I want to get running on it is a simple color shifting script. Going through the color spectrum at a not all too rapid rate.

I've managed to get it to light up with the old stuff that lead me here, the "RPi-LPD8806" which had an example.py in it and that worked, I messed about with it a little just to see how it ticked. But of course, it's better to move over to the new and updated stuff.

Are there some basic examples included already that I just haven't gotten to work yet? I recall something about that. Say, like animation.py and all I need to do there is to add something about using the right drivers? Or grab some code of someone else here and add the correct driver?
Yes, I know it's lazy but honestly, at the moment I mostly just want to get it working and then possibly start tweaking it myself.

While I would like to do some stuff later on where it would also be affected by audio playing, it's not really necessary and it might not even be possible, I don't know! Lightshowpi seems to kinda support that but it seemed a lot more complicated and I couldn't even get an example to run. But that's all in the future and not really needed, just extra flair that would be nifty.

Thanks in advance!

Print this item

  Trouble with Animations timing out
Posted by: kentells - 12-13-2016, 03:53 AM - Forum: BiblioPixel Support - Replies (2)

After copying the animation repo
I figured out that to run some of the animations that have been made I basically just have to import:

from bibliopixel.led import *
from bibliopixel.animation import *
from bibliopixel.drivers.serial_driver import *
from bibliopixel.drivers.visualizer import *
from BiblioPixelAnimations.matrix.GameOfLife import *
#from BiblioPixelAnimations.matrix.ScreenGrab import *
from BiblioPixelAnimations.matrix.ImageShow import *

#These are needed for ImageAnim
from BiblioPixelAnimations.matrix.ImageAnim import *
import bibliopixel.image as image

#create driver for a 16x10 grid, use the size of your display
#driver = DriverVisualizer(width=16, height=10, stayTop=True)
driver = DriverSerial(num = 160, type = LEDTYPE.WS2812B, c_order = ChannelOrder.GRB)
led = LEDMatrix(driver,
                                width = 10,
                                height = 16,
                                rotation = MatrixRotation.ROTATE_90,
                                vert_flip = True,
                                serpentine = True)

#These are specific for running with ImageAnim
anim = ImageAnim(led, "/home/kent/Downloads/manwithballoon.gif")

#This is specific for ImageShow
#anim = ImageShow(led, "/home/kent/Downloads/Testpixelart.jpg")
#anim = ImageShow(led, "/home/kent/Downloads/picachu.jpg")

#anim = ScreenGrab(led)
#anim = GameOfLifeClock(led)
    #run the animation
    anim.run(untilComplete = True, max_cycles = 5)
except KeyboardInterrupt:
    #Ctrl+C will exit the animation and turn the LEDs offs
From BiblioPixelAnimations.matrix.<animation> import *

and then
anim = <animation>(led)

For the most part the above is true at least, Of course there are some 3rd party softwares that need to be installed for some.
At first I wasn't putting them in a try: but it still happened even after I did.

Running a 16x10 matrix with the AllPixel from KS.

For GameOfLife and GameOfLifeRGB they continuously run. no problem

But for ImageShow:
The picture does show for 3-5 sec.
This is the error.
INFO - serial_driver - Using COM Port: /dev/ttyACM0, Device ID: 0, Device Ver: 0
Traceback (most recent call last):
File "KentsTest.py", line 37, in <module>
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/animation.py", line 191, in run
self._run(amt, fps, sleep, max_steps, untilComplete, max_cycles, seconds)
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/animation.py", line 130, in _run
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/led.py", line 201, in update
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/driver_base.py", line 54, in _update
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/serial_driver.py", line 326, in update
resp = self._com.read(1)
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 490, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

And then it loses connection and I have to unplug and replug the allpixel. (Meanwhile the pixels just go a bit random and red)

When running ImageAnim Again the picture shows but I get the following (slightly different message at the bottom)
INFO - serial_driver - Using COM Port: /dev/ttyACM0, Device ID: 0, Device Ver: 0
INFO - ImageAnim - Loading /home/kent/Downloads/manwithballoon.gif ...
Traceback (most recent call last):
File "KentsTest.py", line 37, in <module>
anim.run(untilComplete = True, max_cycles = 5)
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/animation.py", line 191, in run
self._run(amt, fps, sleep, max_steps, untilComplete, max_cycles, seconds)
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/animation.py", line 130, in _run
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/led.py", line 201, in update
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/driver_base.py", line 54, in _update
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/serial_driver.py", line 324, in update
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 554, in write
raise SerialException('write failed: {}'.format(v))
serial.serialutil.SerialException: write failed: [Errno 5] Input/output error

And again it loses connection.
Quick Note: I don't remember it throwing the error when going to the visualizer.

I guess last question would be is it best to choose pictures that match my resolution because a 128x128 seemed to just get wiped out by averages.

Print this item

  ERROR - serial_driver - Problem connecting to serial device
Posted by: kentells - 12-04-2016, 10:12 PM - Forum: AllPixel Support - Replies (2)

I have done all the setup steps.
ls /dev/ttyACM*
(I think this is the com port.)

When I run python AllPixelStripTest.py
ERROR - serial_driver - Problem connecting to serial device.
ERROR - serial_driver - Problem connecting to serial device.
INFO - serial_driver - Invalid port specified. No COM ports available.
Traceback (most recent call last):
File "../AllPixelStripTest.py", line 8, in <module>
driver = DriverSerial(num = 10, type = LEDTYPE.WS2812B)
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/serial_driver.py", line 109, in __init__
resp = self._connect()
File "/home/kent/Documents/BiblioPixel-master/bibliopixel/drivers/serial_driver.py", line 215, in _connect
raise BiblioSerialError(error)
bibliopixel.drivers.serial_driver.BiblioSerialError: Invalid port specified. No COM ports available.

I've tried to specify ttyACM0 in line 8 driver = DriverSerial(num = 10, type = LEDTYPE.WS2812B, dev = ttyACM0)
I also tried changing LEDTYPE.GENERIC but still no results.

When running /utils/AllPixelConfigure.py
Error - Serial_Driver - Problem connecting to serial device.

Print this item

  BiblioPixel on Mac OSX
Posted by: niemand8649 - 11-30-2016, 03:08 PM - Forum: General Discussion - Replies (1)


Has anyone installed BiblioPixel on Mac OSX?

BiblioPixel, installed using pip.
Attempted to install PixelWeb but that failed.
Do not remember the exact error.

Using a Raspberry PI III at the moment.

Print this item

  WS2812b Animations Help Needed
Posted by: geman220 - 11-28-2016, 03:02 AM - Forum: General Discussion - Replies (3)

I am interested in animating a LED matrix for an upcoming personal project. I have been tossing around the idea for at least two years now and each time I end up talking myself out of the project because I can't seem to get a grip on how exactly you program WS2812b LEDs.  I found this community doing more research and am hoping someone can help.

My Goal:

  • Cycling custom animations on a LED matrix that will be around 1200 LEDs total. The best way I can describe the animations would be something like playing a .gif. A simple example would be a face that winks.
  • LEDs + controllers should be operable on battery. I can wear a small backpack with batteries and controllers, nothing incredibly heavy. (no car battery on my back =P)
  • I'm not sure if it matters but the LED matrix will end up being shaped more like a diamond than a regular rectangle / square.
  • Although I have an available area of around 1200 LEDs I won't be using most LEDs during animations. I just need the available "surface area" to light wherever needed. For example, the winking face animation might only use 200 LEDs at a time.

Where I am now:
  • I have bought 2 lots (600 LEDs total) of ws2812b strips
  • I purchased a T1000s controller although I am not sure if this will accomplish my goal.
  • 1x Arduino Uno
  • A power supply to test and configure things on a bench before tackling portable power.
  • I have a Pi3 laying around that I can repurpose if that is an option
  • 2x AllPixel

Where I need help:
  • I have looked into the FastLED library, all of the examples are just color fades etc. I do not understand how to properly create an animation like the winking face example above.
  • Is there an example that you can share that meets my goals using FastLED?
  • Is there a more elegant solution, such as getting a netbook running Windows / Linux that can send data to the LEDs?
  • I understand I can use BibiloPixel to combine two AllPixels, but I don't understand how to create custom animations.  Using the same example of a winking face, how would I accomplish this?

My experience:
  • I am familiar with wiring up everything as far as power requirements, data in, clock in, etc.
  • I am not a 'programmer' but I understand coding and can get things to work once I understand the method.
  • I'm completely open to any and all suggestions or ideas. I appreciate any guidance on this, I really want to stop tossing this idea around, learn something new, and make a cool project.


Print this item