A simple solution for sending DMX signal via USB with Arduino and Max. Works as ENTTEC DMXUSBPRO but only for outputs. Focused on easiness + cheapness, not for stability or robustness.
- Arduino Leonardo or equivalent. UNO won't work with this sketch.
- DFROBOT DMX Shield for Arduino
DMXSerial Library is required. You can install it from the Library Maneger in Arduino IDE.
Select the serial port from serport. If you want to send 8ch DMX data, send a list with 8 numbers 0-255. The maximum list length is 512. You can control a real DMXUSBPRO with this patch.