Closed Czechball closed 2 years ago
UPDATE: I just realized I tried to get this working on my Raspberry Pi 3B+, so I reconnected the cables and powered it up, and surprise - it works without an issue. So I thought - well, maybe the model 2 B is just too slow to run this? But just to be sure, I swapped the SD card from my 3B+ (which worked) to the model 2B, and it works fine too, just with less FPS. So there's most likely an issue in my config on the original system... I'll investigate and compare the systems, but still, this is a very weird issue...,
It may be that it's too slow and somehow improperly closes something or it could also be due to the way each board handles io/audio?
I'm not sure. The thing is that, in the end, it worked fine on both systems.
Ok got ya, if that is the case and we can no longer identify the issue I will close this issue.
Hello, I have a very weird issue. Every time I run
sudo python3 visualization.py
on my Raspberry Pi, it outputs pretty much random colors (mostly white) that blink seemingly randomly, even tho there are some patterns that kinda react to music. After exiting this via ctrl+c and trying to run any other scripts to output anything on the LED strip, it's broken (no or random colors light up) until I reboot the Raspberry Pi. I can run the rpi_ws281x strandtest without any issues and even the led.py strandtest included in this project (without running visualization.py before of course). I tried running these both with and without 3 to 5 V logic level shifter, result was the same.This is how the LED strip look like when running
visualization.py
: https://youtu.be/k11jUPTRwSsMy specs: Raspberry Pi 2B 180 pixel RGBW LED strip Python 3.7.3 5V 4A PSU powering the entire setup (I measured the LED strip to max out at around 2.5A so it should be enough)
I have also modified
led.py
with this patch to fix the wrong import name: https://github.com/drakeapps/audio-reactive-led-strip/commit/726507f3d322afe4449b8a338cfffa8caeddee21Visualization.py output:
Here's my
config.py
: