@Yves_BAZIN Interesting. Never used artnet.resetsync(); or artnet.begin(123*48,170);
@Darren_Hedlund these are new methods I have created. The normal implementation does a loop over the read() method which calls a predefined callback function in case of packet received and in case of ‘ARTNET_SYNC’ ( which is never send by glediator). With this implementation I had the same issue as you: 3 universes and it was not working.
Hence now I do all in the read() method using a while. I compute the number of needed universes based on the number of pixels you have and the maximum size of your universe.
For instance in your case artnet.begin(512,170)
You will have to define 4 universes
Universe 0 size 510 //ie 170 pixels
Universe 1 size 510
Universe 2 size 510
Universel 3 size 6 //ie 2 pixels
The method resetsync() is here to say I have managed my frame you can restart buffering.
If in your tools you can’t create universe 0 I can make a quick adjustment.
Now you want to keep the time to execute your fastled.show as short as possible (parallel output). (512 pixels ws2812 is 65fps so set up your software to output around 25fps max and it should work fine.
Without using the two cores on the esp32 I was able to manage 64*32. Above that I needed to use the second core to display on one core and buffer on the second one.
Let me know if you have issues using the code
Yves
@Yves_BAZIN Okay, do you get flicking lights like crazy with the ESP32? Everything works but that…
@Darren_Hedlund you switch boards ? On the esp32 to avoid crazy flickering everywhere the fastled show should be executed on core 0. Let me get out of bed and have a coffee and I publish that.
@Yves_BAZIN Thank You! Coding the changes and let you know.
@Darren_Hedlund btw did you add #define FASTLED_ALLOW_INTERRUPTS 0 before include ‘fastled’ ?
@Yves_BAZIN YES!!! Okay, so using your wonderful steps, replacing all the ESP32 libraries with the newest version and also FastLED, the result is NO MORE FLICKERING!!! OMG, now to get back to my volume light testing… YES!!!
@Darren_Hedlund happy that I could help !! Have you tried my version of the artnet library ?
@Yves_BAZIN Not yet, been so focused on making ESP32 and now moving on the next fun aspect, your cool stuff.
@Darren_Hedlund any videos of your stuff yet ?
@Yves_BAZIN going to focus now on your technique but finally a working model (note brightness cranked down to 10 so I could record)
@Darren_Hedlund nice !! Which software are u using to push the animation
@Yves_BAZIN Right now, been using a github pixel controller https://github.com/neophob/PixelController
Glediator still only seems to function for half of my pixels after I swear I patched everything so will get back to that later.
My latest test, I found limits to the ESP32 to 512 pixels before I had to drop the FPS to 35 FPS. Any more and I have to drop down to 15 FPS or lower. AHHHHHHHHH
Is 512 pixels my limit on one ESP for DMX wireless?
Now going to slap in an antenna, DMX-3 connector, and print a waterproof case. so I have an IP number in each.
@Darren_Hedlund with my implementation I have 5904 pixels with glediator at at least 25fps. https://youtu.be/4viy1FxyLiY
@Darren_Hedlund i will publish to you a slightly different version of the fastledshow32 which will not wait for the show to end before giving back the hand. I use the same technique to ´stream’ bitmaps as a movie https://youtu.be/3wkRo2VCVQ8
@Yves_BAZIN Okay, I must get that code! OMG I will bribe you in pixels!!!
Was that Ethernet or wireless?
I can even make you some animations you can use. https://www.youtube.com/watch?v=eq9brcMFW30
@Darren_Hedlund wireless of course. https://gist.github.com/hpwit/57776e504fdc65bf809e6793159c4047
@Darren_Hedlund here is the new version of the fastled.show https://gist.github.com/hpwit/57776e504fdc65bf809e6793159c4047
but normally even with the other one my artnet library you should be able to do it easy.
if you have to do post manipulation to the pixels do it in the new FastLEDshowTask2() and not in the main loop
@Yves_BAZIN Awesome! Okay, going to start coding now for my new wave of testing.