Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Noob E1.31 protocol question

  1. #1

    Default Noob E1.31 protocol question

    I'm trying to code Arduino to translate E1.31 to control RGB lights. But while I understand how E1.31 protocol itself work, I can't seem to find any information on what is that actual data that is carried in the protocol messages. My end goal is to have some software, like LightShow Pro send E1.31 messages. So what I can't seem to find is what will be actually sent in the data bytes by the software.

    Or is it simply the case where the protocol is generic and I will need to program the software to send the correct data? I apologize if it sounds silly but I don't have any experience with any sequencing software yet.

    If this could be answered with a search, please, point me into the right direction. I've tried to do some searches but cannot find anything relevant.

  2. #2
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    7,867

    Default Re: Noob E1.31 protocol question

    I'm not sure if you saw the sticky posts by Ben - http://doityourselfchristmas.com/for....13-and-ArtNet)
    Not sure if it helps or not...
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2013 Halloween Show - Homemade tombstones, Grave Crawler, 2x 3-axis skulls, 4x 1-axis skulls, Video Projection
    2013 Christmas Show - 5x E681-12, 1x Ren48LSD, 30x 42 TLS3001 pixels, 4x 50 GECE C9, 4x Rainbow Floods, 2x DIYC Floods, SuperPixelStar... - no AC stuff!

    Ignorance is Temporary - Stupidity is Forever...

  3. #3
    Join Date
    Dec 2010
    Location
    Avon Lake, OH
    Posts
    479

    Default Re: Noob E1.31 protocol question

    You could also look at the source of the J1sys E1.31 plugin. Since it generates E1.31, you can see how the data is constructed, which helps when deconstructing!

    Erik
    Give back to the site that has given so much, become a supporting member.

  4. #4
    Join Date
    Nov 2009
    Location
    Brisbane - Australia
    Posts
    773

    Default Re: Noob E1.31 protocol question

    The E1.31 packets basically contain the DMX512 data (513 bytes) as well as some extra stuff. (universe, priority, etc)
    David...

  5. #5

    Default Re: Noob E1.31 protocol question

    Quote Originally Posted by David_AVD View Post
    The E1.31 packets basically contain the DMX512 data (513 bytes) as well as some extra stuff. (universe, priority, etc)
    I think I wasn't able to properly explain my question.

    I understand how E1.31 works. Yes, I understand E1.31 message basically contains DMX-512 data (SC + 1 to 512 bytes). I also understand how DMX-512 protocol works. After SC, each byte represents a command to a DMX channel. All this is clear.

    What I don't understand (and cannot find clear specs for) is what those commands for DMX channels really are. How does byte 0x123 translates into channel turning on or off or turning to color green, etc. Is there a set standard for those commands or is it different for different DMX devices.

    Thank you for your responses. I will look through all the information again in case I missed something the first time around.

  6. #6
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    7,867

    Default Re: Noob E1.31 protocol question

    It's just a byte stream - for a light fixture, the value sets the intensity of that particular channel within the stream. So if you set channel 14 to '0x20', the light will be dimmed to that level. It's up the the receiver to figure all that out and perform PWM or whatever to dim the light fixture(s).
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2013 Halloween Show - Homemade tombstones, Grave Crawler, 2x 3-axis skulls, 4x 1-axis skulls, Video Projection
    2013 Christmas Show - 5x E681-12, 1x Ren48LSD, 30x 42 TLS3001 pixels, 4x 50 GECE C9, 4x Rainbow Floods, 2x DIYC Floods, SuperPixelStar... - no AC stuff!

    Ignorance is Temporary - Stupidity is Forever...

  7. #7

    Default Re: Noob E1.31 protocol question

    Thanks. How would it work for RGB pixels? Would it be R, G, B then dim level? Something like that?

  8. #8
    Join Date
    Sep 2008
    Location
    Baulkham Hills, NSW
    Posts
    2,242

    Default Re: Noob E1.31 protocol question

    No,
    For RGB, the DMX channel value determine the intensity on each colour. thus 3 channels are required. Weather Red is the first channel or not is important but can vary from controller to controller. Your ap will need to be able to set the colour to a particular channel.

  9. #9
    Join Date
    Nov 2009
    Location
    Brisbane - Australia
    Posts
    773

    Default Re: Noob E1.31 protocol question

    Typically, each value (byte) of the DMX data corresponds to the intensity level of a channel. Most DC controllers just map those 8 bit values as intensity of individual output channels.

    A controller that accepts DMX can do whatever it likes with the data however. It may use certain values to select operating modes, drive servos, etc.

    The main thing to realise is that the DMX stream doesn't itself describe what the data is destined to do. It's just a way of sending up to 512 channels (bytes) to a controller.
    David...

  10. #10

    Default Re: Noob E1.31 protocol question

    Thank you. It mostly answers my question. I certainly have more but at this point I will probably start up sequencing software and try to generate some messages rather than keep asking more questions.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •