Per la versione in italiano clicca qui.
This is a simple ArtNet to DMX converter based on an ESP32 and two MAX485 modules.
This is a brief introduction to my project published on ElettronicaIN #276.
It is based on the sketch DMX_write by Mitch Weisbord and on the sketch ArtNetWifiNeoPixel by rstephan.
-
2 MAX 485 modules
-
2 DMX XLR connectors (female, panel mount)
-
DC-DC voltage regulator (5V - 3A)
-
USB cable
-
DC plug, panel mount
-
Platisc box for electronics
MAX 485 PIN | DMX Common Name | XLR connector pin |
---|---|---|
GND | GND/Shield | 1 |
A | Data + | 3 |
B | Data - | 2 |
ESP32 pin | MAX 485 pin |
---|---|
5V | VCC |
GND | GND |
4 | DE |
17 | DI |
4 | RE |
ESP32 pin | MAX 485 pin |
---|---|
5V | VCC |
GND | GND |
21 | DE |
19 | DI |
21 | RE |
//#define DHCP_DISABLED
#ifdef DHCP_DISABLED
IPAddress local_IP(192, 168, 1, 154);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress primaryDNS(192, 168, 1, 1); //optional
IPAddress secondaryDNS(1, 1, 1, 1); //optional
#endif
WiFiUDP UdpSend;
ArtnetWifi artnet;
const char* ssid = "MyArtNetNetwork";
const char* password = "MyArtNetNetwork";
Modify the sketch, by just changing the variables ssid
and password
, adapting them to your network.
You can decide to use DHCP or static IP. To disable DHCP just uncomment the line #define DHCP_DISABLED
and set the variables local_IP
, gateway
, subnet
and (optionally) primaryDNS
and secondaryDNS
.
Feel free to edit the sketch, to improve the functionalities and to send pull requests.
Readme template taken from here