Problem Controling DMX above Channel 10

Hello ARDUINO enthusiasts and experts!

I have a problem with my DMX project and after two weeks of searching on the NET I have not been able to find the solution.

Here is my Hardware: CQRobot DMX Shield mounted on a Mega 2560. I want to individually control 8 RGB Led Par. Each fixture uses 7 channels. I configured the fixtures at the following addresses: 01,11,21,31,41,51,61 and 71.

I use the Conceptinetics library and the DMX master example.

Here is my problem. Even if I configured "DMX_Master dmx_master(100, 2)", I can only control the first fixture "01". By the way, I only control channels 01 to 10. I have no control over channels above 10.

If I configure the 8 fixtures on channel 01, they will all work so it is not a hardware problem.

Thanks for your help!

It must be the library.

This is just a wild guess, but try converting the addresses to hexadecimal values to see if that works. (The Windows calculator in Programmer mode can convert between binary, decimal, octal, and hex.)

Nothing "weird" should happen when counting above 10. ...i.e. You can count to 7 (decimal) with 3-bits, to 15 with 4-bits, etc... Sometimes you can get unexpected problems when you overflow or roll-over a data type but that won't happen at a decimal value of 10.

Tried This and no go😒

 dmx_master.setChannelValue(1,255); //  Master Dimmer
  dmx_master.setChannelValue(2,redPot); // Red
  dmx_master.setChannelValue(3,greenPot);   // Green
  dmx_master.setChannelValue(4,bluePot);   // Blue
  dmx_master.setChannelValue(5,0);        // Strobe
  dmx_master.setChannelValue(6,sound);   // Mode Dimmer (0)   Sound (255)
  dmx_master.setChannelValue(7,sound);   // Sound (255)

  dmx_master.setChannelValue(0x0B,255);
  dmx_master.setChannelValue(0x0C,redPot);
  dmx_master.setChannelValue(0x0D,greenPot);
  dmx_master.setChannelValue(0x0E,bluePot);
  dmx_master.setChannelValue(0x0F,0);
  dmx_master.setChannelValue(0x10,0);
  dmx_master.setChannelValue(0x11,0);

only first led par is working

I could be wrong, but I believe the 2nd fixture should start at address 08, the 3rd at 15, and so on. Your first fixture is only using channels 1 - 7, so the second one would start at the next address after that.

I tried and only getting control on CH 8 and 9 of the 2nd fixture.
Master dimmer and Red

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.