Members | Sign In
All Forums > Hardware and LBE construction
avatar

New to DMX but want to give it a try..

posted Jan 22, 2013 20:30:11 by DeaneGeiken
So I am new to this whole DMX thing but really want to incorporate it into our crew flights when we play. I have read most of the topics in this forum but can someone (in layman's terms) point out what equipment one would need to get started and how it all hooks to the Artemis game for use? Many thanks!
Commander -TSN Belisarius (BS 108)
page   first prev 1 2 3 4 5 6 7 8 next last
120 replies
avatar
MarkBell said May 29, 2013 20:01:15
Ok, try this: DMX 1 3 5, switch 1 back on.
avatar
DeaneGeiken said May 29, 2013 20:16:02
Ok. In situation normal, Flashing green only. Tractoring Flashing green. Docked, nothing. Shields up, nothing. Getting hit or hitting something, strong green and flashing light sequence.
Switched out #1 and turned on #2 and got no lights what so ever.
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said May 29, 2013 20:26:38
Ok, try all switches off and same DMX settings. This is pretty bizarre, I wonder how the addressing is set up in the light itself. The image of the manual you posted referenced an Appendix for DMX setup - do you have that?
avatar
DeaneGeiken said May 29, 2013 21:25:36
Bizarre is one word I would use to describe this issue! Here are the pages that came with the unit.



Commander -TSN Belisarius (BS 108)
avatar
MarkBell said May 29, 2013 21:42:20
Ok that sounds like we're getting close. Channel 1 apparently determines the strobe or dimmer, while 2-4 are rgb. Ok, try this: for normal and shields active events (to see if it works first), add in an additional channel, 4. Set channel 1-4 to 255 for normal, 1 and 4 to 255 and 2-3 to zero for shields. Have your dip switches to all off (except for 10) and see if that makes white light for normal and blue for shields. If it seems wrong, try flipping switch 1 on.
avatar
DeaneGeiken said May 30, 2013 01:46:04
In the DMX controls? What set of code is that?
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said May 30, 2013 02:06:40
The part in the DMX code where you've been setting the addresses? Just copy a pair of lines and paste it just below, so there are 4 address channels you can set. Then set the new channel to 4.
avatar
DeaneGeiken said May 30, 2013 13:40:41
Can you explain? Below is the DMX code that I currently have. I have just been changing the setvalue index #'s. Is there something else I should be changing?

<!-- ********************************************************************************************* -->
<event type="NORMAL_CONDITION_1" continuous="yes">

<!-- steady soft white light -->
<timeblock mseconds="1000">
<setvalue index="1" value="100" change="0"/>
<!-- red value of first light box -->
<setvalue index="3" value="100" change="0"/>
<!-- green value of first light box -->
<setvalue index="5" value="100" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>

<!-- ********************************************************************************************* -->
<event type="PLAYER_SHIELDS_ON" continuous="yes">

<!-- steady blue light -->
<timeblock mseconds="1000">
<setvalue index="1" value="0" change="0"/>
<!-- red value of first light box -->
<setvalue index="3" value="0" change="0"/>
<!-- green value of first light box -->
<setvalue index="5" value="200" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>

<!-- ********************************************************************************************* -->
<event type="TRACTORED_FOR_DOCKED" continuous="yes">

<!-- steady yellow light -->
<timeblock mseconds="1000">
<setvalue index="1" value="200" change="0"/>
<!-- red value of first light box -->
<setvalue index="3" value="200" change="0"/>
<!-- green value of first light box -->
<setvalue index="5" value="0" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>
<!-- ********************************************************************************************* -->
<event type="COMPLETELY_DOCKED" continuous="yes">

<!-- steady green light -->
<timeblock mseconds="1000">
<setvalue index="1" value="0" change="0"/>
<!-- red value of first light box -->
<setvalue index="3" value="200" change="0"/>
<!-- green value of first light box -->
<setvalue index="5" value="0" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>

<!-- ********************************************************************************************* -->
<event type="RED_ALERT" continuous="yes">

<!-- steady red light -->
<timeblock mseconds="1000">
<setvalue index="1" value="200" change="0"/>
<!-- red value of first light box -->
<setvalue index="3" value="0" change="0"/>
<!-- green value of first light box -->
<setvalue index="5" value="0" change="0"/>
<!-- blue value of first light box -->
</timeblock>
</event>
Commander -TSN Belisarius (BS 108)
avatar
DeaneGeiken said May 30, 2013 14:06:22
And just to make sure... before we go much further... when I wired the USB connector, I wired the Black to pin 1, orange to pin 3, and yellow to pin 2. That should be the correct wiring configuration, right?
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said May 30, 2013 14:26:09
For example, if we want to add in a 4th channel for the normal event:
<event type="NORMAL_CONDITION_1" continuous="yes"> 

<!-- steady soft white light --> 
<timeblock mseconds="1000"> 
<setvalue index="1" value="100" change="0"/> 
<!-- red value of first light box --> 
<setvalue index="2" value="100" change="0"/> 
<!-- green value of first light box --> 
<setvalue index="3" value="100" change="0"/> 
<!-- blue value of first light box --> 
</timeblock> 
</event> 


We simply copy a setvalue line and add in another:
<event type="NORMAL_CONDITION_1" continuous="yes"> 

<!-- steady soft white light --> 
<timeblock mseconds="1000"> 
<setvalue index="1" value="100" change="0"/> 
<!-- red value of first light box --> 
<setvalue index="2" value="100" change="0"/> 
<!-- green value of first light box --> 
<setvalue index="3" value="100" change="0"/> 
<!-- blue value of first light box --> 
<setvalue index="4" value="100" change="0"/> 
<!-- new value of first light box --> 
</timeblock> 
</event> 


In your case, the first channel will be the strobe/intensity value, followed by RGB. I recommend keeping the comments updated with your code, it'll be much easier to follow later :)
<event type="NORMAL_CONDITION_1" continuous="yes"> 

<!-- steady soft white light --> 
<timeblock mseconds="1000"> 
<setvalue index="1" value="100" change="0"/> 
<!-- strobe-intensity value of first light box --> 
<setvalue index="2" value="100" change="0"/> 
<!-- red value of first light box --> 
<setvalue index="3" value="100" change="0"/> 
<!-- green value of first light box --> 
<setvalue index="4" value="100" change="0"/> 
<!-- blue value of first light box --> 
</timeblock> 
</event> 

[Last edited May 30, 2013 14:27:27]
avatar
MarkBell said May 30, 2013 14:28:38
Yes, that should be the right configuration based on the cable spec.
avatar
DeaneGeiken said May 30, 2013 14:35:59
So I will copy this new code and test it out. I just can't understand why I would need to do this. Certainly this can't be the norm for everyone using this type of light and DMX connector.
Commander -TSN Belisarius (BS 108)
avatar
DeaneGeiken said May 30, 2013 14:38:19
I should say I will copy the <setvalue index="1" value="100" change="0"/> <!-- strobe-intensity value of first light box --> code and add it to each event. Do you think this is needed in the shield damage events and such?
Commander -TSN Belisarius (BS 108)
avatar
MarkBell said May 30, 2013 14:40:45
Well, I don't know if it'll fix it yet or not. Try putting it in for the normal event and for the shields active event, and see if that fixes it. Also, adjust the channels to 2,3,4 for the r,g,b channels. Once you've got that, see if it gives white light for normal and blue only for shields active.
avatar
MarkBell said May 30, 2013 14:42:46
The problem is that not every DMX fixture has the same programming. Some are just 3 channel devices that take RGB and that's it, some have servo controls that can move the heads around (taking additional channels), some like yours have strobe features, etc - and the channel arrangement isn't standardized. It'd be nice if it were, but there's no real reason for the industry to do so. I think most fixtures have RGB as the first 3 and then additional features after that, but again - not standardized.
Login below to reply: