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

Max number of supported leds? #4

Closed
julien-binard opened this issue Feb 20, 2018 · 6 comments
Closed

Max number of supported leds? #4

julien-binard opened this issue Feb 20, 2018 · 6 comments

Comments

@julien-binard
Copy link

Super Boulot! ;)

I couldn't find the maximum supported leds for the nodemcu and the neopixel lib.
Does someone knows?
Any info of the ratio number leds and refresh rate?

I'm actually thinking of making a mod for my projector screen (lumene 240c) so about 7.4meters of led strip and for easy calculation of leds a 100 led/m ws2812b strip.
I made quite some years ago a 512 led panel with fastleds that was going quite fast but i'm wondering if running around 740 leds would be possible with a correct refresh rate.

Thanks

@Synless
Copy link
Owner

Synless commented Feb 22, 2018

Hi !

After some google searching it seams that there is no clear answer.
I tried pumping up the LED number to a 500 LEDs and the setup is not behaving correctly.
Mind you the max number of LED has to be change on the Arduino sketch as well.
I will work on that soon.

I would encourage you to try it and report your results :)

@Synless
Copy link
Owner

Synless commented Feb 25, 2018

Alright, after some testing it seems that passed 1470 bytes the UDP transfer is not being done correctly.

image

Right here I increased 180 to 181 and the serial terminal froze. So 490 LEDs is the current maximum.
The frequency was not changed the slightest, about 15Hz without any ThreadSleeping, and it stands the RGB flickering very well. The time it took the NodeMCU to perform this loop is less than a millisecond. So even with lots of LEDs the NodeMCU is not the limiting performance factor.

I will see to include a header in the payload to let the NodeMCU knows that it should wait for a second payload. Strips longer than 490 LEDs will need several payloads.
Temporary fix for a display as big as yours : using a slightly less dense LED strip :/

@julien-binard
Copy link
Author

I'll have some time, i ordered the nodemcu (and go a few centimeters of leds to so make first tests); i'll do the big screen when moving to new house in April/May .

Thanks for the feedback!

Synless added a commit that referenced this issue Feb 26, 2018
Synless added a commit that referenced this issue Feb 26, 2018
Synless added a commit that referenced this issue Feb 26, 2018
Synless added a commit that referenced this issue Feb 26, 2018
Synless added a commit that referenced this issue Feb 26, 2018
Synless added a commit that referenced this issue Feb 27, 2018
Synless added a commit that referenced this issue Feb 27, 2018
Synless added a commit that referenced this issue Feb 27, 2018
Synless added a commit that referenced this issue Feb 27, 2018
@Synless
Copy link
Owner

Synless commented Feb 27, 2018

Seems to work thus far.
Payloads are being sent carrying the colors for 400 LEDs, and the terminal payload triggers the color refresh. I will test it with a 10 LEDs split to test it with my scaled-down setup.
Yours to test now ;)

Synless added a commit that referenced this issue Feb 27, 2018
@julien-binard
Copy link
Author

I just ordered 8 meters of 100led/m strip, i will setup my nodemcu once it arrives (i got a neopixel square panel somewhere for testing purpose) , set up the mediacenter/node and wait for the strips to arrive and have some fun!

@Synless
Copy link
Owner

Synless commented Jun 24, 2018

Since I heard no news, I concider this issue as solved. Feel free to re-open it if needed.

@Synless Synless closed this as completed Jun 24, 2018
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