Code Monkey home page Code Monkey logo

esp-dmx-wifi's Introduction

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

esp-dmx-wifi's People

Contributors

alf45tar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.