ESPixelStick - E1.3...
 
Notifications
Clear all

ESPixelStick - E1.31 WiFi Pixel Controller

948 Posts
178 Users
0 Reactions
503.8 K Views
rstehle
Posts: 4348
(@rstehle)
Illustrious Member
Joined: 19 years ago

Dirk recommended this one........


Reply
Posts: 528
(@bud29)
Honorable Member
Joined: 17 years ago

Dirk had mentioned this one on the other site:

TP-LINK model TL-WA7210N

But I would also be interested to see what others think as I will be in a similar situation to Michael this year.

Rob


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi, the spec on the TP-LINK model TL-WA7210N says its good for 150Mbps. I know that there will be a lot of factors but can someone in the know translate that into a number of pixels / universes please. This would be usefull as a reference.


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

Assuming you are using E1.31 and your E1.31 source is on the wired side of your AP and that your AP can actually handle 150 Mbps when the packet size is less than 1500 bytes and there is NO other traffic on your network (which there always is) and you can actually deliver the needed data to the AP (you will need a gigabit infrastructure) and none of the receivers are outside the 75% power envelope and are all in direct line of sight of the AP (the AP down speeds for devices that are further away or not in direct line of sight) and it is not raining outside (yes rain decreases line of sight and causes the AP to down speed):

150Mbps must be de-rated to 80% (there are networking factors that cause this) so your actual max throughput is about 120Mbps.
Lets assume you are running your show at a 50ms per frame (20 fps) refresh rate. This means you have 120Mbps / 20 = 6Mbps/frame available to you.
A single universe (full) is 512 bytes of data.
A single E1.31 packet is 637 Bytes * 8 bits per Byte (this converts big B to little b) = 5096 bps.
Max number of E1.31 packets in a frame is 6000000bps / 5096bps = 1177 E1.31 packets / frame
One E1.31 packet holds about 170 pixels.
1177 E1.31 packets per frame * 170 pixels per packet = 200,090 pixels can be updated in each frame.

And this next bit of data is the part of the AP specifications most people miss:
1177 E1.31 packets per frame * 20 Frames per second = 23,540 packets / second (assuming no retries). Most software APs have a difficult time reaching this number of packets / second level.

I personally would not run such a network at greater than 50% capacity to allow for down speed issues and packet retries.


Reply
michaelc
Posts: 1540
(@michaelc)
Noble Member
Joined: 19 years ago

The popping sound you just heard is my head exploding. So extrapolating your last two paragraphs, I can run 200,090 pixels/frame but there are 20 frames/second so I can run 4,001,800 pixels/second (theoretically). So running at 50% I can still run up to roughly 2,000,000 pixels. Your assumption is that there is a gigabit infrastructure on the wired side. I didn't think any of our equipment (FPP, LOR, Renard) operated at those speeds.

When I was talking about a crappy flaky router, I was really focusing on it's ability to maintain it's SSID and connections to downstream devices. Where in your calculations is the factor of how many different devices a router can handle?


Reply
Posts: 64
(@oceanwanderlust)
Trusted Member
Joined: 13 years ago
DMJPixel wrote:I am fairly new with xLights but willing to try and help. You should be able to setup the stick as an E1.31 controller - under the Setup tab click the ADD E1.31 button - I added a 4 universe stick as 192.168.69.73 - see pic below. Can you explain your issue a little further?

Your pic got my brain working again, thankyou... I only have one universe and need to add 3 more. I got confused and distracted when my single universe of 512 CHANNELS got divided by 3 for 170 PIXELS.


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

To deliver 150Mbits to your router, you need an interface that is running faster than a 10/100Mbps interface. The next step up is gigabit. As for 2M Pixels, Updating once per second means you are not trying to sync to music or generate any type of smooth motion. I have found that for smooth motion you need at least 20fps. Anything less and the motion of the effects looks jerky to me.

You are correct, Raspberry PI cannot support gigabit (a PI cannot fill a 100Mbps pipe due to the interface between the Ethernet mac and the CPU). You did not ask about the creation of the data stream. You asked what the router could support. Those calculations are for a perfect router under perfect conditions. I suspect an el-cheapo router would not get to more than 25% of those numbers in a real world environment.

The number of stations a router can support is yet another separate specification that I cannot resolve for you. Math is straightforward real world operation is very tricky.


Reply
Posts: 4092
(@skunberg)
Famed Member
Joined: 18 years ago

Thank you Martin. Your perfect world example does get us a ball park. I don't think any of us are getting close to those kind of pixel numbers. So the architecture is sound for us, we just need the right parts and setup.


Reply
michaelc
Posts: 1540
(@michaelc)
Noble Member
Joined: 19 years ago

I'm doing some math. According to the specs, these little units put out 1-2Amps of 12V. Assuming I run all my pixels at 50% brightness and a typical pixel (2811) uses .06A. Is my math correct that I can run between 33 and 66 pixels from this. My thought is to run line voltage 120V AC to one of these guys sitting in a 1.25" pvc pipe to an ESPixelStick in the same pipe to drive up to 50 pixels. Is my math correct? And would this being so close to the ESPixel stick cause interference?
https://www.amazon.com/gp/product/B01JFL3FDS/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi, a cunning plan and whilst it will work I personally wouldn’t go for more than 30 pixels if you need reliability. At the bottom of the specs it states “Output Current: 1A-2A ; Output Power: 12W”. So 12W @ 12V = 1A, there saying it will do 2A but possibly in short bursts. Your maths with regard to the pixels was correct but you’ll need to allow about 100mA @ 12V (250mA @ 5V) for the pixelstick as well to be on the safe side.
So 1A – 100mA = 900mA divide that by your pixels @ 30mA and you get 30 pixels. Of cause with planning, only using single colours or not having all the pixels on at the same time you could get more.
What is the plan? We may be able to help.


Reply
Page 24 / 95
Share: