You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-14
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,28 @@
1
1
sACN to DMX converter
2
2
=====================
3
3
4
+
### version 0.2
5
+
6
+
4
7
This little command-line tool provides an interface between sACN network and DMX hardware. Basically it feeds your DMX dongle with whatever comes from sACN receiver.
5
8
6
9
At the moment being there are two supported types of interfaces:
7
-
1. Enttec Open DMX. It is widely known as one of the cheapest DMX dongles on the market. Many clones of this device have been manufactured around the world thanks to its simplicity and openness. Basically, a variety of cheap USB-RS485 converters off aliexpress will work just as good as original device (as soon as it is a FTDI chip based device). You can even make one yourself if you know which side of soldering iron is safe to touch :) I will not provide instructions though. Google it.
10
+
1. Enttec Open DMX. It is widely known as one of the cheapest DMX dongles on the market. Many clones of this device have been manufactured around the world thanks to its simplicity and openness. Basically, a variety of cheap USB-RS485 converters off aliexpress will work just as good as original device (as soon as it is an FTDI chip based device). You can even make one yourself if you know which side of soldering iron is safe to touch :) I will not provide instructions though. Google it.
8
11
9
-
2. Generic UART interface. As soon as your UART (COM-port) interface can run at 250kbit it can be used (in theory) to feed DMX data to fixtures. Not all built-in UARTs are able to run that fast, but it's not a good idea to wire your motherboard directly to your lights anyway. Yet i tested this approach on FT232 VCP mode, CH340/341 USB-UART chips and built-in UART on Raspberry Pi and it works. So if previous option is not for you, you can test this one. It is supposed to work with pretty much any USB-RS485 interface. No warranties provided though, i only tested it on what i have on hand.
12
+
2. Generic UART interface. As soon as your UART (COM-port) interface can run at 250kbit it can be used (in theory) to feed DMX data to fixtures. Not all built-in UARTs are able to run that fast, but it's not a good idea to wire your motherboard directly to your light fixtures anyways. Yet i tested this approach on FT232 VCP mode, CH340/341 USB-UART chips and even built-in UART on Raspberry Pi and it works. So if previous option is not for you, you can test this one. It is supposed to work with pretty much any USB-RS485 interface. No warranties provided though, i only tested it on what i have on hand.
10
13
11
14
How to use
12
15
----------
13
16
14
-
This is a command-line tool, so you run this in terminal. If you're a linux user you need no explaination. If you run Windows search for "command line" or "power shell" in your Start menu.
17
+
This is a command-line tool, so you run this in terminal. If you're a linux user you probably need no further explaination. If you run Windows, search for "command line" or "power shell" in your Start menu.
15
18
16
-
First you want to find out what hardware devices are available in your system. You may run the tool with `-t <device type> -l` options:
19
+
First you want to find out what hardware devices are available on your system. You may run the tool with `-t <device type> -l` options:
17
20
18
21
d:\sacndmx\sacndmx.exe -t uart -l
19
22
Port 0: COM1
20
23
Port 1: COM6
21
24
22
-
Now you see what devices are available. There are two possible variants of '-t': uart and opendmx. Latter is default if no `-t` option provided.
25
+
Now you see all available devices. There are two possible variants of `-t`: `uart` and `opendmx`. Latter is default.
23
26
24
27
Also you may want to know what ip-addresses you can bind to. Check possible adresses with `-n` option:
25
28
@@ -32,21 +35,21 @@ Now let's say you want to run the tool on COM6 and bind to 192.168.1.101. Provid
In most cases you will need to provide an ipaddress option. By default the tool will stick itself to 'localhost' address, which means that it will only listen to a machine it is running on.
42
+
In most cases you will need to provide an ip-address option. By default the tool will stick itself to 'localhost' address, which means that it will only listen to a machine it is running on.
40
43
41
44
On linux, you use your tty device path instaed of port name:
And finally, if you want to run Enttec OpenDMX'ish device, you can let the `-t` option go and you can pick a particular device by its serial number:
52
+
And finally, if you want to run Enttec OpenDMX'ish device, you can let the `-t` option go:
50
53
51
54
lightmaster@pi ~/sacndmx> ./sacndmx -l
52
55
Device 0: Uncle Eugene's DMX Dongle A (S/N A5069FNKA)
@@ -62,10 +65,12 @@ And finally, if you want to run Enttec OpenDMX'ish device, you can let the `-t`
62
65
63
66
All this is just the same way on Windows. You can of course get full list of possible options with usual `-h` key.
64
67
68
+
Sidenote: on linux you could get four `opendmx` devices for one actual hardware unit. Most likely you need the first one, so you can omit `-d` option. Not sure why it works this way. But if you need to pick another one you still can use `-d`, i.e. `-d A5069FNKA`.
69
+
65
70
Not yet here
66
71
------------
67
72
68
-
There are couple of things not yet implemented but planned.
73
+
There are couple of things not yet implemented but planned:
69
74
1. incoming Art-Net support. Must be an easy one, there are libraries :)
70
75
2. More hardware types. uDMX and enttecPro to begin with.
71
76
3. Automatic hardware reconnect. Doable, but will take some effort to implement properly. Right now it will just fail if hardware connection is lost.
0 commit comments