|
| 1 | +--- |
| 2 | +title:DMX Input |
| 3 | +hide: |
| 4 | +# - navigation |
| 5 | +# - toc |
| 6 | +--- |
| 7 | + |
| 8 | +###DMX Input |
| 9 | + |
| 10 | +!!! info "Version Info" |
| 11 | + As of version v0.14.0-b25 MM-WLED supports DMX input via MAX485. This is great when ArtNet or e1.31/sACN over WIFI is not suitable |
| 12 | + |
| 13 | +####features and limitations |
| 14 | + |
| 15 | +* one universe (512 channels) |
| 16 | + |
| 17 | + |
| 18 | +####software setup |
| 19 | + |
| 20 | +For the DMX feature to work, you'll need to use the V4 build variants. Define all the pins you are using in the DMX input section of the Sync Interfaces menu |
| 21 | + |
| 22 | +The wired DMX will work exactly like the network DMX options, only a single universe, so see[e1.31-dmx](/interfaces/e1.31-dmx/) for details of the different DMX modes |
| 23 | + |
| 24 | +####hardware setup |
| 25 | + |
| 26 | +The DMX interface require the use of an RS485 adapter such as the MAX485 transceiver connected to the pins defined in setup of the ESP in order to handle DMX input and RDM input and output. |
| 27 | + |
| 28 | + |
| 29 | +You will need to use three GPIO pins that support output. |
| 30 | + |
| 31 | +*Do NOT use the pins on your ESP32 labelled RX and TX as your DMX pins!* |
| 32 | + |
| 33 | +* pin assined as*DMX* RX pin on esp32 connects to RO |
| 34 | +* pin assined as*DMX* TX pin on esp32 connects to DI |
| 35 | +* pin assined as*DMX* EN pin on esp32 connects to both DE and RE |
| 36 | + |
| 37 | +Connect the RS485 power pins as follows |
| 38 | + |
| 39 | +* 5v or 3.3v pin to VCC |
| 40 | +* GND to GND |
| 41 | + |
| 42 | +####background info |
| 43 | + |
| 44 | + |
| 45 | +For information about the use of DMX with ESP8266, you might like to read[this](https://robertoostenveld.nl/art-net-to-dmx512-with-esp8266/) tutorial by[Robert Oostenveld](https://robertoostenveld.nl/). Note this is just background information about the hardware and you do not need any of the code listed here when using WLED output. |
| 46 | + |
| 47 | +##questions |
| 48 | + |
| 49 | +If you have further questions about this feature, you can ask on[DMX Input Discord](https://discord.com/channels/473448917040758787/1097792072762798110) or reach me via github (@netmindz) or via WLED Discord (netmindz). |