# BW16 RTL8720 DMX

**URL:** <https://forum.amebaiot.com/t/bw16-rtl8720-dmx/1678>\
**Category:** Peripherals\
**Tags:** evb-bw16, rtl872xd\
**Created:** [January 25, 2023, 9:07pm UTC](https://forum.amebaiot.com/t/bw16-rtl8720-dmx/1678 "2023-01-25T21:07:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olivier\_Demoustier](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/olivier_demoustier/32/1205_2.png) [@Olivier\_Demoustier](https://forum.amebaiot.com/u/Olivier_Demoustier)\
**Post date:** [January 25, 2023, 9:07pm UTC](https://forum.amebaiot.com/t/bw16-rtl8720-dmx/1678/1 "2023-01-25T21:07:25Z")

</div>

Anyone who knows which library would work to send DMX on a BW16?  
I was hoping to get the " LXSAMD21DMX" library to work. No luck so far.  
Thanks Olivier

---

<div class="post-metadata">

**Author:** ![Joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@Joe](https://forum.amebaiot.com/u/Joe)\
**Post date:** [December 28, 2024, 8:51pm UTC](https://forum.amebaiot.com/t/bw16-rtl8720-dmx/1678/2 "2024-12-28T20:51:48Z")

</div>

You need no special library as DMX data can be sent via UART at 250 kHz, 8 bit, 2 stop bits, no parity.  
You only have to prefix the DMX data with a break of 120 µs (pin low level), following 12 µs high level and then send the data out using SoftwareSerial (available pins are PA12, PB1, PA26, PA7).
