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.

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.

Comments

author
knoeterich (author)2017-05-09

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
author
DavidB56 (author)knoeterich2017-05-10

try setting the gateway to 192.168.1.1

Screenshot (1).png
author
knoeterich (author)DavidB562017-05-11

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?

author
DavidB56 (author)knoeterich2017-05-12

Try this updated code

if this dosen't work contact me again

artnet_node.hartnet_node.pdecommon.hpackets.h
author
RolandWijnen1 (author)DavidB562017-08-20

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.

author
DavidB56 (author)RolandWijnen12017-08-21

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
author
knoeterich (author)DavidB562017-05-14

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

author
DavidB56 (author)knoeterich2017-05-14

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

author
knoeterich (author)DavidB562017-05-25

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
author
DavidB56 (author)knoeterich2017-05-25

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

author
JonathanB328 made it! (author)2017-07-22

Hi! I'm very frustrated right now because my node will not function at all, what-so-ever. I need it to run a church event on Thursday, otherwise, no lights. I went exactly by the the instructions to trouble shoot why this wouldn't function and still, no dice. I even for-went the screen to keep it simple. Are there any common problems that the instructions over look? It should at least be doing something but I'm getting nothing on the test fixture that is connected. Please help, this is my only option for Thursday. Thank you so much in advance!

IMG_2968.jpg
author
DavidB56 (author)JonathanB3282017-07-26

could you maybe send me a few photos of the artnet node so that I can see if there is a hardware problem

author
thesnoc (author)2017-04-25

Hello. I'm having a problem. It seems to only work for a few seconds then all of my lights freeze up. Any possible ideas? Thanks!

author
DavidB56 (author)thesnoc2017-04-29

I'm sorry to hear that your artnet node doesn't work but I'm not sure whats wrong with it, do you have any more details?

author
Niko Smith (author)2016-12-19

Hi David, Is the LCD screen neccecary to the operation of the node?

author
DavidB56 (author)Niko Smith2016-12-22

the lcd is optional but its nice to have as it displays the nodes ip address and active dmx universes

author
jimcrowsby (author)2016-12-01

And what about Art-net through Wi-Fi on arduino? How to do? What modules is needed?
Node and gateway (DMX->Art-net) is interesting.

author
DavidB56 (author)jimcrowsby2016-12-06

most home built wifi artnet nodes are very slow the response time isn't that good ethernet is much faster

author
jimcrowsby (author)DavidB562016-12-07

And what about nodeMCU ESP32?
(240MHZ, computing power up to 600DMIPS dualCPUkernel)

If the art-net node (one universe) will work directly from ESP32, will it be slow also?

author
DavidB56 (author)jimcrowsby2016-12-07

i'm not shure have a look at this instructable https://www.instructables.com/id/ESP8266-Artnet-to-...

author
DIY Hacks and How Tos (author)2016-04-01

Cool Arduino project.

author

Thanks

About This Instructable

12,054views

20favorites

License:

More by DavidB56:Usb to DMX-RDM InterfaceArduino RDM RelayRDM Device Emulator
Add instructable to: