Skip to content

A simple ArtNet-to-DMX converter based on an ESP32 board

Notifications You must be signed in to change notification settings

signorettae/ESP32-ArtNet-to-DMX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-ArtNet-to-DMX

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.


Hardware

  • ESP32 board

  • 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

Wiring table for MAX485 and XLR connector

MAX 485 PIN DMX Common Name XLR connector pin
GND GND/Shield 1
A Data + 3
B Data - 2

Wiring tables for MAX485 and ESP32

Universe A
ESP32 pin MAX 485 pin
5V VCC
GND GND
4 DE
17 DI
4 RE
Universe B
ESP32 pin MAX 485 pin
5V VCC
GND GND
21 DE
19 DI
21 RE

Wiring diagram

Image deactivate


Software

Configuration

//#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

Releases

No releases published

Packages

No packages published

Languages