Questions tagged [neopixel]

76 questions
0
votes
0 answers

neopixel library breaks when running only two LEDs

idk if this is happening because its a niche use-case, but I have a project where I'm trying to initialize a "strip" of only two ws2812b LEDs and make them blink red and green. I've been following this guide to do so:…
ShadowGamer3
  • 49
  • 2
  • 11
0
votes
0 answers

Audio not working on Rpi after using Neopixel

When I use neopixel (WS2812B, 60 LEDs) on my Rpi 4B the sound from the Raspberry Pi itself stops working (the one i get from HDMI still works, but since I usually don't have a Monitor attached, I need an alternative). I use pulseaudio, which I…
parasite
  • 1
  • 1
0
votes
2 answers

Arduino Adafruit NeoPixel LED matrix is not working properly

I'm new to Arduino development, trying to display alphabets in an 8x8 LED matrix, but the simulation is not working The code was working fine with one letter, what am I doing wrong in the below example? How to debug code and is there any way to add…
SuRu
  • 739
  • 1
  • 6
  • 19
0
votes
1 answer

Is there a function in Python to clear all of the LEDS in NeoPixel?

I am new to Raspberry Pi 4 and I am trying to used an addressable WS2812B LED Strip with Python/NeoPixel to light objects from different angles for an AI project I am working on. I am able to address the LEDs fine with an array. I would like to know…
D. Yager
  • 29
  • 6
0
votes
1 answer

What is an algorithm for displaying rpm on set of LEDs?

So I have an Arduino that is reading the rpm from my car. I also have a 15-pixel neopixel strip connected to the Arduino. What I want the Arduino to do is to make the led strip show the rpm. As the rpm increases, the number of LEDs that turn on is…
Nick
  • 15
  • 6
0
votes
1 answer

Frustrating Arduino Question - Loops and Cases

I'm using the Arduino IDE to program an ESP32, I'm having a bit of a frustrating problem. I'm using a neopixel ring (adafruit clone). I've used the adafruit neopixel demo snippets and they work fine. Now I'm trying to hack it apart. What I would…
Andrew Taylor
  • 145
  • 13
0
votes
0 answers

error while trying to install Neopixel plus

Hello I was trying to install the neopixel plus library but i got this error, I tried to understand it but I doesn't totally understand, seams a file is missing and the name of the file seems to have an encoding error. Sorry for my english (I'm…
ano_ponju
  • 1
  • 3
0
votes
1 answer

Raspberry Pi Neopixel "Selected GPIO not possible"

I'm using an Raspberry Pi 4 Model B Rev 1.2 to control an RGB-Ringlight with Python using the Neopixel library. I'm getting the error message: ws2811_init failed with code -11 (Selected GPIO not possible) My code is: LightMode.CONTROLLER =…
Drago
  • 21
  • 1
  • 5
0
votes
1 answer

Non-blocking theater style chase animation for NeoPixels

I am trying to adapt this version of the Adafruit NeoPixel theater chase example to be non-blocking by not using the delay() function and instead of using the millis() function to create a counter, however, I am having no luck as the NeoPixels just…
0
votes
1 answer

Problem with recoloring adressable LED strip

I am controlling a WS2811 LED strip from a raspberry pi in Java, using a library called Diozero. When I set a color to the LEDs for the first time, there is no problem, but when i try to do it again the LEDs just turn white instead of the color I…
error13660
  • 120
  • 7
0
votes
0 answers

Led Matrix on the PI

I'm working a little project using a neopixel like matrix board. The board in question is here. Now this is my first adventure into addressable led boards. And I was extremely frustrated to learn that the board came with zero documentation nor was…
Arcalise76
  • 56
  • 7
0
votes
1 answer

ATTiny85 + Adafruit_NeoPixel not working with array

I want to create a LED animation using Adafruit_NeoPixel library. Unfortunately I'm struggling with a probably dump thing. For some reason the strip does not anymore work when using a certain array access if (led_states[pixel] > 0) {. Meaning even…
fragsalat
  • 500
  • 4
  • 14
0
votes
2 answers

Is it possible to change the brighness on the fly for Adafruit_CircuitPython_NeoPixel

Is it possible to change the brightness on the fly for Adafruit_CircuitPython_NeoPixel ? It seems to be possible in a C library but no in python. Thanks, mcb
0
votes
1 answer

I have a LED Light strip and am not sure why the light isnt turning off immediately. Need code clarification

I'm fairly new at writing Arduino code and am confused by a block of code. When executed, a blue dot travels down the LED strip and eventually loops back to the start. #include #define NUM_LEDS 150 #define DATA_PIN 4 CRGB…
dosebot
  • 113
  • 5
  • 14
0
votes
0 answers

Is there a way to sync sending information across sockets on a network?

I am programming ada fruit ring LED lights in python, I have setup a local network for a midi controller to read data into my Raspberry Pi 3 and send to the 3 Pi Zero W through web sockets. I am running into the issue where some of the functions I…