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

Problem with Pi3B+ #11

Open
Kefschke opened this issue Jul 13, 2019 · 2 comments
Open

Problem with Pi3B+ #11

Kefschke opened this issue Jul 13, 2019 · 2 comments

Comments

@Kefschke
Copy link

Kefschke commented Jul 13, 2019

I followed the Instructions and compiled it for myself on a Raspberry Pi 3B+
When i start using it my LED's are flickering in random colors. What is the problem?
I decided to move to https://github.com/mattjlewis/diozero/blob/master/diozero-ws281x-java and have the same issues...

@Tom-The-Geek
Copy link

Tom-The-Geek commented Jul 24, 2019

Is the kernel module for the audio jack loaded? It will cause issues if it is.

@maxnz
Copy link
Contributor

maxnz commented Aug 27, 2019

This is a problem with the GPU not being initialized completely. If there is no monitor plugged in on boot it will only partially initialize. The way to get around this is to either plug it into a monitor when first booting the Pi (only needs to be connected on boot) or to use a dummy plug that pretends to be a monitor. The one I use is https://www.amazon.com/gp/product/B074FT1P8M.

I found this out literally the night before a presentation on a library some friends and I made for LEDs for a CS class (AnimatedLEDStrip). The LEDs would work in my room, but once we tried to go anywhere else on campus, they would do the flickering thing. I finally realized that it was because I'd always plug my Pi 3B into my monitor when I was in my room.

In my testing, I have found that this affects the 3B and 3B+ on PWM. Switching to SPI seems to also fix the problem.

Tom-The-Geek added a commit to Tom-The-Geek/NeoPixelServer that referenced this issue Nov 9, 2019
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

3 participants