I don't understand how setting channels project DMX512-RGBW

Alles was nicht direkt mit dem normalen Verhalten des PC_DIMMERs zu tun hat
Antworten
JCAK
Beiträge: 5
Registriert: 08.09.2012, 12:52

I don't understand how setting channels project DMX512-RGBW

Beitrag von JCAK »

Hello, I'm sorry for my stupid question, but I don't understand how setting channels using the DMX512-RGBWLED.

I have two circuit boards and both take the same configuration, channels 1 to 4. How can I do for take channels 1 to 8?

Could some one help me please?

thank you
Zuletzt geändert von JCAK am 08.09.2012, 14:21, insgesamt 1-mal geändert.
Martin3182
Lichtchef
Beiträge: 93
Registriert: 20.07.2011, 12:41

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von Martin3182 »

Hey,

if i understood the information correctly, one DMX512-RGBWLED should take 4 Channels.

So you could set your first Device to 1-4 and your second to 5-8.

How you can set the Address you can read on http://pcdimmer.de/index.php/dmx512-har ... 512-rgbled

Best Regards, Martin
Jeglicher Text, den Ihr vor diesen Zeilen lest, ist durch Zufall generiert worden und muss nicht zwingend Sinn ergeben.
JCAK
Beiträge: 5
Registriert: 08.09.2012, 12:52

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von JCAK »

Yes Martin, I read this but I don't understand. I'm using a language translator because I don't speak deutsche and may be the translation is not all good.

I push the switch and I hold it for about 3 seconds, my first circuit board take channels 1 to 4, then I do the same with my second circuit board but takes the same channels.

I'm sorry but I dont understand what I'm doing wrong.

Could some one tell me what i'm doing wrong?

Thank you very much!!
Martin3182
Lichtchef
Beiträge: 93
Registriert: 20.07.2011, 12:41

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von Martin3182 »

Hey,

you have to set the Start Address via the DMX Channels 511 and 512.


For Address 1 you set DMX Channel 511 to 0 and 512 to 0.
Then you hold the button on your first device.
After that you have to reset Channels 511 and 512.
For Address 5 you set DMX Channel 511 to 4 and 512 to 0.
Then you hold the button on your second device.

Hope this helped, Martin
Jeglicher Text, den Ihr vor diesen Zeilen lest, ist durch Zufall generiert worden und muss nicht zwingend Sinn ergeben.
JCAK
Beiträge: 5
Registriert: 08.09.2012, 12:52

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von JCAK »

Thank you Martin, I think I understand

You mean 4 is the 511 channel level?
I have 255 levels, how I do if I want set the address 460?
What happen when I need set the receiver like channel 512?
Martin3182
Lichtchef
Beiträge: 93
Registriert: 20.07.2011, 12:41

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von Martin3182 »

Hey,

DMX Addresses are binary encoded, typically they are set by dip switches.
One DMX Channel can take 256 Values which can be represented by 8 bits (00000000 = 0; 11111111 = 255)
But you need to set 9 Bits to get an address range from 0 to 511.

So you take DMX Channel 511 as Bit 2 - 9 and the DMX Channel 512 represents the first bit, so it only matters if it is 0 or larger than zero.

When you want Address 460 you should first see which bits you should set.

460dec = 111001100
Where the Bits 2 to 9 are represented by the Channel 511 and the first bit is Channel 512.
So you have to set 512 to any value that equals 1 or larger.
DMX Channel 511 you have to set to the Decimal Value of the bits 2 - 9, in this case 204 (= 11001100),

regarding your second question, if you try to get the device running from 512 on, i have to tell you that this isnt possible.
The Address alway specifies the first Channel for the Device to listen on, so the Address of a device must be smaller or equal 512 channels - the number of channels the fixture takes + 1, so in this case the largest possible start address can be 509
then the Channels are
509 - R
510 - G
511 - B
512 - W

Hope i could help you.

Best regards, Martin
Jeglicher Text, den Ihr vor diesen Zeilen lest, ist durch Zufall generiert worden und muss nicht zwingend Sinn ergeben.
JCAK
Beiträge: 5
Registriert: 08.09.2012, 12:52

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von JCAK »

THANK YOU VERY MUCH Martin
I understood the concept now.
I appreciate a lot your help.

Just one more doubt.

Is there any way to use any other address instead 511/512?
I ask you this because some transmitters have only 128 channels or less.
CurrentDmxByte==511
CurrentDmxByte==512
Changing these lines is all that I need to do for change the channels?

Kind regards

Julio
Martin3182
Lichtchef
Beiträge: 93
Registriert: 20.07.2011, 12:41

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von Martin3182 »

hey,

Yes you just need to change those two lines afaik.

Have Fun,
Martin
Jeglicher Text, den Ihr vor diesen Zeilen lest, ist durch Zufall generiert worden und muss nicht zwingend Sinn ergeben.
JCAK
Beiträge: 5
Registriert: 08.09.2012, 12:52

Re: I don't understand how setting channels project DMX512-RGBW

Beitrag von JCAK »

Hi Martin

A lot of time from my last question. I'm very happy with your project and thanks to him I could do some things.
Now I try to do something with your code but I'm not realy sure how.
For example, actually when I set a start address 4 the reception start address begin in 5. What line of code would be changed for when I send a start address 4 realy will set 4 instead of 5?

Could you help me please?

Thank you very much

Kind regards

Julio
Antworten