Arduino Artnet Node

24,568

29

47

A few months ago i needed an Art-Net node. But I didn't have enough money to buy one because they are about £300 and that is quite expensive.

Step 1: Gather the Parts

  • max485
  • 3pin(or 5pin)xlr
  • arduino mega or uno
  • ethernet shield (make sure to use an ethernet shield that uses the w5100 chipset , a shield with a different chipset wont work)
  • 16x2 lcd
  • 100 ohm resistor
  • 220 ohm resistor
  • 10k potentiometer

Step 2: Build the Circuit

The circuit is fairly straight forward but you will need some skill.

Step 3: Upload the Arduino Code

  1. Download the arduino ide (make sure to install version 023)
  2. Plug in your arduino via usb.
  3. Copy the file DMX from the download to the arduino ide's libraries
  4. Open the Art-Net-node.ino
  5. Chose your arduino board from the boards menu.
  6. Upload the code

Step 4: Download Freestyler Lighting Software

  1. Download the latest version of the freestyler lighting software.
  2. Open the software.
  3. Go to setup and then interface setup set this option to Art-Net.
  4. Then set Broadcast address to your Art-Net Node's ip address.
  5. Connect the Art-Net node's ethernet port to your computers ethernet port.
  6. Plug power in to the arduino via usb
  7. Go to your computers control panel then network and change adapter settings.
  8. You should then be able to see that the arduino is plugged into your computers ethernet port.
  9. Bridge your wifi to the arduino.
  10. Re start the freestyler software.

2 People Made This Project!

Recommendations

  • Frozen Treats Challenge

    Frozen Treats Challenge
  • Sensors Contest

    Sensors Contest
  • Classroom Science Contest

    Classroom Science Contest

47 Discussions

0
None
nano1994

5 months ago on Step 2

Hello,
do you have any more detailed information about the connection to the max485?

0
None
knoeterich

2 years ago

hello there,

I also recently tried to get it work but it doesnt. I have used the ip-setup as recommended in youre textfile but i cant establish any further connection. I disabled the firewall and the anti virus program avg. When i try to send a ping to 2.0.0.10 it prompts that the destination host is not available. With wireshark i tried to get a closer look. While sending the ping the following line is displayed:"who has 2.0.0.10? Tell 2.0.0.1"

Google says that this is a hint for a not configured mac adress. But in the arduino code i easily see the configuration...

The command ipconfig /all displays that my gateway is configured to 0.0.0.0 although i changed it to 2.0.0.1

See picture

All the other lines displayed in the command window are not really in my understanding ;) i am not really into networks....

Do you have any ideas what the problem could be?

Thanks for the help

20170509_165634.jpg
11 replies
0
None
knoeterichDavidB56

Reply 2 years ago

Hey David,

i tried that but it didnt work out.

i researched a little bit and i found that my ethernetshield has another mac adresse than the one in the code that i need to upload. the mac adress of my ethernet shield which is written on a sticker is: 90-A2-DA-11-05-2D

the mac adress in the code is:

uint8_t factory_mac [6] = { 1, 2, 3, 0, 0, 10}; // the mac address of node

I thought the mac adresse has to be the same as the mac adresse on the sticker.

Maybe this is the problem?

But when i try to change it to the mac adress { 90, A2, DA, 11, 05, 2D} i get the error message:

artnet_node.cpp:80:69: error: invalid suffix "D" on integer constant
artnet_node:68: error: 'DA' was not declared in this scope

How can i change the mac adresse without getting this error message?

0
None
RolandWijnen1DavidB56

Reply 1 year ago

Hi, I have the Arduino Artnet Node working. I can control my LED spot from my laptop connected directly to the node. I would like to use the node in an existing network setup. I'm aware of the fact to separate Artnet traffic form other network traffic. However, I'm not running any lightshows, just basic control of my garden. I guess that the node cannot be reached in my network setup because it has a MAC address of which packages are dropped by my router. Is is possible to assign another MAC address to the node that won't be dropped by my router. I see knoeterich had a similar question for which updated code is available? I did however not see a download link. Thanks in advance.

0
None
DavidB56RolandWijnen1

Reply 1 year ago

open the artnet node.pde file and remove the lines of code shown in the screenshot and replace them with this new code

uint8_t factory_mac [6] = { 1, 2, 3, 0, 0, 10}; // the mac address of node

uint8_t factory_localIp [4] = { 192, 168, 1, 10}; // the IP address of node

uint8_t factory_broadcastIp [4] = { 2, 255, 255, 255}; // broadcast IP

uint8_t factory_gateway [4] = { 192, 168, 1, 1}; // gateway IP address

your artnet nodes ip address will be 192.168.1.10

also change the first line to a different mac address

Screenshot (7).png
0
None
RolandWijnenDavidB56

Reply 1 year ago

Hi David, many thanks for your reply! It's working now :-)

0
None
nano1994RolandWijnen

Reply 5 months ago

Which mac have you choosed? Because only numbers are working

0
None
knoeterichDavidB56

Reply 2 years ago

after a bit of research i found out that the ethernetshield i was using needed another library.

I bought the Ethernetshield 2 from arudino not knowing that it isnt compatible to the ethernet library used in the code because of the Wiznet5500.

Implementing the ethernet2 library left me with some errors that i cant fix.

I simply bought another ethernetshield and i think the problems will be fixed ;)

Sorry for the hustle and thanks for the help

0
None
DavidB56knoeterich

Reply 2 years ago

that should fix the problem i remember that issue as well sorry that i didn't mention that

0
None
knoeterichDavidB56

Reply 2 years ago

With the new shield everything works fine now! :)

Do you know how fast the rate for sending data is via ethernet?

I am using the visual software vvvv and it runs in 60fps.

If i use a "bang" (in this case it is a signal send in the time of 1/60s) the signal often does not get send.

greetings and much thanks

knoeterich

20170525_132954.jpg
0
None
DavidB56knoeterich

Reply 2 years ago

Great to hear that the artnet node now works, the ethernet speed is 10-100 megabits i think.

0
None
nano1994

Question 5 months ago on Step 2

Is there any diagram to use it with the uno? and which display is required? 5V or 3.3V?

0
None
ChristopheB54

Question 6 months ago

I would like to use only one universe with an Arduino Uno but I would like to choose the universe to use. When I choose "USE_UNIVERSE_1", I've an error message because "ArduinoDmx1" is not defined in the dmx library for Arduino uno but just for Mega. Thank you.

0
None
tamastamas

6 months ago

What I muss modify in the code to work with I2C LCD display?
I changed the definition of the LCD and included the necessary library but it display an error message.
Sorry for my bad english.

picture_1.jpgpicture.jpg
0
None
boy sodier

Question 11 months ago

How do I change which artnet universe is outputted on each dmx port?

1 answer
0
None
DavidB56boy sodier

Answer 11 months ago

the easiest way is to change artnet settings on the pc end of things otherwise you would have to modify the code

0
None
AdrianP154

Question 1 year ago

I have a problem: C:\Users\loo\Desktop\artnet\artnet_node\artnet_node.pde: In function 'void setup()':

artnet_node:268: error: The Udp class has been renamed EthernetUdp.

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

Udp.begin(ArtNode.localPort);

1 answer
0
None
DavidB56AdrianP154

Answer 1 year ago

try using a different version of the Ethernet library