-
Notifications
You must be signed in to change notification settings - Fork 205
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
Problem with ws2812 led strip, directly on the raspberry #143
Comments
without logs, print screens, more information there is nothing I can do to help you... the very first notice on the read-me is:
Your issue might be related with this one #142 but who knows? |
I have no alert message to show and I am a novice, I looked at the issue 142 but nothing changes by changing the DMA to 10. And I also looked at the Troubleshooting Guide.. |
But still, I need the octoprint log, print screens to see your setup and everything else that you are using, for example, I need the code that you are using to test the neopixel, to compare with the one being used by the plugin. |
ok, my led strip works with any scripts that neopixel provided as an example Sorry for my english, i'm french. |
You need to enable debug information on the advanced section of the plugin. Then try again and send me the log again. Also you configured the plugin to use pin number 21, that only works for PCM mode, the plugin uses PWM mode.
Change it to pin 18 and give it a try... |
I tried on the pin 18 but it still does not work. Here are the logs |
And I’m guessing you changes the DMA from 5 to 10 on the plugin script? I noticed that you are using rpi3 B. Have you done this? |
Yes and yes ! |
Can you give me access to your raspberry pi, I need ssh access, so ip, password, everything (you will need to open ports 22 and 80 on your modem so I can remote access it)... send on my email that is linked here. Other people have been using this plugin with ws2812 strip. So I'm not really sure. |
The problem is that I am in a residence and the ports are blocked .... But I hamachi to install on it if you want |
That would work, send me all the login information by email, but first can you explain how did you change the DMA from 5 to 10 on the plugin? |
ok, you said that you got it working on ther examples right? So let's do this, create a new script, called test.py with the following code:
Try to run it by using:
This is the exact same code that the plugin is using, the only difference is that I changed the DMA form 5 to 10. |
It's Working ! But that planted the Raspberry |
What does that mean? Can you explain how you changed the DMA on the original plugin? |
You need to improve your communication, I understand that English is not your first language, but I ask a lot of questions and you only answer "yes" "no" I want explanations. |
No worries about the English, you just need to help me help you... |
The Rasp did not answer anymore. I had to restart it |
On the advanced sections of the plugin try disabling / or enabling the "use sudo" |
I tried with the enable and disable command but not anything |
the only thing I can do is to connect on your pi, and you having a webcam so I can see if the neopixel is working... You need to get the following script working reliable on your pi, test different DMA, different pin, also change the brightness, if you are using the same power supply for neopixel and your rpi try using a different one, try using level sifters for better communication with the strip...
Again, the only thing I can do now is if you send me an email and instructions to access you pi, I'm going to close this issue as I'm 100% sure that is not a plugin bug. |
Hello
I use a WS2812 led strip directly on the raspberry, but it does not turn on. Yet when I turn it on with a python script, it turns on to dismiss the hardware problem.
I do not see where the problem comes from ...
The text was updated successfully, but these errors were encountered: