Page 1 of 1

NeoPixel stick works with rPi 3, but not with Pi Zero?!?

Posted: Sun Sep 17, 2017 11:08 am
by Prutsky
I created a test setup on my Raspberry Pi 3 and got the Neopixel Stick (8 x 5050 RGBW) work like it should.

I use the following library https://github.com/jgarff/rpi_ws281x.git

Now I compile this same library on a Pi Zero (v1.3) and connect the Neopixel stick to it.
Using the same code, the Neopixel stick does not respond to the code. When I CTRL+C my python program, the LEDs turn all on full brightness white.

Also the test script and test Python programs supplied with the rpi_ws281x library react the same.

I tried different Pi Zero's, alway use GPIO18.

What could go wrong?

Re: NeoPixel stick works with rPi 3, but not with Pi Zero?!?

Posted: Sun Sep 17, 2017 2:14 pm
by Prutsky
Dubugging further I learned that Servoblaster (which is also used on the Pi) interferes the the NeoPixel library. When I uninstall ServoBlaster the LEDs work.

Now I need to figure out how to make my servo and the NeoPixel work together...

Re: NeoPixel stick works with rPi 3, but not with Pi Zero?!?

Posted: Sun Sep 17, 2017 2:27 pm
by PiGraham
I don't know if it will be more compatible with that library but pigpio does a good job of controlling servos. It also has a wave out put function that clocks data out to multiple gpio pins. That might work to drive the LEDs is the other way doesn't work with company.