rpi_ws281x
Adafruit-QT-Py-RP2040-PCB
rpi_ws281x | Adafruit-QT-Py-RP2040-PCB | |
---|---|---|
15 | 1 | |
1,799 | 17 | |
- | - | |
3.9 | 0.0 | |
about 2 months ago | about 3 years ago | |
C | ||
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rpi_ws281x
-
A 1536 LED Game Computer
Connect the led strip data pin to an available Io pin on the pi, connect the strips and to pi gnd pin and to a 5V power supply gnd pin, and connect the strips + to the 5V power supply.
Then use a library on the pi, for example this: https://github.com/jgarff/rpi_ws281x
-
Needing advice on creating short delays mostly in C
I'm sorry, but bit banging WS2812 on that hardware is stupid. Find some peripheral that you can use to output WS2812 bitstreams, and use that. For example, for the Raspberry Pi there is a library at https://github.com/jgarff/rpi_ws281x that can use either PWM, PCM or SPI to do this. I know you're dealing with a different CPU, but this should give you ideas about how you can use its peripherals. The data sheet is available: https://github.com/milkv-duo/duo-files/blob/main/hardware/CV1800B/CV1800B-CV1801B-Preliminary-Datasheet-full-en.pdf
-
WS2815 led strip with a raspberry pi
E.g.: https://github.com/jgarff/rpi_ws281x
-
Controlling LEDs via ws281x with SPI
The library it's based on specifically notes SPI usage in the readme, and details on how to use (that's where I got the steps that I double-checked in the OP)
-
How to setup the NEOPIXEL RING - 16 X 5050 RGBW LEDS on a rpi 4b?
Regarding the error though, it sounds like there are a bunch of slight cpu variations that aren’t all clearly defined. I can’t reproduce it myself (guess I have an older board). But there’s a solution suggested by the maintainer on a GitHub issue here https://github.com/jgarff/rpi_ws281x/issues/483 so I’d suggest trying that out first.
-
What's an extremely cheap setup for proof of concept?
You can run them direct off gpio but if xlights is your “end game” the falcon pi cap is more inline with the ecosystem of xlights, falcon player and a overall Christmas light display end game where gpio pins is more of a “electronics project” https://github.com/jgarff/rpi_ws281x
- Which GPIO pins for Neopixels, and why?
-
Using an LED Ring with Raveberry
The LEDs are controlled via the SPI interface of the Raspberry Pi. The rpi_ws281x library is used to manage the ring from python code. The library also provides the possibility to control LEDs via PWM or PCM, however this either disables either analog or digital audio output, which is quite disadvantageous for a music server. On a Raspberry Pi 4, there is one thing to look out for: SPI requires a stable clock, and the Pi 4 throttles itself by default. This can be avoided by adding core_freq_min=500 to /boot/config.txt. Raveberry takes care of this during install if you enable LED visualization.
-
2021 Nov 15 Stickied 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑳𝑶𝑶𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻
I have one too, when I plug it in the lights just stay white, unless its losing power in which they flash red. I wanted program them with python and I found a module to use but it wasn't really working. There was a script the came with the module that made them change color, but I haven't been able to write any scripts with the module myself. the module is called rpi_ws281x. You can install it using pip for python and I saw more about other programming languages too. for the button I was able to get that working as power button with this tutorial. Hope this helps.
-
Raspberry pie for controlling addressable LED strips, whats the best way?
[2] https://github.com/jgarff/rpi_ws281x
Adafruit-QT-Py-RP2040-PCB
What are some alternatives?
raveberry - A multi-user music server with a focus on participation
wifi-connect - Easy WiFi setup for Linux devices from your mobile phone or laptop
audio-reactive-led-strip - :musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
zram-swap-config - Replacement for broken zram-config-0.5 package
hyperion.ng - The successor to Hyperion aka Hyperion Next Generation
zram-swap - A simple zram swap service for modern systemd Linux
Mopidy - Mopidy is an extensible music server written in Python
cava - Cross-platform Audio Visualizer
Killed by Google - Part guillotine, part graveyard for Google's doomed apps, services, and hardware.
LED-Marquee - Software to run my LED marquee display, my favorite project. Still working on the comprehensive video about it.