Page 1 of 1

Custom artnet node, only 4 universes recognized (out of 16)

Posted: Tue Nov 28, 2017 9:20 pm
by xavier.seignard
Hello,

I'm creating my own artnet node (to drive led strips), based on teensy 3.2 and wiz820/850io. Everything is taking shape, but I have a problem, madmapper seems to only recognize the 4 first universes this node provides (out of 16 the device have).

Image

It may be not related to madmapper directly, but more on how I coded the stuff, but if anyone have some insights?
It seems the poll reply I send from the device don't have the right shape.

It also works ok on broadcast mode.

Here is my code: https://github.com/xseignard/artnet-nod ... c/main.ino

Regards,
Xavier

Re: Custom artnet node, only 4 universes recognized (out of 16)

Posted: Fri Dec 01, 2017 3:38 pm
by Janson
Hi,

years ago a ran into the same problem. As far as I know Artnet 3 does only support 4 universes per device when you use automatic discovery. However It will work if you manually input all the data in the madmapper settings. I think this limitation is gone in Artnet version 4. Correct me If I'm wrong ;)

Re: Custom artnet node, only 4 universes recognized (out of 16)

Posted: Mon Dec 18, 2017 11:08 am
by xavier.seignard
So after some research, I found that Madmapper have an artnet extension that can handle more than the 4 universes limitation artnet 3 have.

Everything is working OK.

Here is the first prototype of my node

Image

Re: Custom artnet node, only 4 universes recognized (out of 16)

Posted: Wed Dec 20, 2017 1:35 am
by mad-matt
We made an extension for that with Advatek, but in fact we also had ArtNet 4 compatibility before that, so it was already working if a node was sending multiple PollReply packets. That's the way you should do it since it has been standardized.

Re: Custom artnet node, only 4 universes recognized (out of 16)

Posted: Fri Dec 22, 2017 12:55 am
by xavier.seignard
Oh!
Thanks matt! that's cool to know! Is there a C (even better if teensy compatible) implementation of artnet 4 in the wild?

Regards

Re: Custom artnet node, only 4 universes recognized (out of 16)

Posted: Fri Dec 22, 2017 11:08 am
by mad-matt
For a C application you can check libartnet: https://github.com/OpenLightingProject/libartnet
For arduino code I never tested, but
Tthere is an ArtNet library bundled with Arduino studio (#include <Artnet.h> should work) or maybe I installed it (menu Sketch / Include library / manage libraries... - search for ArtNet)
The github is here: https://github.com/natcl/Artnet, maybe that's the