Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5042

General programming discussion • Re: 24 Minute Sun Simulation

$
0
0
Well, since the LEDs are addressable you only need one strip. The first "strip" is LED 0-401, and the second "strip" is LED 402-803. Or 803-402.
I would certainly try running two strips in parallel, rather than twice the length as a single strip. This will ensure that the two sides update in sync, rather than getting a ripple effect at every update. Also, with two strips in parallel, you only need to push one new setting in at each update. With the two halves in series, it will need a full update every time. With hundreds of LEDs, that will show.
With 800 LEDs you'll probably get an update rate of around 35 "frames"/second. The "sun" is not really moving that fast so the updates are not going to be very frequent.

Having two strips in parallel (driven from the same I/O pin) also means their output will be identical, thus removing some versatility.

Statistics: Posted by ame — Sat Aug 24, 2024 2:13 am



Viewing all articles
Browse latest Browse all 5042

Trending Articles