This is a simple sketch that allows an ESP8266 board running Arduino to receive DMX from a lighting control program that is broadcasting Art-Net UDP packets over a WiFi network, and relay the RAW 3x8bit RGB DMX channels to a single connected string of WS2812 LEDs. The DMX addressing starts at channel one of any Art-Net universe. Each LED pixel is sent three consecutive DMX channels. You can add universe filtering by editing line 37. Add an additional evaluation on the Art-Net universe field of the packet.
MY_SSID should be set to your network name
MY_PASS should be your network password
NUM_LEDS is the number of pixels attached
LED_PIN is the data pin for the LED string. I've had good luck with D3
Comments