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

More than 100 WS2812B_NUMBER_OF_LEDS is flickered #17

Open
yavuzklcc opened this issue Mar 28, 2023 · 1 comment
Open

More than 100 WS2812B_NUMBER_OF_LEDS is flickered #17

yavuzklcc opened this issue Mar 28, 2023 · 1 comment

Comments

@yavuzklcc
Copy link

yavuzklcc commented Mar 28, 2023

Hi. Thanks for the library. It works very well, accurate and looks pretty good.

But when I want to set WS2812B_NUMBER_OF_LEDS is over than 100 it looks signal is disrupted.

Is there a solution about that?

Regards.

Edit1: I am using -Og compiler option and I used all of SETPIX options.

Edit2: I was able to use more than 100 led if I lower the input voltage of leds. For example 11V for 144leds and 8V 300 leds

@hubmartin
Copy link
Owner

Edit1: Og might not be optimal, try -Os or -O2
Edit2: WS2812B LEDs need 5V, so you need to explain what is your hardware and if you use level shifter, 11V/8V sounds weird. It looks more like electrical than firmware issue.

Best solution would be to connect oscilloscope or logic analyzer and set first 100 LEDs to "black" color and 101th white, look for the pattern at scope and see if there is some jitter or if the signal looks correct for the color you set.

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