IP Switch with ESP32-GATEWAY

This revision is from 2017/12/09 20:14. You can Restore it.

This kit worked with ESP32-GATEWAY Ethernet/WiFi module from OLIMEX. Below step by step assembled manual for 16 outputs (two boards).

Assembled

Top side PCB

❏ Solder 2x12 1k rezistors R1-R14

2x10 100n capacitors C19-C35

2x8 LED diodes D38-D45

One BCD ID switch P6 on LEFT board

One female pin header P5 on LEFT board

One male pin header P4 on RIGHT board

2x 74HC595 IO U8

2x DIP socket for U5

2x male 2x3 pin header P2

2x male 2x7 pin header P3

Bottom side PCB

One DC jack J1 on LEFT board

One male 1x20 pin header P1 on LEFT board

Put output driver to DIP socket by your preferency

  • ULN chip for switching by output collector (grounding) need use two Jumpers on left P2 pin strip
  • UDN chip for switching by output emitter (voltage from P3 Vin) need use two Jumpers on right P2 pin strip

ESP32-GATEWAY board

One femmale 1x20 pin header CON1 on TOP side OLIMEX ESP32-GATEWAY

Firmware

  1. Download and install last version Arduino IDE
  2. Download and install ESP32 support for arduino from GitHub - installation instruction included.
  3. Download IP switch firmware source from GitHub
  4. Edit source
    1. For use Ethernet wiring connection preset configuration
      #define ETHERNET               // Enable ESP32 ethernet (DHCP IPv4)
      //#define WIFI                  // Enable ESP32 WIFI (DHCP IPv4)
    2. For use WiFi connection use this settings
      //#define ETHERNET               // Enable ESP32 ethernet (DHCP IPv4)
      #define WIFI                  // Enable ESP32 WIFI (DHCP IPv4)
      and set your SSID and password for access
      const char* ssid     = "YOUR-SSID";
      const char* password = "YOUR-PASSWORD";
  5. Select menu Tools/Board:"OLIMEX ESP32-GATEWAY"
  6. Select menu Tools/Port/YOUR-CONNECTED-PORT
  7. Upload firmware

Setup

  • Select Network ID with P6 BCD switch. With Open interface tis ID represent
    • 0-7 keyboard switching for eight independent IP switch by selected Band
    • 8-15 encoder switching (one from) for eight independent IP switch by selected Band