rpi_ws281x
audio-reactive-led-strip
rpi_ws281x | audio-reactive-led-strip | |
---|---|---|
15 | 7 | |
1,799 | 2,699 | |
- | - | |
3.9 | 0.0 | |
about 2 months ago | about 1 year ago | |
C | Python | |
BSD 2-clause "Simplified" License | MIT License |
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
audio-reactive-led-strip
-
WLED Project
Thanks for the pointers! After digging a bit more, I found https://github.com/scottlawsonbc/audio-reactive-led-strip which looks like an excellent end-to-end setup that's also easy to explore further from. Can't wait to sink lots of hours into it :D
-
Art installation with LEDs using Nano Every
So I do think it's pretty well accepted that coding in python is easier for new programmers than coding in Arduino/C/C++. I don't have any experience working with the seeduino boards, and I don't have any experience doing sound reactive projects, but this project on GitHub really looks like it's exactly what you're looking for if you are okay with moving the the RPi: https://github.com/scottlawsonbc/audio-reactive-led-strip
-
A Python application to control QHM Device (HappyLighting App)
A custom version of "Device Mic" was implemented taking code from here but need to be improved. Hope you like it :)
-
I'm new and I am trying to bite off more than I can chew
Straight to the point. I want to integrate this: Music Reactive LED's into my car. I plan for everything to be behind the dash. I am adept with soldering, basic IT and small electronics (having made my own button box and peripheral input converter). However these seems a bit more advanced purely because of my requirements.
-
Using an LED Ring with Raveberry
LedFX sounds great if you want to control many different strips in a network. For a standalone Raspberry Pi, there is also this project, which I meant to try out for some time but did not come around to. It has a lot more features than my implementation.
- Must have Möbel/Gadgets euer Meinung nach?
-
So this is the RGB led strip I have and I want to make it into an audio visualizer trough my arduino,so it will detect audio if I for example have headphones on and if I am playing my audio on my speakers. And of course I also need to make it visualize the audio.
In order to use audio visualization with speakers you can use this library that someone made. https://github.com/scottlawsonbc/audio-reactive-led-strip From what I’m seeing, in order to use audio from your pc/headphones instead of from your speakers you have to program it yourself. You’ll notice they do something similar in the microphone.py but it uses your microphone from your pc. Instead of the microphone it just needs to use the input audio. I was going to modify this library to do that but it needs a esp2866 which I currently don’t have.
What are some alternatives?
raveberry - A multi-user music server with a focus on participation
LedFx - LedFx is a network based LED effect engine designed to deliver advanced real-time audio effects to a wide variety of devices.
hyperion.ng - The successor to Hyperion aka Hyperion Next Generation
home-assistant-config - My Home Assistant Configuration 🏡🏡
zram-swap - A simple zram swap service for modern systemd Linux
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
wifi-connect - Easy WiFi setup for Linux devices from your mobile phone or laptop
Home-Assistant-Config - This is my Smart-home Installation repository
Adafruit-QT-Py-RP2040-PCB - PCB files for Adafruit QT Py RP2040.
lib-python - Blynk IoT library for Python and Micropython
zram-swap-config - Replacement for broken zram-config-0.5 package
ssqueezepy - Synchrosqueezing, wavelet transforms, and time-frequency analysis in Python