Home Arduino projects Arduino based DMX ArtNet-Node
formats

Arduino based DMX ArtNet-Node

 

Arduino based DMX ArtNet-Node

Or how to make an Art-Net node for less than $ 50

Updated 13-01-2013

In this post we show you how to build an Art-Net node based on Arduino UNO or Arduino Mega with two output DMX universes (1024 DMX channels on mega). This node answers to the basic messages of the Art-Net protocol, so that any controller that meets the protocol will be able to detect it and use it as DMX output.

What do we need?

- An Arduino UNO, Arduino Mega 2560 or Mega 1280, the assembly and the code has been tested with Arduino UNO and Arduino Mega 2560, should work without problems in 1280.

- An ethernet shield based on Wiznet W5100 (Arduino ethershield)

- The DMX shield based on included schematic, or Tinkerkit DMX shield.

- Library Deskontrol 4 DMX universes (included in package)

- Arduino IDE v0023 (The code for the Art-Net node does not work for now with higher versions)

New version 0.2:
Arduino based DMX ArtNet-Node v0.2

Old version 0.1:
Arduino based DMX ArtNet-Node v0.1

Changes in version 0.2 beta
—————————-
- Not needed anymore modifications on file hardwareserial.cpp
- Now using deskontrol DMX library version 0.3
- Support for Tinkerkit DMX shield in UART mode
- Support for universe address
- Unified code for Arduino MEGA and Arduino UNO
- 1 universe (512 channels) with Arduino UNO
- 1, 2 or 3 universes (512, 1024 or 1536 channels) with Arduino MEGA

Installation Instructions:

Copy the folder “Dmx” included in the package to the folder arduino-0023/libraries/

Copy the folder “artnet_node” to Arduino sketches folder, in my case “Arduino”

Now we can open the sketch of the “artnet_node”, compile the code and upload to Arduino.

*****************************************************************
IMPORTANT:
To program the Arduino via USB, will be necessary to remove the DMX shield, and put it back once programmed!
*****************************************************************

To test the performance I have used the software “MADRIX”, the utility “DmxWorkshop” of Artistic license, and the utility “artnet-discover” that is part of the library libartnet of Simon Newton.

You can also try the program WhiteCat lighting from Christoph Guillermet.

All these programs are for windows, if you want to try Linux you can use “Q-light.” (Configure your computer with the IP 2.0.0.1, subnet-mask 255.0.0.0, gateway 2.0.0.1)

I hope to share your experiences in the Blog.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
58 Comments  comments 

58 Responses

  1. Tony

    Hi I’m getting the following error codes:
    artnet_node.pde: In function ‘void setup()’:
    artnet_node:139: error: ‘Udp’ was not declared in this scope

    As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp.

    artnet_node.pde: In function ‘void loop()’:
    artnet_node:146: error: ‘Udp’ was not declared in this scope

    As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp.

    artnet_node.pde: In function ‘void handle_packet()’:
    artnet_node:152: error: ‘Udp’ was not declared in this scope

    As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp.

    artnet_node.pde: In function ‘void send_reply(uint8_t, uint8_t*, uint16_t)’:
    artnet_node:253: error: ‘Udp’ was not declared in this scope

    As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp.

    artnet_node:257: error: ‘Udp’ was not declared in this scope

    As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp.
    Below is the full code:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">