/ESP32-DMX

Example code for receiving and transmitting DMX512 with ESP32 and RS485 transceiver IC like MAX485 or isolated ADM2486

Primary LanguageC++GNU General Public License v3.0GPL-3.0

ESP32 DMX512

Example code for receiving and transmitting DMX512 with ESP32 and RS485 transceiver IC like MAX485 or isolated ADM2486.

Can be used with Arduino or plain ESP-IDF.

Driver inputs DMX using UART2 on GPIO pin 16. Feel free to experiment with other UARTs and Pins. Driver outputs DMX using UART2 on GPIO pin 17. Feel free to experiment with other UARTs and Pins. Driver uses pin 4 to change direction of dmx dataflow.

Even if it is an Arduino library, it is possible to use the two source files in IDF projects since it has no dependency on Arduino libraries.