Art-Net DMX over IP library for Arduino IDE and Teensy.
Also supports Arduino Zero, ESP8266 and ESP32 based boards
Note: this library assumes you are using the standard Ethernet library or the NativeEthernet library when using a Teensy
Based on https://github.com/natcl/Artnet master
Place this in your ~/Documents/Arduino/libraries
folder.
Different examples are provided, here is a summary of what each example does.
This example will receive multiple universes via Artnet and control a strip of ws2811 leds via Adafruit's NeoPixel library.
Same as above but with controls to record and playback sequences from an SD card. To record, send 255 to the first channel of universe 14. To stop, send 0 and to playback send 127. The limit of leds seems to be around 450 to get 44 fps. The playback routine is not optimzed yet.
This example will receive multiple universes via Artnet and control a strip of ws2811 leds via Paul Stoffregen's excellent OctoWS2811 library.
This is a basic example that will print out the header and the content of an ArtDmx packet. This example uses the read() function and the different getter functions to read the data.
This is similar to ArtnetReceive but uses a callback to read the data.
This is a basic example that will send your ArtDmx packet to a specific IP.
Many thanks to virtualdave and mortonkopf on the pjrc forums for the original sketches !
Avec la très aimable participation de Nicolas "Magic" Plourde
This fork adds the ability to send data over DMX back to an IP. This is very handy when working with sensors and you want to establish a two-way communication.
Art-Net(tm) is a trademark of Artistic Licence Holdings Ltd. The Art-Net protocol and associated documentation is copyright Artistic Licence Holdings Ltd.