Does WS2811 data sl...
 
Notifications
Clear all

Does WS2811 data slow down?

16 Posts
10 Users
0 Reactions
5,255 Views
Posts: 2221
Topic starter
(@plasmadrive)
Famed Member
Joined: 15 years ago
[#32546]

Ok all you SPI gurus out there.. I have put together some pixel mini trees using 2811s. I am using one of Ray's DMX to 2811 converters that has built in test patterns.

http://www.aliexpress.com/store/product/DC5V-input-DMX-to-WS2811-SPI-Converter-512-channel-output-max170-pixels-controlled/701799_1019363088.html

I put 200 pixels on it just for yucks and here is what I saw.... a chase pattern started at #1 and went all the way to the end. But it slowed down as it got farther out from the #1 spot. It was noticeable enough to see with the naked eye.
why did it slow down from #1-200. Very strange..


15 Replies
Posts: 2539
(@lightup)
Famed Member
Joined: 17 years ago

Not enough information to make a good assessment.
Do other report a similar response?

Is it an algorithmic problem?
Electrons got tired? (un-likely :))


Reply
jchuchla
Posts: 8691
(@jchuchla)
Illustrious Member
Joined: 15 years ago

This is a completely non-authorative answer, but I'd guess that it's related to cumulative latency. I would think that each 2811 chip has to read the whole stream, remove it's data, and then forward the remainder to the next chip. While I'm sure it's really fast, I'm sure that this would add up with each 2811 chip, so it would be more and more noticeable the further you get down the strip.


Reply
Posts: 347
(@dougd)
Reputable Member
Joined: 19 years ago

I believe the latency is like 10 nano seconds. It would take a lot of pixels before you could see the latency. I tested a matrix with 999 pixels and it scrolled text perfectly with no noticeable latency.


Reply
Posts: 2221
Topic starter
(@plasmadrive)
Famed Member
Joined: 15 years ago

someone suggested that perhaps it was in the test program.. I didn't think so but have no way to verify..


Reply
Posts: 6720
(@p-short)
Illustrious Member
Joined: 20 years ago

The latency is a lot more than 10 nanoseconds, more like perhaps 30uS per pixel (depends on your definition of latency). Still, I don't think that is enough to be noticeable even over 200 pixels.


Reply
jchuchla
Posts: 8691
(@jchuchla)
Illustrious Member
Joined: 15 years ago

Well 30us over 200 pixels adds up to 6ms of cumulative latency. I would think you can perceive that when looking at a whole string. I know that lip sync issues with broadcast tv bothers me with even smaller deltas.

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
MartinMueller2003
Posts: 7603
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

Full motion video on Analog TV was running at a 16.5ms (60hz) screen refresh rate. I am pretty sure you would get pretty good quality at 6ms. The hard part is delivering data to the pixel controller at that rate.

Martin


Reply
Posts: 6720
(@p-short)
Illustrious Member
Joined: 20 years ago
jchuchla wrote:Well 30us over 200 pixels adds up to 6ms of cumulative latency. I would think you can perceive that when looking at a whole string. I know that lip sync issues with broadcast tv bothers me with even smaller deltas.

--Jon Chuchla--

Sent from my iPhone using Tapatalk

That's somewhat surprising, as the normal (analog) tv refresh rate is 30 Hz (33 ms) per frame due to interlacing. And the normal frame rate for (non-digital) theatre movies is 24 Hz (!42 ms).


Reply
jchuchla
Posts: 8691
(@jchuchla)
Illustrious Member
Joined: 15 years ago

This is getting off topic, but The a/v latency doesn't usually come from the broadcast, it's typically from differences in the processing path in the receiving equipment. (TV vs AV receiver, or DVR, etc).

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Page 1 / 2
Share: