-
Hi Stefan! First of all thanks a lot for this amazing library. It's easy to grasp and yet incredibly powerful, and just works out of the box! However, I'm running into problems with the framerate, probably due to my own lack of expertise, so I thought I'd ask you for help. First warning! I'm trying to run this over WiFi, using DHCP. Hopefully that's not a big no-no to begin with? Just running the receiver example, I can never get above 16fps. I tried with an Asus AC87U router connected to the internet (other bunch of packets on that network), and with a dedicated Asus RT-N12 (just the sending laptop and the receiving Arduino Uno R4 on the LAN). While I don't know MadMapper's implementation of sACN, I'm currently just sending 192 channels on a single universe. Even if it was using 32-bit words per channel, that's 2KB of data per universe per frame, or 240KB per second at 120fps. That shouldn't be able to saturate the network right? The 48MHz of the Uno R4 shouldn't be a problem either? Have you encountered such problems before and would you be willing to share your insights? Thanks a lot in advance! P.S.: while I don't currently own an Ethernet Shield, I could try that, but it sort of defeats the purpose of having everything nice and wireless :-| |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sending DMX Data over WLAN is always a problem. It works only with dedicated DMX hardware like CRMX which allows a stable connection. You should use a wired Ethernet cable for this purpose. Maybe MadMapper allows sACN over Unicast instead of Multicast. |
Beta Was this translation helpful? Give feedback.
-
The frame rate depend also much on the microcontroller you use. Personal I use a Wiznet W5500-EVB-Pico. I didn't test with Teensy 4.1 but it should also give good results. Also the SPI settings can bring problems. |
Beta Was this translation helpful? Give feedback.
Sending DMX Data over WLAN is always a problem. It works only with dedicated DMX hardware like CRMX which allows a stable connection. You should use a wired Ethernet cable for this purpose. Maybe MadMapper allows sACN over Unicast instead of Multicast.