Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue getting it to fully work #67

Open
ChaseA4280 opened this issue Nov 19, 2022 · 9 comments
Open

issue getting it to fully work #67

ChaseA4280 opened this issue Nov 19, 2022 · 9 comments

Comments

@ChaseA4280
Copy link

I got everything installed but it says failed after running visualization.py and it also is either really laggy and or its just not hearing the music at all so any advice would help thank you

@naztronaut
Copy link
Owner

Which Pi are you using and are you supplying enough power? And if you can share the output that says failed, that would be helpful.

@ChaseA4280
Copy link
Author

im using RPi 3B+ and im plugged into the wall so i would assume power is fine and another question would the version of scipy pip and numpy and all the other installs matter as I kinda restarted and am doing everything by hand to see whats going wrong and the sudo pip3 install numpy scipy==1.4.1 pyaudio pyqtgraph line wont work the preparing metadata (pyproject.toml) part errors and when i did get the lights to turn on this pops up (linked image) https://mail.google.com/mail/u/0?ui=2&ik=038fe8bdf7&attid=0.1&permmsgid=msg-a:r1051267117548864159&th=18492e20b2d621e1&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ9JIW4dUqBKkBOiu-hvjtjsqWXfL0UdustKUzB1nudPR6idUZXYUSk25jCdcLatAVq9S8y4z2-cyZoc9VO1qpJPPjze5RDSrtbzJ0ACBJ-cR997uk_z-S_as30&disp=emb&realattid=18492e1f0144cce3e671

@ChaseA4280
Copy link
Author

to be honest after messing with it for a bit i think it may be power related any suggestions with that?

@naztronaut
Copy link
Owner

You should try to use at least a 3 amp power source. Even if you're plugged into the wall, you should check the power adapter you're using and see what the "output" is. Depending on how many LEDs your strip has, I'd say 2 amp is the minimum you should do but I'd recommend 3 amps.

@ChaseA4280
Copy link
Author

ok sounds goog im using a 2.5 amps source with 300 leds so would that not be enough
and i got the lights on again but its just flickering so based off that do you think power is my problem?

@naztronaut
Copy link
Owner

I think you do need more power for 300 LEDs. And you should check the connections too, make sure nothing is loose.

If you're powering the lights through the PI, the other thing you can do is provide power to the LEDs separately and let the Pi just do the processing. It will put less strain on the Pi that way.

@ChaseA4280
Copy link
Author

how would i go about doing that?

@ChaseA4280
Copy link
Author

what would be my best option as I am doing this as a school project i would like to get this done as fast as possible in the easiest way possible

@ChaseA4280
Copy link
Author

I fixed it and here are my recommendations to anyone else trying this project

  1. before running install.py go though and download scipy numpy and all of those things seperatly using commands like sudo apt-get install python3-scipy sense scipy doesnt like to install right in the install.py
  2. write a code and implement it in to the dancipi file that is called on.py and follow the instructions located here => https://www.thegeekpub.com/16187/controlling-ws2812b-leds-with-a-raspberry-pi/
  3. run the visualization after running on.py
  4. sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel this installation also seemed to help for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants