Questions tagged [ws2812]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
109 views

Pico W common reference ground with 5V power supply safe?

I have a question regarding a new project I’m currently working on. It involves a Raspberry Pico W, an external 5V 12A power supply and a WS2812B LED strip. Now, I already got it working flawlessly ...
Seatropicalnet's user avatar
-1 votes
1 answer
147 views

Connecting a wire to GPIO 18 (PWM) changes the state of GPIO 23

I have a circuit with a Schmitt trigger connected to GPIO 23 (on a Raspberry Pi Zero W). It should give a high (3.3V) signal when there is an AC current on the other side of the circuit. If there is ...
tolazytosignup's user avatar
0 votes
0 answers
40 views

WS2812B addressable led does not turn on after a certain point

I control thousands of leds using WS2812B led with Raspberry Pi 3. But since I have two different led types (both ws2212b), I use two different pins. Logically, I connected a 5V 10A power supply to ...
python_student's user avatar
1 vote
2 answers
285 views

Neopixels for WS2812B + pigpio for 433 MHz in one project

I have bought a set of 433 MHz transmitters (XY-FST) and receivers (XY-MK-5V) The only way I got reliable readings out of them so far was with the pigpio library (rpi-rf for Python and 433-utils didn'...
Sandro's user avatar
  • 113
0 votes
2 answers
997 views

How do I diagnose GPIO issues?

I was soldering LEDs in an extended line the other day when I accidentally forgot to shut my Raspberry Pi 4 off. I continued to solder and soon enough shorted my Pi out. It rebooted quickly and all ...
Hopper964's user avatar
0 votes
1 answer
189 views

Can I update all WS2811 neopixels at once, instead of iteratively?

I have a set of WS2811 lights controlled using neopixels. The light data line is connected to GPIO18. for i in range (N): pixels[i] = colour pixels.show() I expected this to be the ...
spraff's user avatar
  • 101
1 vote
2 answers
886 views

Controlling WS2812b LED strip produces inconsistent and uncontrollable output

Background I'm trying to control a single WS2812b LED strip from a Raspberry Pi. I've followed this tutorial from raspberrypi.com (with the exception of Prep & Installation step 4, because I ...
kviLL's user avatar
  • 131
1 vote
1 answer
584 views

WS281x library cannot access /dev/mem without root

I get this error from the rpi_ws281x library when trying to run as user pi (this is a java wrapper around the library): 16:43:59.060 [main] INFO com.github.mbelling.ws281x.Ws281xLedStrip - LEDs count:...
0__'s user avatar
  • 502
1 vote
1 answer
531 views

How to test if Pico State Machine is working?

I am trying to get some WS2812b LEDs to run with my Pico. Before actually attaching them I am trying out this library: https://github.com/benevpi/pico_python_ws2812b/blob/main/ws2812b.py It is using a ...
Arne's user avatar
  • 2,226
-1 votes
1 answer
520 views

Programmable ws2812 LED fail to light up on Pi Zero

I have hooked up a programmable ws2812 LED . The Datasheet says "Default power on does not light up" Using the hook up guide and a breadboard I have a single LED where ... DIN is attached ...
John's user avatar
  • 109
1 vote
1 answer
188 views

Controlling WS2812 with a non-PWM pin

I was looking for a way to control WS2812 led without PWM pin (specifically I would use pin 4 (1-WIRE pin) to control WS2812). Is it possible? Thanks
GinoC's user avatar
  • 111
1 vote
1 answer
2k views

Which of the GPIO pins are suitable for controlling the WS2812 strips?

I'm running multiple (6), separate WS2812 strips off of one Raspberry Pi4. They each need to be running independently - so the strip running on pin D18 will be getting different commands to the strip ...
Andrew Earl's user avatar
0 votes
0 answers
730 views

ws2811 LED lights powered by Raspberry pi 3B+ sometimes produced the wrong color

I am using a 3B+ pi to power Alitov 5V ws2811 LEDs. A link to the exact lights can be found here. To power the lights, I am using a 5V 10A power supply. To control the lights, I have connected the ...
Will Rosenberg's user avatar
0 votes
0 answers
255 views

driving WS2812 led strip without PCM GPIO

I'm using a Rpi 3b+ and a Pisound Hat which use all pins excluded : GND, 5V, BCM7 (CE1), 3v3, BCM5, BCM6, BCM22, BCM23, BCM27, BCM4 (GPLCKL0), BCM15 (RXD), BCM14 (TXD), BCM2 (SDA). i want to drive a ...
nhouse's user avatar
  • 1
1 vote
2 answers
7k views

How do I connect a Raspberry pi to ws2811 LED lights through GPIO18 pin?

Before I start, I should note that I have never used a Raspberry Pi before, so my only experience is trying to get this project to work. I recently bought ALITOVE WS2811 12mm (5 V) LED lights in the ...
Will Rosenberg's user avatar
1 vote
0 answers
169 views

WS2812B individual addressable lights too slow

I have an rpi-0-w that I use to control WS2812B strip (300 LEDs). With one strip everything is fine, but when I connect 2 more strips, obviously, update speed drops. Is there a way to increase the ...
Nauris Grinbergs's user avatar
1 vote
0 answers
155 views

NeoPixel library slow with large number of WS2812B LEDs (Raspi3)

Noob here, I am currently working with a 10m long strip of 144LED/m density LEDs. The problem is with such a high number of LEDs loops (like a color wipe for example or filling LEDs one after another) ...
lakadibo's user avatar
3 votes
1 answer
64 views

Need Help with Controlling Some LEDs with a Raspberry Pi

I'm mainly trying to follow this guide here in order to connect some LEDs to a Raspberry Pi. I've read other guides as well, but this link is where I got the majority of my setup done. I've never used ...
user2323030's user avatar
2 votes
1 answer
634 views

RAM Usage of Neopixels: How many can I power with a Raspberry Pi

I am building LED Matrix's with Adafruit Neopixels, and I read somewhere that the amount of pixels you can control is limited to how much RAM you have on your controlling device, in this case, a "...
Aaron Mann's user avatar
2 votes
0 answers
611 views

Raspberry Pi 3B+ with LEDs WS2812B and speaker

I just started making my first project with Raspberry Pi 3 Model B+ and I found an amazing tutorial ("https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/"). I am ...
Art's user avatar
  • 21
-1 votes
1 answer
1k views

sudo with WS2812 and Raspberry Pi

I'm trying to use the Neopixel Adafruit library with the WS2812 strip. Everything works great however there is something that I have not been able to do. I'm working on a project that requires ...
Andy's user avatar
  • 1
-1 votes
1 answer
2k views

Adafruit Neopixel library slows down code

I am trying to link WS2812 with the HC-SR04 sensor. My aim is to change the color of the leds depending on the distance the sensor measures. I am using the Adafruit Neopixel library for controlling ...
Atomic94's user avatar
2 votes
1 answer
714 views

Control two RGB LED Strips from Raspberry pi

I've connected two rgb strips(WS2812B) to raspberry pi. Each strip consists of 60 LEDs. The first strip data line is connected to GPIO pin number 18 & Second strip data line is connected to GPIO ...
Bharath Pabba's user avatar