An example on how to send dmx over a max485 with an ESP8266 or ESP32.
The library uses multiple Serial protocols which is very slow! I am using a new library for the ESP32
, which does the protocol change directly through chaning the registers. Please take a look at the library here (LXESP32DMX). Here is an example on how to use it (DMXLightRenderer.h)
Caution: This is just an example that worked for me. Have a look at #1 for more information about safe wiring!