These adverts are supporting the forum's costs and the products/services are not endorsed by the forum owners.
First have you tried?
Log in to Search the Forum for help!
Learn more about using FreeStyler at the FreeStyler WIKI HERE
Learn more about DMX in General at The DMX Wiki HERE

if all else fails and you need a fixture consider the fixture building service HERE

How does freestyler communicate with entec opendmx

Discuss the latest developments or get support for them HERE.
Post Reply
steven789
Knows how to turn Lights ON
Posts: 7
Joined: October 2nd, 2009, 10:19 pm
FreeStyler Version: 3.0
I Use FreeStyler for: Nightclub Lighting
Twitter: twitter.com/

How does freestyler communicate with entec opendmx

Post 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


User avatar
djSupport
Hosts the Freestyler Forum and is an Admin!
Posts: 1902
Joined: July 9th, 2007, 6:57 pm
FreeStyler Version: Forum la
I Use FreeStyler for: Just for the Fun of it.
Contact:

Re: How does freestyler communicate with entec opendmx

Post by djSupport »

[freestylerdev][/freestylerdev]
Heather Trott, You Babe! I Drive a Dacia Duster and Explore! Check it out
User avatar
djSupport
Hosts the Freestyler Forum and is an Admin!
Posts: 1902
Joined: July 9th, 2007, 6:57 pm
FreeStyler Version: Forum la
I Use FreeStyler for: Just for the Fun of it.
Contact:

Re: How does freestyler communicate with entec opendmx

Post by djSupport »

Theres only one guy who can answer that so send him an email :-)
Heather Trott, You Babe! I Drive a Dacia Duster and Explore! Check it out
steven789
Knows how to turn Lights ON
Posts: 7
Joined: October 2nd, 2009, 10:19 pm
FreeStyler Version: 3.0
I Use FreeStyler for: Nightclub Lighting
Twitter: twitter.com/

Re: How does freestyler communicate with entec opendmx

Post by steven789 »

DJ Support wrote:Theres only one guy who can answer that so send him an email :-)
done, hope i get response soon
User avatar
remco_k
Moderator
Posts: 1233
Joined: October 12th, 2008, 11:27 pm
FreeStyler Version: N/A
I Use FreeStyler for: To help others here on the Forum!

Re: How does freestyler communicate with entec opendmx

Post 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.
Developer of the Sound 2 Light application (SL.exe) for FreeStyler: https://www.digiplay.nl/fs
Electronics runs on magic smoke. If it escapes, the electronics won't work anymore!
Need a SHOUTcast stream?: https://www.digiplay.nl
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: July 10th, 2007, 5:30 pm
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: How does freestyler communicate with entec opendmx

Post 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.
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
Beier
Knows how to turn Lights ON
Posts: 3
Joined: September 24th, 2009, 9:07 am
FreeStyler Version: 3.0.1

Re: How does freestyler communicate with entec opendmx

Post 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.
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: July 10th, 2007, 5:30 pm
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: How does freestyler communicate with entec opendmx

Post by Mattotone »

http://www.tasankokaiku.com/jarse/?p=268

check this webpage for a full working source of DMX arduino
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
steven789
Knows how to turn Lights ON
Posts: 7
Joined: October 2nd, 2009, 10:19 pm
FreeStyler Version: 3.0
I Use FreeStyler for: Nightclub Lighting
Twitter: twitter.com/

Re: How does freestyler communicate with entec opendmx

Post 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:
claudegu
Starting to get to grips with FreeStyler
Posts: 16
Joined: November 19th, 2009, 2:48 pm
FreeStyler Version: 3.2.1
Twitter: twitter.com/

Re: How does freestyler communicate with entec opendmx

Post by claudegu »

Hello,

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

best regards

Claude
Post Reply

Return to “FreeStyler 3rd Party Addons and utilities”