rstephan / ArtnetWifi

Arduino library for Art-Net (artnet) over WiFi, send and receive DMX data. Runs on ESP8266, ESP32, Pi Pico W, WiFi101 and WiFiNINA devices.
Other
353 stars 59 forks source link

Miss synchronizing #29

Open Nikitok122 opened 4 years ago

Nikitok122 commented 4 years ago

hello!!! having this problem in jinx software. that lag going between universes. https://www.youtube.com/watch?v=pDtPCQQSfgs

rstephan commented 4 years ago

I need more info! Jinx doesn't work is not a good start. Is it a problem with my library or is it a fault from your software?

But one guess: 16x16 RGB LEDs are 768 Byte in one stripe? One Universe with 170 LEDs per Art-Net UDP-Frame? Update-Order:

  1. Universe 1 -> Update -> Universe 2 -> Update ...
  2. or. Universe 1 -> Universe 2 -> Update ??

In case 1. maybe one frame is dropped, if the Arduino is busy writing to the LED strip. Try buffering both frames and make one update after.

Nikitok122 commented 4 years ago

Thanks for response!! I'm using esp32, that green device just a wifi router, which is between PC and esp32. Yes, that martix display contain 2 universes. Yesterday I tried gladiator software and seems no problem like this, but there is another problem with synchronization but in the whole screen, looks like dropped frames. Tonight I'll check sending packets and will see how packets serve universs: one packet to one universe or one packet to all universes

Nikitok122 commented 4 years ago

I found the reason of that behavior, there were my router. so weird. but framedrops still present in any softwere