An Art-Net library for Wifi-Arduino's. Tested on ESP8266, ESP32, WiFi101 (e.g. MKR1000) and WiFiNINA (e.g. NANO 33 IoT) devices.
Note: this library assumes you are using a wifi module.
Based on https://github.com/natcl/Artnet master
Navigate to Sketch -> Include Library -> Manage Libraries...,
then search for ArtnetWifi
and the library will show up. Click Install and the library is ready to use.
$ pio init --board nodemcuv2
$ pio lib install artnetwifi
Place this in your ~/Documents/Arduino/libraries
folder.
Different examples are provided, here is a summary of what each example does.
Simple test for WiFi, serial and Art-Net.
Example output (Serial Monitor, 115200 Baud):
DMX: Univ: 0, Seq: 0, Data (48): 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
If this example is not working, don't try anything else!
See ArtnetWifiDebug.
This example will receive multiple universes via Art-Net and control a strip of WS2812 LEDs via the FastLED library. It is similar to the NeoPixel example but it will work on the ESP32 and the ESP8266 controller as well.
No ESP32 support! This example will receive multiple universes via Art-Net and control a strip of WS2811 LEDs via Adafruit's NeoPixel library.
This is a simple transmitter. Send 3 byte over into the Art-Net, to make a RGB light ramp-up in white.
Art-Net(tm) is a trademark of Artistic Licence Holdings Ltd. The Art-Net protocol and associated documentation is copyright Artistic Licence Holdings Ltd.