Table of Contents

IP switch 0.4c

Previous version 0.2 here remoteqth.com_img_slide-ip-sw-rev4-01.jpg


Key features


Hardware


  1. Power supply (12-14V DC)
  2. Ethernet RJ45 connector on ESP32-GATEWAY (need rev.F or later)
  3. Optional expand board connector
  4. Output driver with open collector or emiter
  5. LED light shown enabled output
  6. Two jumper for select output driver are used
  7. Connector for 16 relay board connected wth flat cable
  8. 16 output (50V/500mA MAX)
  9. COMMON connect dependency to use driver
    1. if use open colector ULN driver, connect COMMON to relay +DC power
    2. if use open emiter MIC driver, connect COMMON to relay GND

Sources


Firmware upload

  1. Install Arduino IDE
  2. Install ESP32 support from GitHub
    1. prefered via board manager
  3. Download firmware from GitGub
  4. Select menu Tools/Board:“OLIMEX ESP32-GATEWAY”
  5. Select menu Tools/Board revision:“Revision F”
  6. Connect micro USB between ESP32-GATEWAY and PC
  7. Select menu Tools/Port/YOUR-CONNECTED-PORT
  8. Upload firmware
  9. After firmware upload you can upload next version of the firmware via IP, if you computer in same network. In Arduino IDE shows another choice Network ports
  10. password for OTA upload is remoteqth

Configure CLI

First step need get IP addres and telnet acces key

  1. After first upload firmware via USB, open serial monitor in Arduino IDE (Ctrl+Shift+M) and set
    1. baudrate to 115200
    2. No Line ending
  2. write ? and press enter show settings Command line interface

  3. copy and save
    1. IP address
    2. Key for telnet access (100 characters)

Second step connect remotely via IP

CLI commands

CLI contains some commands for set or show information.
Commands for set source device

Other commands, UPERCASE is important


For controlled from Manual IP switch

  1. Upload firmware by previous steps
  2. Set encoder range via CLI with command n
  3. Set source via CLI or web interface to m
  4. Set network ID prefix same on both devices via CLI in range 0-7
  5. Select Network ID sufix same on both devices via CLI in range ID 0-7
  6. Connect to same local network with DHCP as Manual IP switch
  7. After power up both devices, is automaticaly pair

Web status page

How IP addres got the device from the DHCP server?

Show all outputs status


  1. Parameter of WiFi or ethrnet IP connect
  2. Firmware version
  3. Device uptime
  4. How source controled his
  5. Notice - show this page can extend reaction latency IP switch

Strong secure remote manage

Configuration available via serial CLI (command line interface). This interface can be safely accessed to the Internet and encrypted connections to manage all features

What you need

How to start


How to assembly

remoteqth.com_img_wiki-ip-sw-rev4-04.jpg
What tools do you need to build

Steps of assembly

  1. Check all partsremoteqth.com_img_wiki-ip-sw-rev4-05.jpg

  2. Open Interactive BOM for find components
    and solder U5 U6 DIP-18 socket with key to rightremoteqth.com_img_wiki-ip-sw-rev4-06.jpg

  3. Solder pinsocket P17 to front side and pinheader P4 P14 P22remoteqth.com_img_wiki-ip-sw-rev4-07.jpg

  4. Solder 20pin header to Olimex ESP32-GATEWAY front sideremoteqth.com_img_wiki-ip-sw-rev4-08.jpg

  5. Solder output terminal P6 P10 P11 P3remoteqth.com_img_wiki-ip-sw-rev4-09.jpg

  6. Solder P2 input terminal
    remoteqth.com_img_wiki-ip-sw-rev4-10.jpg

  7. Screw two M3x12mm spacers with lock nutsremoteqth.com_img_wiki-ip-sw-rev4-11.jpg

  8. Insert four lock nuts, and two slim nuts to 3D printed DIN rail mountremoteqth.com_img_wiki-ip-sw-rev4-12.jpg

  9. Screw with four screws M3x10mm remoteqth.com_img_wiki-ip-sw-rev4-13.jpg

  10. Plug ESP32-GATEWAY to main board and screw with two screws M3x4mmremoteqth.com_img_wiki-ip-sw-rev4-14.jpg

  11. Insert two output drivers and plug two jumpers in position dependency to used driver. Horizontal for ULN open colector, vertical for MIC open emiterremoteqth.com_img_wiki-ip-sw-rev4-15.jpg