Page 1 of 1

How does freestyler communicate with entec opendmx

Posted: 02 Oct 2009, 22:24
by steven789
i am programming my own dmx controller, i have a arduino board and want to program it so it does work with freestyler, now i want to know how the software communicates with the microcontroller ? is a start/stop byte used, are all bytes send or only the one that have been changed, are there any shemes for what freestyler sends out vrom the usb/comport

thx in advance, steven

Re: How does freestyler communicate with entec opendmx

Posted: 03 Oct 2009, 00:01
by djSupport
[freestylerdev][/freestylerdev]

Re: How does freestyler communicate with entec opendmx

Posted: 03 Oct 2009, 00:03
by djSupport
Theres only one guy who can answer that so send him an email :-)

Re: How does freestyler communicate with entec opendmx

Posted: 03 Oct 2009, 13:41
by steven789
DJ Support wrote:Theres only one guy who can answer that so send him an email :-)
done, hope i get response soon

Re: How does freestyler communicate with entec opendmx

Posted: 04 Oct 2009, 13:57
by remco_k
There's no need to ask someone else.

The Enttec Open DMX uses the Open DMX protocol.
Here you can find programming examples:
http://www.enttec.com/index.php?main_me ... =downloads

And I think, doing some little google search, you might simply find the protocol.
Although I think that would not be needed since there are some complete examples on Enttecs website.

Re: How does freestyler communicate with entec opendmx

Posted: 11 Oct 2009, 10:29
by Mattotone
if you ever manage this to work (i have an arduino too :D ) pleasae report back with your progress.
a cheap playback unit which can be programed with FS yes please. You may not need the entec as an rs435 tranciver can be interfaced with the arduino and only costs a couple of quid.

this project may be worth more then you think, an open source dmx interface, which produces the timings its self unlike enttec open and more like the pro. also the benefit of stand alone.
plus with all those lovely I/O ports a simple wing for FS?

1. buffered dmx output.
2. connections for a wing.
3. stand alone play back.
open source and can be built for under £30 bonus.

Re: How does freestyler communicate with entec opendmx

Posted: 11 Oct 2009, 22:30
by Beier
The Enttec Open DMX USB (schematic here: http://www.enttec.com/dmx_usb/schematic.pdf ) is simply a serial port attached to USB, so there are no serial line communication except the DMX data itself. The FTDI chip gets set up to the right speed, start/stop/parity bit number etc. and then gets the data bytes (that the serial port must clock out) in the order they are going to be sent, over and over. Somehow the "driver" (at high level) controls when to start transmission, so there will be a break between each DMX packet. I do not know if it is possible to extend the break time between DMX frames.
For the definition of frames and packets se http://opendmx.net/index.php/DMX512-A

So, the protocol needed, to imitate an other existing device, is that of the USB bus in the case you only will emulate a specific serial port chip. Perhaps Freestyler uses the library provided by FTDI.

Perhaps other software just uses the "serial port" in the operating system when using the "Open DMX USB" or the "DMX USB Pro" (which have a well described protocol over the serial line, that give command to the dedicated micro-controller.

Re: How does freestyler communicate with entec opendmx

Posted: 12 Oct 2009, 21:47
by Mattotone
http://www.tasankokaiku.com/jarse/?p=268

check this webpage for a full working source of DMX arduino

Re: How does freestyler communicate with entec opendmx

Posted: 05 Nov 2009, 17:45
by steven789
thx for all help/links

my arduino is now sending dmx, now im trying to let it send dmx on its own after the usb gets disconnected.

and btw :fs:

Re: How does freestyler communicate with entec opendmx

Posted: 16 Jan 2010, 12:37
by claudegu
Hello,

Did you succeed to still send dMX after removing from USB?

best regards

Claude