Questions tagged [neopixel]
76 questions
6
votes
2 answers
OSError: [Errno 12] ENOMEM with Pi Pico W
This is code that I used from | https://makersportal.com/blog/ws2812-ring-light-with-raspberry-pi-pico | and to begin, this worked great, however after stopping and running the code multiple times with thonny without issue, I then got the…

JohanW28
- 63
- 1
- 4
4
votes
1 answer
Raspberry Pi + neopixel: If brightness of RGB LEDs are reduced, does that mean certain colors cannot be rendered?
Referring to the python library neopixel (rpi_ws281x), to control WS2812B RGB LED strips, does trimming the brightness by scaling the byte for each sub-LED in a pixel from 255 to 127 limits us from rendering certain colors?
According to the…

siva
- 2,105
- 4
- 20
- 37
3
votes
2 answers
Neopixel sample code crashing when using a higher number of pixels
Context
I'm restarting a personal project that involved an ESP8266 and WS2812Bs (Neopixels).
It is worth noting that I do not have any Neopixels hooked up at the moment; I'm simply trying to get a feel for how fast I can update the pixels.
I'm…

Alex Larson
- 137
- 1
- 7
2
votes
0 answers
Runing and ending a Python script with sudo from inside another python script?
I am currently working on an Raspyberry Pi Camera project where I am using an Adafruit Neopixel ring as a ringlight.
The Neopixle library needs the script to be run with sudo in order to work, but I don't really want to have to run the entire…

Jarhara
- 21
- 6
2
votes
1 answer
Serial Issues with Neopixel
I was looking for some help with; understanding DMA, Serial, managing interrupts and blocking code.
I have an ESP32 DEVKITC v4 that I'm using to handle user Input both from hardware such as rotary encoders and from wifi. The ESP32 is also…

Connor N
- 21
- 1
2
votes
3 answers
Arduino ignoring serial interrupts when using FastLED
I have tried several different methods found around the internet, however none of them seem to work. This code works for cases 0-2 but when it goes into case 3 which is the rainbow chase loop, the pressing of the button does not interrupt the loop…

Beeker
- 383
- 4
- 20
1
vote
0 answers
Using a raspberry pi with pymongo and neopixels together
So, I am beginning a project where I want to use a Raspberry Pi to take input from a MongoDB database from the web and translate it into neopixel colours. I am running a virtual environment.
My problem is that when I run the code normally (python…

Christopher Jung
- 11
- 4
1
vote
0 answers
Trying to control
I have a raspberry pi 3 model B and a Kano LED light ring
my kid stopped using the raspberry pi and i repurposed it to make a pihole, it doesn't have the KanoOS anymore and just has the regular raspbian OS running my DNS server.
The lights on the…

Joshua Thornburg
- 25
- 6
1
vote
0 answers
How to use neopixel lights and sound output on Raspberry together?
I am working on a program to play a song and at the same time light up a 45 led Neopixel strip. The problem is when I am running the code using sudo the sound is not working (I am using a soundwave USB to audio sound card) but the lights work (i…

Mangesh Kangule
- 11
- 1
1
vote
0 answers
Code not lighting every LED in Adafruit Neopixel, using Processing and Arduino
I'm trying to use Processing to find the average rgb value of my computer screen in sections, and sending that data to Arduino to light my 60 LED strip. The code for changing the colors of the strip to match my computer screen is working, but only…

Nick Schine
- 11
- 1
1
vote
0 answers
Clearing NeoPixel LEDs after running animate()?
I'm trying to run an animation for a period of time, then clear the LEDs and go back to setting the colors manually with Neopixel.pixels.fill(). Only, after I run animation.animate(), I lose the ability to use pixels.fill() I tried using the…

Calvo
- 11
- 2
1
vote
2 answers
isuue running rpi_ws281x(neopixels) using python on Rasberry pi 4
I have installed the files for ws2812 neopixels on raspberry pi 4b using :
curl -L http://coreelec.io/33 | bash
and ran the python strandtest.py
I am facing an import error
File "strandtest.py", line 9, in
from rpi_ws281x import…

Ashwath
- 65
- 6
1
vote
1 answer
ESP32 Cores are freezing when controlling two LED strings
So for the last week, I have been dealing with an issue with my ESP32. For background information, I am working on a Music Meter project. My goal is to have the ESP32 sample two audio signals, and have two set of LED strings react to the two…

Jay
- 111
- 2
1
vote
1 answer
Arduino NeoPixel code behaves oddly when code is moved to class
So I've been running into a weird issue while trying to compartmentalize some test code I wrote for an Arduino/NeoPixel application. There are two scenarios: Scenario A, my code before the move, and Scenario B, my code after the move. The test code…

Toms Jensen
- 15
- 4
1
vote
1 answer
Neopixel LED Library
Im' trying to create my own Library for the Neopixel Led strips, because there is no Library with the functions I need and I'm wondering how the LEDs work. In the Datasheet of the LEDs I found out that I have to send 24 Bit GRB color values in form…

led_pat
- 21
- 3