User Tools

Site Tools


ip-switch

This is an old revision of the document!


IP switch 0.4c

remoteqth.com_img_slide-ip-sw-rev4-01.jpg


Key features

  • 16 ethernet controlled outputs with optional expandable board
  • Based on Olimex ESP32-GATEWAY ethernet module
  • Configure open emitter or open colector outputs
  • Simple “Wago” like terminal output connection
  • 12-14V power (step down included)
  • Optional color LCD display with touch screen support - not implemented
  • Connect optional relay board with one flat cable
  • Analog input optional connector
  • DIN rail mount

Hardware


  1. Power supply (12-14V DC)
  2. Ethernet RJ45 connector
  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 and common terminal (50V/500mA MAX) use for
    1. relay power if use open colector ULN driver
    2. relay GND if use open colector MIC driver

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. Connect micro USB between ESP32-GATEWAY and PC
  6. Select menu Tools/Port/YOUR-CONNECTED-PORT
  7. Upload firmware
  8. 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
  9. password for OTA upload is remoteqth

Second step connect remotely via IP

  • Download and install PuTTY
  • In menu Terminal preset CR/LF and line discipline by picture

  • In main menu Session select or set the following values

    • select Telnet
    • port 23
    • write IP address (saved from first step acces)
    • Sessions may be saved for next time
    • for connect press Open
  • Login confirm with press y
  • Now answer four times the question of what character is on random selected position, in your key (key saved from first step acces)
    • if you enter wrong three times, login will be blocked for next ten minutes
  • After login your IP address store to EEPROM and next key will be required only if change your IP address
  • Now logged in to CLI (command line interface) via telnet
  • for Logout press q

How to assembly

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

  • Tin
  • Solder
  • Pliers
  • Splitters
  • + 2,5mm imbus (packed in KIT)

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


ip-switch.1607626890.txt.gz · Last modified: 2020/12/10 20:01 by ok1hra