Skip to content

Art-Net to DMX gateway. It supports RDM and sACN (E1.31) too.

Notifications You must be signed in to change notification settings

alf45tar/ESP-DMX-WiFi

Repository files navigation

ESP-DMX-WiFi

Art-Net to DMX gateway. It supports RDM and sACN (E1.31) too.

Strongly based on amazing LXDMXWiFi_Library example ESP-DMX.

Configuration utility for macOS and Windows is here

The biggest change from source project is when connection to Station fail or timeout happens, it starts with default configuration (AP mode). There is no need to have a startup button.

uint8_t DMXwifiConfig::setupWiFi(IndicateActivityCallback indicateConnecting) {

 ... omissis ...

    unsigned long start = millis();
    while ((WiFi.status() != WL_CONNECTED) && ((millis() - start) < 15000)) {
      delay(100);
      indicateConnecting();
    }
    if (WiFi.status() != WL_CONNECTED) {    // Connection to Station failed, start with default configuration (AP mode)
      initConfig();                         // initialize but do not store in EEPROM
      rv = LX_AP_MODE;
      WiFi.mode(WIFI_AP);
      WiFi.softAP(SSID());
      WiFi.softAPConfig(apIPAddress(), apGateway(), apSubnet());
    }

  ... omissis ...
}

Bill of materials

  • ESP01S board
  • RS-485 transceiver like SN75176 or MAX485 or equivalent
  • Male XLR panel mount connector
  • 3x 5K Ohn 1/4 watt resistor
  • 2x push buttons

Schematic

+------------------------------------------+
| |                                        |
| |                         RX0 +  + 3.3V  |
| +---+  |                                 |
| +---+  |   +--------+   GPIO0 +  + RST   |
| +---+  |   | ESP01S |                    |
| +---+  |   +--------+   GPIO2 +  + CH_PD |
| +---+  |                                 |
| +---+  |                  GND +  + TX0   |
| +------+                                 |
+------------------------------------------+
 
          3.3V 
           + 
           | 
           \      RESET
        5K /      Button
           \        |
           |      --+-- 
RST   -----+-----+     +----- GND


          3.3V 
           + 
           | 
           \      PROGRAM
        5K /      Button
           \        |
           |      --+-- 
GPIO0 -----+-----+     +----- GND


          3.3V 
           + 
           | 
           \
        5K /
           \ 
           |
CH_PD -----+


                     +5V
                      |
        +-------------+-----------+               
        |                         |
        |     +---------------+   |
        |   --| R         VCC |---+       DMX OUT
        |     |               |
        |   --| RE/         B |---------- Data - (XLR pin 2)
        |     |    SN75176    |
        +-----| DE          A |---------- Data + (XLR pin 3)
              |               |
GPIO2 --------| D         GND |---+------ Ground (XLR pin 1)
              +---------------+   |
                                  |
                                 GND

About

Art-Net to DMX gateway. It supports RDM and sACN (E1.31) too.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published