ndsh / Artnet

An Art-Net library for Teensy, Arduino and ESP boards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artnet for Arduino IDE

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

Installation

Place this in your ~/Documents/Arduino/libraries folder.

Examples

Different examples are provided, here is a summary of what each example does.

ArtnetNeoPixel

This example will receive multiple universes via Artnet and control a strip of ws2811 leds via Adafruit's NeoPixel library.

ArtnetNeoPixelSD

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.

ArtnetOctoWS2811

This example will receive multiple universes via Artnet and control a strip of ws2811 leds via Paul Stoffregen's excellent OctoWS2811 library.

ArtnetReceive

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.

ArtnetReceiveCallback

This is similar to ArtnetReceive but uses a callback to read the data.

ArtnetSend

This is a basic example that will send your ArtDmx packet to a specific IP.

Notes

Original acknowledgements by natcl

Many thanks to virtualdave and mortonkopf on the pjrc forums for the original sketches !

Avec la très aimable participation de Nicolas "Magic" Plourde

Information on this fork

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

Art-Net(tm) is a trademark of Artistic Licence Holdings Ltd. The Art-Net protocol and associated documentation is copyright Artistic Licence Holdings Ltd.

Art-Net

About

An Art-Net library for Teensy, Arduino and ESP boards

License:Other


Languages

Language:C++ 100.0%