Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alf45tar/esp-dmx-wifi

Art-Net to DMX gateway. It supports RDM and sACN (E1.31) too.
https://github.com/alf45tar/esp-dmx-wifi

art-net dmx esp8266

Last synced: about 3 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# ESP-DMX-WiFi

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

Strongly based on amazing [LXDMXWiFi_Library](https://github.com/claudeheintz/LXDMXWiFi_Library) example [ESP-DMX](https://github.com/claudeheintz/LXDMXWiFi_Library/tree/master/examples/ESP-DMX).

Configuration utility for macOS and Windows is [here](https://github.com/claudeheintz/LXDMXWiFi_Library/tree/master/examples/configuration%20utility)

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
```