# Control Brightness Via Artnet and DMX

**URL:** <https://discourse.processing.org/t/control-brightness-via-artnet-and-dmx/13779>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [September 3, 2019, 8:36pm UTC](https://discourse.processing.org/t/control-brightness-via-artnet-and-dmx/13779 "2019-09-03T20:36:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![makerinchief](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@makerinchief](https://discourse.processing.org/u/makerinchief)\
**Post date:** [September 3, 2019, 8:36pm UTC](https://discourse.processing.org/t/control-brightness-via-artnet-and-dmx/13779/1 "2019-09-03T20:36:05Z")

</div>

I’m controlling a bunch of RGB led strips using Artnet protocol and some DMX decoders like the one in this link:

> **[Amazon.com: 27 CHANNEL 9 GROUP DMX512 XLR Dimmer LED Driver Controller/Decoder...](https://www.amazon.com/CHANNEL-DMX512-Dimmer-Controller-Decoder/dp/B00Q1N1AG8/ref=sr_1_44?keywords=dmx%2Bdecoder&qid=1567542862&s=gateway&sr=8-44)**

I’m able to control the colors just fine but I want to control the brightness of certain RGB strips. I haven’t found any code online so I’m wondering if its even possible to do via the Artnet protocol.

Will I need to purchase some hardware to control the brightness or is this possible to do via code?

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 3, 2019, 10:26pm UTC](https://discourse.processing.org/t/control-brightness-via-artnet-and-dmx/13779/2 "2019-09-03T22:26:00Z")

</div>

I have no personal experience with this, but I have seen various ArtNet examples that use the AdaFruit neoPixel library to control brightness of a whole strip like this

```
leds.setBrightness(data[0])

```

- [https://forum.arduino.cc/index.php?topic=386879.0](https://forum.arduino.cc/index.php?topic=386879.0)
- [https://github.com/natcl/Artnet/blob/master/examples/NeoPixel/ArtnetNeoPixel/ArtnetNeoPixel.ino](https://github.com/natcl/Artnet/blob/master/examples/NeoPixel/ArtnetNeoPixel/ArtnetNeoPixel.ino)

---

<div class="post-metadata">

**Author:** ![makerinchief](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@makerinchief](https://discourse.processing.org/u/makerinchief)\
**Post date:** [September 3, 2019, 10:55pm UTC](https://discourse.processing.org/t/control-brightness-via-artnet-and-dmx/13779/3 "2019-09-03T22:55:58Z")

</div>

Cool. I’m not using an Arduino anywhere but I’ll look into the NeoPixel library to see if I can do something similar in Processing. Although, I know the NeoPixel stuff has its own IC chip to control the LEDs. It may be the case I would need to get some piece of hardware to control the brightness.

Thanks for the reply.
