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

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 507
» Latest member: caitlin.sherwin
» 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,323
Art-Net Support
Forum: AllPixel Support
Last Post: dfive
03-04-2017, 03:09 PM
» Replies: 3
» Views: 758
Animated Porch Lights
Forum: Show-And-Tell
Last Post: emilyford33
02-22-2017, 07:18 AM
» Replies: 3
» Views: 4,261
Project Northern Lights
Forum: Show-And-Tell
Last Post: mlapasa
01-25-2017, 12:05 PM
» Replies: 3
» Views: 541
What sources do people us...
Forum: General Discussion
Last Post: stharocks77
01-14-2017, 11:39 AM
» Replies: 3
» Views: 7,525
AllPixels to drive a 6x9x...
Forum: AllPixel Support
Last Post: ghowles
01-12-2017, 12:30 AM
» Replies: 5
» Views: 848
Need help to determine a ...
Forum: BiblioPixel Support
Last Post: vied12
12-31-2016, 01:41 PM
» Replies: 3
» Views: 619
LarsonScanner Problem
Forum: BiblioPixel Support
Last Post: kwalkerk
12-25-2016, 01:00 PM
» Replies: 4
» Views: 510
Individual LED control or...
Forum: General Discussion
Last Post: Adam
12-24-2016, 05:41 PM
» Replies: 5
» Views: 898
Matrix dots made of multi...
Forum: General Discussion
Last Post: jack
12-24-2016, 07:47 AM
» Replies: 8
» Views: 3,204

 
  PixelWeb issues?
Posted by: blurfl - 12-10-2015, 09:58 PM - Forum: General Discussion - Replies (6)

Not sure this is the proper place for this but a forum search for 'pixelweb' turned up nothing?

Anyway, I've successfully run PixelWeb on my Raspi, but I can no longer get it to start. After 'run-pixelweb' the page loads but gets stuck at 'Loading Drivers...' 10%. There are no other related messages in the console.

I've un/re-installed, rebooted and everything else I can think of but still no bueno. Any help appreciated!

Thanks,
Bob

Print this item

  New build - wires and cables
Posted by: vorno - 12-06-2015, 09:46 PM - Forum: General Discussion - Replies (3)

Hey guys,

I'm looking at starting a project with my AllPixel that I'd like a bit of help with in terms of planning, and in particular with the amount of voltage and amps I can push through certain cables and wires.

What I'd like to build is multiple vertical led strips, free-hanging from the ceiling/down a wall, and then run a cable along the top linking them together.

Assuming I'm running the strips with data-in at the top and data-out at the bottom, my first thought is to solder a wire from the Data out pin and run it along the back of the strip so that I have it available at the top. Then I need to find a plug (or two plugs) to build into the top of the strip so that I can have power/data in, and power/data out. That will let me chain a series of strips together (and run them as a matrix with the AllPixel)

With a desire to use commonly available plugs/sockets, I only need three pins to link it up (5v+, data, 5v-). An idea might be to use 2x headphone socket (3.5"/3 pin) on each strip, one as input and one as output.

Given the LED strip I have (WS2812 / 5 metres), can I use regular old audio cable to wire up the strips, or is it too much voltage/amps for the cable? I am using a separate power supply for it, I think it's 2A off the top of my head (will check when I get home tonight.)
Is there a smarter plug/socket combination I should be thinking about?
What gauge wire can I use to run the data-out signal to the top of the strip?

Any help is greatly appreciated! This will be my holiday break project, looking forward to having the time to sit down and build it out (and code it up!)
Thanks!

Print this item

  [Beginner] How many LEDs at one RPi 2?
Posted by: Tuetensosse - 12-06-2015, 04:43 PM - Forum: General Discussion - Replies (1)

Dear Maniacal Labs Staff,

at first thank you very much for all your work and your ongoing support.

For a large LED Project I want to drive up to thousands of APA102 Pixel controlled by a Raspberry Pi 2. For the best case maybe one RPi 2 could controll up as many Pixels as possible. But to calculate this I wanted to ask how many Pixel can be driven by one SPI port?
I read in you python script that the buffer limit is 1024 pixels at the moment but it could be extended. So do you have data regarding to control a lot of pixels via one SPI Port (included fps?)?

The project will be one large stripe (not as a matrix) in the best case with 6000 pixels (APA102). The power consumption is already safe Wink.

Thank you very much for your help!
Best regards
Kris

Print this item

  LPD8806 not working
Posted by: gehaste - 11-15-2015, 06:36 PM - Forum: BiblioPixel Support - Replies (16)

Hi.

So, I've been using the LPD8806 Led Strip for a while using PI4J and wiringPi. Decided to upgrade Rasbian and now my led strip is not responding anymore.

Thought hey, lets try using BiblioPixel, looks like the best stuff on the market for led strips.
Set everything up but when running the example to check if it works, it throws an error:

Code:
pi@raspberrypi ~ $ sudo python AllPixel.wiki/examples/AllPixelStripTest.py
Traceback (most recent call last):
  File "AllPixel.wiki/examples/AllPixelStripTest.py", line 11, in <module>
    driver = DriverSerial(num = 10, type = LEDTYPE.LPD8806)
  File "/usr/local/lib/python2.7/dist-packages/bibliopixel/drivers/serial_driver.py", line 99, in __init__
    resp = self._connect()
  File "/usr/local/lib/python2.7/dist-packages/bibliopixel/drivers/serial_driver.py", line 194, in _connect
    self._com =  serial.Serial(self.dev, timeout=5)
  File "/usr/local/lib/python2.7/dist-packages/serial/serialutil.py", line 282, in __init__
    self.open()
  File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 289, in open
    self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK)
OSError: [Errno 2] No such file or directory: ''

Can't figure out what the issue is, can anyone help me?

Print this item

  Newbie question
Posted by: vrushank_9211 - 11-02-2015, 11:32 PM - Forum: BiblioPixel Support - Replies (1)

Background:
I have been working on controlling a 48LED strip (LPD8806) using my Raspberry Pi. I am new to python but have a basic understanding of the language which I got from code-academy lessons.

Project:
I would like to synchronize my LED strip colors based on audio input frequencies I capture from a microphone.

Progress so far:
I was able to follow through steps in the wiki and successfully install Bibliopixel and run the channel ordering script to verify my hardware.
I need help to light up a section of my led strip. for eg. Leds 0-5 show in Blue.
Browsing through wiki, I found that I should be able to use the 'fill' method from 'LEDStrip'.
However, in-spite of spending a few hours I couldnt figure it out how to successfully call LEDStrip.

My attempted code:
from bibliopixel.animation import BaseStripAnim
from bibliopixel.led import *
from bibliopixel.drivers.LPD8806 import *
from bibliopixel import LEDStrip

numLeds = 48
driver = DriverLPD8806(numLeds, c_order = ChannelOrder.BRG, use_py_spi = True, dev="/dev/spidev0.0", SPISpeed = 16)
led = LEDStrip(driver)

led.fill((127,0,0))

Refernce code from Bibliopixel wiki that I was able to run:
Code:
from bibliopixel.led import *
from bibliopixel.drivers.LPD8806 import *
from bibliopixel import LEDStrip
import bibliopixel.colors as colors
from bibliopixel.animation import BaseStripAnim

numLeds = 48
driver = DriverLPD8806(numLeds, c_order = ChannelOrder.BRG, use_py_spi = True, dev="/dev/spidev0.0", SPISpeed = 16)
led = LEDStrip(driver)

class StripTest(LEDStrip):
def __init__(self, led, start=0, end=-1):
#The base class MUST be initialized by calling super like this
super(StripTest, self).__init__(led, start, end)
#Create a color array to use in the animation
self._colors = [colors.Indigo]

def step(self, amt = 1):
#Fill the strip, with each sucessive color
self.fill(self._colors)

a= StripTest(led)
a.run(sleep=30)

Note:
Eventually, I want to use Bibliopixel classes along with lightshowpi code.
I want parts of my strip to light up depending on what frequencies the mic captures.
I did go through the code on http://maniacallabs.com/2014/11/25/fft-audio-animation-with-bibliopixel-and-the-allpixel/ to understand if I can implement it for my RPi but eventually decided combining Bibliopixel and lightshowpi might be easier.

Print this item

  Icicle Dripping
Posted by: markarr - 10-25-2015, 04:50 PM - Forum: User Animations - Replies (3)

Hello All,

I am trying to create an animation that will "drip" down an icicle while changing colors. I guess I am not following on how to make an animation. Here is what I put together.

Code:
import bibliopixel
from bibliopixel.drivers.serial_driver import *
from bibliopixel.led import *


from bibliopixel.animation import BaseStripAnim

class Icicle(BaseStripAnim):
    
    def _init_(self, led, start, end):
        super(Icicle, self).__init__(led, start, end)
        #color starts at blue
        self._color = (0,0,255)
        #sets current pixel to the start
        self._current = start
        #Converts tuple to RGB
        R,G,B = (0,0,255)
        #gets the incraments the color has to move to get to white
        self._RColorIncrament = (255 - R)/self._size
        self._GColorIncrament = (255 - G)/self._size
        self._BColorIncrament = (255 - B)/self._size
    
    def step(self, amt = 1):
        amt = 1
        R,G,B = self._color
        if self._current == self._start:
            self._led.setRGB(self._current,R,G,B)
            
        if self._current < self._end:
            self._led.setRGB(self._current,R,G,B)
        
        if self._current == self._end:
            self._led.set(self._current, (255,255,255))
        else:
            self._led.all_off()
            
        self._current += amt
        R += self._RColorIncrament
        G += self._GColorIncrament
        B += self._BColorIncrament
    
    
driver = DriverSerial(num = 300, type = LEDTYPE.WS2812B)
led = LEDStrip(driver)

anim = Icicle(led,0,10)
anim.run()

Print this item

  LED's not working
Posted by: markarr - 10-21-2015, 10:57 PM - Forum: AllPixel Support - Replies (3)

Hello All,

I hooked up my led's to my allpixel and ran the allpixelstriptest and nothing happened. I have checked my solder points and have both of the resistors, the diode, and the cap on the board. I run the python and it shows me the debug output and when I hit the button on the allpixel python stops. These are working strips as I have had them hooked up to my pi via gpio. I have tried on a windows 10 machine and a raspberry pi. Any suggestions?

Print this item

  Matrix dots made of multiple leds
Posted by: madar - 10-09-2015, 11:23 AM - Forum: General Discussion - Replies (8)

Hi,

I'm not sure if this has been discussed previously. I'm search in the doc and examples a way to do it, but I haven't found it.

I need to setup a matrix (APA102) of 4x4. But every slot is made of 5 leds to have more power. You can imagine a dice face on number 5 :

Each line in my matrix looks like :

O O O O O O O O
O O O O
O O O O O O O O

They are wired by slot, hopefully Smile Basically, I just need to repeat the same information 5 times to have all the leds of a slot displaying the same information.

Is there a way to configure the driver natively to support this layout ? If not, can you give me a clue on how to modify the driver ?

I hope I've been clear enough Smile

Thanks for your help, and thanks for the lib. It's great !

Print this item

  Program doesn't finish
Posted by: RobinWi - 10-05-2015, 03:19 PM - Forum: General Discussion - Replies (6)

Hi all,
i'm really sorry for stealing your time but I don't find any solution. I'm really new to python (generally I'm using c++) so it's pretty unkonfortable getting started with this.
As part of my project i need to set the led's of my WS2801 strip to the given rgb data and i've managed to build nearly a working code:

Code:
from bibliopixel.drivers.WS2801 import DriverWS2801
driver = DriverWS2801(num = 75)

from bibliopixel.led import *
led = LEDStrip(driver)

led.fillRGB(255,0,0,start=0, end=50)
led.update()
The good thing is that it fills the led's but at the other end it doesn't finish the program (and my raspberry doesn't even response anymore trough ssh).
[Image: bugjrgeokaq6s.png]


I hope one of you guys can help me out Smile
(Sorry for any faults in my text - german guy :p)

Print this item

  the code for sk6812 led
Posted by: alanwangwang - 10-05-2015, 02:06 AM - Forum: General Discussion - Replies (2)

Recently,I have some SK6812 LED,they are sk6812 rgb, sk6812 wwa, sk6812 rgbw led , now i want to use them to make different matrix by madmapper , if there are a way can control them without dmx decoder. thanks

Print this item