claudeheintz / LXDMXEthernet_library

Library for Arduino with Ethernet Shield implements Art-Net and sACN with example DMX output using USART serial
BSD 3-Clause "New" or "Revised" License
26 stars 6 forks source link

Outputting sACN #3

Closed faulder closed 7 years ago

faulder commented 7 years ago

HI,

I believe this library can be used to send sACN onto a network? Do you have any example code of the library being used in an output situation?

Thanks

claudeheintz commented 7 years ago

Just added a DMX to Network example. On my home network, I couldn't get either an old w5100 based ethernet shield or a newer w5500 ethernet shield 2 to send multicast packets. They both unicast SACN without a problem, however.

claudeheintz commented 7 years ago

Apparently the ethernet shield sends out of network packets to the gateway. (By definition, multicast addresses do not have a network component.) My home network router does not forward multicast packets sent by the ethernet shield. The workaround is to use broadcast instead of multicast and send sACN packets to the network's broadcast address, 192.168.1.255.

faulder commented 7 years ago

Thanks very much Claude!

I've still got to do a bit more testing but the library is very intuitive and I've had no issues with broadcasting over a network. Thanks also for the investigation regarding multicast, that's much appreciated.