Author Topic: lags on serial DMX512 Espixelstick  (Read 497 times)

Offline Laurtib

  • Newbie
  • *
  • Join Date: Feb 2018
  • Location:
  • Posts: 6
  • Kudos: -1
lags on serial DMX512 Espixelstick
« on: June 12, 2018, 09:39:37 PM »

Hi,
I need to connect about 50 espixelsticks to a PI3 running Falcon Player.
I want to use a UNIFI wireless router; the PI3 will be wired connected to it.
The maximum distance from the router to the espixelsticks is about 25m (about 82ft) in open space.
The espixelsticks will run as DMX512 receivers.
It will be only one DMX512 univers, each espixelstick will output the same DMX512 univers;
The espixelstick output will send dmx data to a PIC micro wich will decode the data and uses 3 channels.
This selection will be made from the espixelstick's web settings :
for the first espixelstick : start channel = 1, channel count = 150,
for the second espixelstick : start channel = 2, channel count = 150, etc.
The first PIC micro will use the channels 1, 51 and 101, the second PIC micro will uses channels 2, 52, 102 ... 50, 100, 150.
I have setup the espixelsticks working in multicast mode.
I have tested with 3 espixelsticks connected to the router and I have lags after 3-4min of correct working.
Pls advise if my project is posible to make and how can I eliminate the lags.
thank you.

Offline David Pitts

  • Administrator
  • *****
  • Join Date: Mar 2013
  • Location: Falcon, CO
  • Posts: 3,904
  • Kudos: 74
Re: lags on serial DMX512 Espixelstick
« Reply #1 on: June 13, 2018, 12:58:47 AM »
Make sure all pixel sticks that are defined in E131 section of FPP that are using Unicast are on the network and running.
PixelController, LLC
PixelController.com

Offline mac50

  • Supporting Member
  • ******
  • Join Date: Sep 2014
  • Location: Cumberland County, Illinois
  • Posts: 30
  • Kudos: 1
Re: lags on serial DMX512 Espixelstick
« Reply #2 on: June 13, 2018, 10:24:37 AM »
 ESPixelStick github page says to set the  CPU frequency to 160MHz or you will experience lags and other problems.what speed are you running?
https://github.com/forkineye/ESPixelStick

Offline Laurtib

  • Newbie
  • *
  • Join Date: Feb 2018
  • Location:
  • Posts: 6
  • Kudos: -1
Re: lags on serial DMX512 Espixelstick
« Reply #3 on: June 13, 2018, 08:33:00 PM »
Make sure all pixel sticks that are defined in E131 section of FPP that are using Unicast are on the network and running.


for now I am testing using Xlights running under windows 10.
All the espixelsticks are setup in multicast.


Offline Laurtib

  • Newbie
  • *
  • Join Date: Feb 2018
  • Location:
  • Posts: 6
  • Kudos: -1
Re: lags on serial DMX512 Espixelstick
« Reply #4 on: June 13, 2018, 08:34:00 PM »
ESPixelStick github page says to set the  CPU frequency to 160MHz or you will experience lags and other problems.what speed are you running?
https://github.com/forkineye/ESPixelStick

The espixelstick is programmed with 160MHz for CPU frequency.
Meantime I start some tests : when the espixelstick starts having lags, I want to see wich device generate it.[/size]1. I restart the computer and let the router and esp running : after I restart the XLights, the lags are still there,2. reset the router : the lags are still there3. reset the ESP : the lags gone for a few minutes.So, the lags are generated by the ESP. It seems that the ESP is not able to manage in real time the E1.31 data received.Even more, during the period when the lags exists, I changed the firmware using OTA from the web settings menu and, after the ESP rejoined the wifi network, the lags are still there.From now on, I can not explain where is the problem...Pls advise.Thanks,[/color]
« Last Edit: June 14, 2018, 12:42:16 PM by Laurtib »

Offline mac50

  • Supporting Member
  • ******
  • Join Date: Sep 2014
  • Location: Cumberland County, Illinois
  • Posts: 30
  • Kudos: 1
Re: lags on serial DMX512 Espixelstick
« Reply #5 on: June 14, 2018, 03:14:58 PM »
Don't have a pixelstick, was curious to what it was, and found note about lag and cpu speed when i was exploring. Passed info along, hoping to help out. ordered one to play with. When it comes next week, i'll see if I can get it to work for me

Offline Setarcos

  • Developer
  • ******
  • Join Date: Jan 2015
  • Location: San Jose, CA
  • Posts: 323
  • Kudos: 6
Re: lags on serial DMX512 Espixelstick
« Reply #6 on: June 19, 2018, 01:51:17 PM »
What firmware are you running on the ESPixelSticks?

Offline darylc

  • Supporting Member
  • ******
  • Join Date: Oct 2013
  • Location: Australia
  • Posts: 148
  • Kudos: 5
Re: lags on serial DMX512 Espixelstick
« Reply #7 on: June 19, 2018, 09:32:02 PM »
All the espixelsticks are setup in multicast.
Try Unicast, multicast on wireless is a disaster generally/

Offline Sawdust

  • Hero Member
  • *****
  • Join Date: Nov 2015
  • Location: Northern CA
  • Posts: 538
  • Kudos: 6
Re: lags on serial DMX512 Espixelstick
« Reply #8 on: June 19, 2018, 10:34:20 PM »
All the espixelsticks are setup in multicast.
Try Unicast, multicast on wireless is a disaster generally/
On FPP v1.x ESP devices worked best on Multicast, almost flawless.  Unicast went south if all controllers were not functioning 100%

There appears to be a issue with FPP v2.0 and Multicast.  I amexperiencing substantial delays with the ESP when using Multicast, but unicast is close enough, to spot on.

Until Multicast is corrected, unicast should be used

 

Back to top