Adafruit is open and shipping! Let's build back better, together!
0

12mm LED pixels random flickering
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: 12mm LED pixels random flickering

by Twisteduser on Tue Nov 03, 2020 8:34 am

Error:
Code: Select all | TOGGLE FULL SIZE
  File "/usr/local/lib/python3.5/dist-packages/adafruit_ws2801.py", line 73, in __init__
    self._spi = busio.SPI(clock, MOSI=data)
  File "/home/pi/.local/lib/python3.5/site-packages/busio.py", line 186, in __init__
    self._spi = _SPI(portId)
  File "/home/pi/.local/lib/python3.5/site-packages/adafruit_blinka/microcontroller/generic_linux/spi.py", line 22, in __init__
    self._spi = spi.SPI(device=(portid, 0))
  File "/home/pi/.local/lib/python3.5/site-packages/Adafruit_PureIO/spi.py", line 167, in __init__
    raise IOError("{} does not exist".format(device))
OSError: /dev/spidev0.0 does not exist

Twisteduser
 
Posts: 17
Joined: Mon Oct 26, 2020 1:02 pm

Re: 12mm LED pixels random flickering

by adafruit_support_carter on Tue Nov 03, 2020 2:01 pm

Oops. OK, that's an easy fix. Just need to enable SPI on the RPI. You can do that via raspi-config.

adafruit_support_carter
 
Posts: 18117
Joined: Tue Nov 29, 2016 2:45 pm

Re: 12mm LED pixels random flickering

by Twisteduser on Tue Nov 03, 2020 2:36 pm

Okay, so I reinstalled today my raspberry, and now I'm using this solution and it's definitely better.
I start testing now, I hope there won't be any problem.
Thanks! :)

Twisteduser
 
Posts: 17
Joined: Mon Oct 26, 2020 1:02 pm

Re: 12mm LED pixels random flickering

by borm on Wed Jan 13, 2021 2:49 am

I noticed in one of the pictures that the +5v power for the pixels is attached to the +5v (pin 2) of the Raspberry Pi. I am considering doing this as well, but I am concerned about having 1.4 extra amps going through the pi board.

My power supply is large enough (2.5 amps) but I'm not sure if the pi board itself can handle it. I'm using a pi 0 W. Do you have any advice about whether or not this is a safe way to proceed?

borm
 
Posts: 1
Joined: Wed Jan 13, 2021 2:41 am

Please be positive and constructive with your questions and comments.