ArtNet to DMX node?


10 posts
by Elusid » Tue Nov 06, 2012 6:20 pm
I work at a dance club / event center as a light tech and I'm finally getting the opportunity to mess around with my new Pi. One thing I would love to figure out is how to use the RaspberryPi as a node to convert ArtNet to DMX512/1990.

I found a tutorial on installing OLA on the Pi which does exactly what I want except it uses a USB to DMX converter as well. I want to find a way to output a DMX signal with as few extra components as possible using either the onboard GPIO or UART. DMX512 is based off of the RS-485 standard and from what I’ve read, UART can use it as well.

I came across THIS UART to DMX bridge document with a schematic at the end but I’m not sure how to get it working with the Pi. If anyone can help me create an ArtNet to DMX node with the RaspberryPi that would be absolutely incredible considering the cheapest all-in-one ArtNet to DMX node is $200. I know the lighting community would love it!


Here's my brief explanation of now an ArtNet and DMX system work together
Code: Select all
 DMX512 has been the standard in lighting control since 1990 and is used for things like dimmers, intelligent lights or effects throughout the entertainment industry. Each device on the DMX network must be addressed between 1 and 512. Each channel can control one attribute. For example, a 48 channel dimmer rack would consist of 48 separate 20A dimmer cards (generally) using a single DMX512 channel each. A strobe light often uses 2 channels for controlling the intensity and rate. A single moving head generally uses 11-32 channels which adjust things like the dimmer, pan, tile, cyan, magenta, yellow, shutters, zoom, focus, iris, gobo1, gobo2, gobo rotate, 5 facet prism, prism rotate, and whatever else the manufacturer designed it to do.

For most venues this is plenty but when you start talking about concerts and dance clubs, which heavily rely on intelligent lights and LED screens, 512 channels just isn’t enough. That is when you start running multiple DMX512 networks also known as a DMX universe. Most light boards output anywhere from 1-4 DMX512 universes natively but each cable needs to be run independently and if you are using any kind of LED video wall or large RGB LED system you’ll need several more universes. This is where ArtNet comes in

ArtNet allows you to send multiple DMX512 signals over IP. Connected to the network are IP to DMX nodes. Each node can be assigned to output/input any of the universes over the network. This SIGNIFFICANTLY reduces wires since all that’s run is a single CAT5e cable instead of a DMX run for each universe. It also allows you to control anything from anywhere, which is exactly why I want it.
Posts: 11
Joined: Mon Jul 16, 2012 10:32 pm
by Arjan » Mon Nov 26, 2012 5:52 pm
Hi,
I've found this one http://www.mathertel.de/Arduino/DMXShield.aspx
a DMX shield for Arduino. We probably could easily adapt this for the RPi UART.
http://www.raspberrypi-dmx.com/
Open Source DMX/RDM/OSC/Art-Net solutions
User avatar
Posts: 188
Joined: Sat Sep 08, 2012 1:59 pm
by psytron » Thu Jan 03, 2013 9:34 am
If you require bidirectional data flow I.e. rdm or you wish to use it as a slave and master you will need a little programming for deciding when to send / listen . If you just wish to send data use the simplified designs from that page. You will need to tell ola to use the UART on the RPI instead of the USB as well as setting it up to send at the correct baud rate. I am lookingat using a RPI to take art net from ola and sent out spi to led pixels. So a very similar approach could be used. There is a project called light pi which I believe is already doing this. Have a quick search and you should find some more info about directing ola to something other than USB. Hope this helps...
Posts: 3
Joined: Thu Jan 03, 2013 9:16 am
by Elusid » Fri Jan 04, 2013 2:24 am
Thank you! I'll take a look at it. RDM would be nice but just sending would be alright too.
Posts: 11
Joined: Mon Jul 16, 2012 10:32 pm
by Arjan » Tue Mar 15, 2016 7:23 pm
I just found this old thread, but still it might be worthwhile to append.

There are Raspberry Pi's DMX/RDM interfaces available from BitWizard. Raspberry Pi hardware DMX512 RDM solutions:
*.Raspberry PI DM512/RDM isolated board
*.Raspberry PI DM512/RDM isolated board with USB (FT245RL)

Raspberry Pi Zero + DMX512 RDM isolated board + open source = € 38,90

Raspberry Pi Zero + DMX512 RDM isolated with USB (FT245RL) + open source = € 43,90 and compatible with software that supports Enttec USB Pro (and additional features).

Using OpenLighting (OLA) you can create an Artnet node with Raspian.

Alternatively for Raspian, I am looking into a baremetal solution for Artnet <--> DMX

- Arjan
http://www.raspberrypi-dmx.com
http://www.raspberrypi-dmx.com/
Open Source DMX/RDM/OSC/Art-Net solutions
User avatar
Posts: 188
Joined: Sat Sep 08, 2012 1:59 pm
by Arjan » Mon May 09, 2016 6:27 pm
Elusid wrote:If anyone can help me create an ArtNet to DMX node with the RaspberryPi that would be absolutely incredible considering the cheapest all-in-one ArtNet to DMX node is $200. I know the lighting community would love it!


Here it is : http://www.raspberrypi-dmx.com/raspberr ... et-dmx-out
Raspberry Pi Model 2 €36,85, + DMX board €29.95 = €66,80
http://www.raspberrypi-dmx.com/
Open Source DMX/RDM/OSC/Art-Net solutions
User avatar
Posts: 188
Joined: Sat Sep 08, 2012 1:59 pm
by tlahitte » Sun Jun 12, 2016 9:49 pm
Hi everybody.
I'm continuing the discussion here because I need some informations on this.

I'm pretty new on everything related to DMX and Arnet but I need a way to create a ArtNet to DMX node using the Raspberry Pi.
Doing some researchs on the subject I installed OpenLighting Application (OLA) on my device in order to convert my Artnet signal coming from a PC software to a DMX signal. Then I would like to output this DMX signal through a 3 pins XLR and be understand by my DMX fixture. (a DMX dimmer)
Below is a schema of what I'm planning to do

Questions :
1) Is it possible to do that using OLA ?
2) Should I need to set my Raspberry PI IP address to 2.x.x.x in order to work with Artnet ?
2) Is the DMX interface from Bitwizard can output the DMX signal to my fixture once it will be convert ?
3) How can I install the DMX interface shield to work with OLA ?
4) In OLA Universe Settings I can't see any output port refering to a DMX interface

Hope someone will be willing to help me, I'm very grateful for your time !
Have a nice day :D
Attachments
Artnet-dmx.png
Artnet-dmx.png (17.9 KiB) Viewed 1067 times
Posts: 1
Joined: Sun Jun 12, 2016 5:09 pm
Location: Montreal, QC
by karrika » Mon Jun 13, 2016 8:02 am
tlahitte wrote:Hi everybody.
I'm continuing the discussion here because I need some informations on this.

I'm pretty new on everything related to DMX and Arnet but I need a way to create a ArtNet to DMX node using the Raspberry Pi.
Doing some researchs on the subject I installed OpenLighting Application (OLA) on my device in order to convert my Artnet signal coming from a PC software to a DMX signal. Then I would like to output this DMX signal through a 3 pins XLR and be understand by my DMX fixture. (a DMX dimmer)
Below is a schema of what I'm planning to do

Questions :
1) Is it possible to do that using OLA ?
2) Should I need to set my Raspberry PI IP address to 2.x.x.x in order to work with Artnet ?
2) Is the DMX interface from Bitwizard can output the DMX signal to my fixture once it will be convert ?
3) How can I install the DMX interface shield to work with OLA ?
4) In OLA Universe Settings I can't see any output port refering to a DMX interface

Hope someone will be willing to help me, I'm very grateful for your time !
Have a nice day :D


1) I believe that OLA can do this. I am using QLC+ in addition to OLA and the idea is to set the Artnet as an input to Universe 1 and UART DMX as an output to Universe 1. At least QLC+ has this functionality.

2) You need to set your IP address to the same address space as your Artnet. It is also possible to set more than one IP address ranges to one physical port. Like eth0 can be set to one range and eth0:0 to another.

2 again) Yes. Most DMX shields can output DMX either through some USB magic or through UART.

3) I leave this out. On OLC+ you go to the Input/Output tab. Choose the Universe 1 and click on the UART /dev/ttyAMA0 output tick box. Perhaps OLA has something similar.

4) no idea. Sorry
User avatar
Posts: 699
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland
by Arjan » Mon Jun 13, 2016 10:40 am
tlahitte wrote:Hi everybody.
I'm pretty new on everything related to DMX and Arnet but I need a way to create a ArtNet to DMX node using the Raspberry Pi.


No need to install OLA. You can use the open source "Raspberry Pi Art-Net 3 ->DMX Out / Pixel controller [Plug & Play]"

Just use a Raspberry Pi Model 2 with the DMX BitWizard board, put the baremetal firmware on it, and you are ready to play.

Thanks, Arjan
http://www.raspberrypi-dmx.com/
Open Source DMX/RDM/OSC/Art-Net solutions
User avatar
Posts: 188
Joined: Sat Sep 08, 2012 1:59 pm
by karrika » Mon Jun 13, 2016 10:58 am
Thanks for the links. So far my needs have been so modest that I have not experimented with Artnet. But perhaps when time permits it could be fun.

Great work Arjan. And thanks for making it all available.
User avatar
Posts: 699
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland