Arduino Artnet Node

28,809

30

53

Introduction: Arduino Artnet Node

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

  • Magnets Challenge

    Magnets Challenge
  • Raspberry Pi Contest 2020

    Raspberry Pi Contest 2020
  • Wearables Contest

    Wearables Contest

53 Discussions

0
TomL17
TomL17

7 weeks ago

hy, how do you set the universes? is there any manner to set the universe, using a potmeter with click-action built in? thanks in advance

0
jjalu97
jjalu97

Question 8 weeks ago on Introduction

Hi, does your project work also as DMX to Art-Net node? Or only as Art-Net to DMX

0
jeanxavier744
jeanxavier744

2 months ago

como faço para usar o Arduino uno no projeto???

0
tsaltzman
tsaltzman

Question 3 months ago

Could you help me out with some compile errors? It keeps telling me the functions defined in the dmx.cpp library were already defined in _vector. I'm not sure what it really means.

0
nano1994
nano1994

1 year ago on Step 2

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

0
tsaltzman
tsaltzman

Reply 3 months ago

What do you want to know?

0
knoeterich
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
0
DavidB56
DavidB56

Reply 2 years ago

try setting the gateway to 192.168.1.1

Screenshot (1).png
0
knoeterich
knoeterich

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
RolandWijnen1
RolandWijnen1

Reply 2 years 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
DavidB56
DavidB56

Reply 2 years 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
RolandWijnen
RolandWijnen

Reply 2 years ago

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

0
nano1994
nano1994

Reply 1 year ago

Which mac have you choosed? Because only numbers are working

0
knoeterich
knoeterich

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
DavidB56
DavidB56

Reply 2 years ago

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

0
knoeterich
knoeterich

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
DavidB56
DavidB56

Reply 2 years ago

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

0
nano1994
nano1994

Question 1 year ago on Step 2

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