I'm working with a Zero W that I purchased here about a year ago running an adafruit SD card with Jessie. It's powered with a MeanWell HLG-320H-24A (24V, 320W) power supply that is stepped down to 5V with an adjustable buck transformer (it should have plenty of power...)
I've set it up with the tutorial here: https://learn.adafruit.com/neopixels-on ... i/overview (both with and without the 74AHCT125). It worked swimmingly with up to around 100 LEDs (including running for over a day without problem) but if I push it above 100 leds (project goal is 1200) it will die, usually pretty quickly but dependent on how many leds are in use.
Things that I have tried:
* overvoltage on the power supply (up to 5.25VDC)
* setting LEDs to desired state and exiting, eg :
- Code: Select all | TOGGLE FULL SIZE
#!/usr/bin/env python3.4
# Simple test for NeoPixels on Raspberry Pi
import board
import neopixel
# Choose an open pin connected to the Data In of the NeoPixel strip, i.e. board.
D18
# NeoPixels must be connected to D10, D12, D18 or D21 to work.
pixel_pin = board.D18
# The number of NeoPixels
num_pixels = 600
# pixel brightness
brightness = 0.3
# The order of the pixel colors - RGB or GRB. Some NeoPixels have red and green
reversed!
# For RGBW NeoPixels, simply change the ORDER to RGBW or GRBW.
ORDER = neopixel.GRB
pixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=brightness,
auto_write=False, pixel_order=ORDER)
green = 255
red = 0
blue = 0
for i in range(num_pixels):
pixels[i] = (green, red, blue)
swap = green
green = red
red = swap
pixels.show()
(when this dies, the script has not been running for some time and mem/cpu/disk usage (per htop) is all minimal)
I've had to hard power cycle many times because of this and at one point got a
...after running the same script many times and although this was probably just a disk error that I could have cleaned up another way, I recompiled and installed rpi_ws281x as detailed here: https://stackoverflow.com/questions/530 ... odule-nameImportError: No module named board
I'm at a bit of a loss - I've tried tailing every system log I can think of in the hopes that I will catch an exception but nothing is reported out when the system freezes.
Is this a known limitation of rpi_ws281x?
Thanks in advance for any ideas.
w15p