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 ...
}
- 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
+------------------------------------------+
| | |
| | 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