IP Switch with ESP32-GATEWAY
This revision is from 2017/12/10 14:21. 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).
Hardware
DC power jack
- ⚠ 5 volt DC only - higher voltage damage both electronics!
- Size 2,1/5,5mm diameter to connect input power 5V DC (center positive)
- Consumption below 500mA
Output header
pin-2 | out | CAT TXD / CI-V |
pin-3 | out | USB4 +5V output |
How to assembly
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
- Download and install last version Arduino IDE
- Download and install ESP32 support for arduino from GitHub - installation instruction included.
- Download IP switch firmware source from GitHub
- Edit source
- For use Ethernet wiring connection preset configuration
#define ETHERNET // Enable ESP32 ethernet (DHCP IPv4) //#define WIFI // Enable ESP32 WIFI (DHCP IPv4)
- 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 accessconst char* ssid = "YOUR-SSID"; const char* password = "YOUR-PASSWORD";
- Select menu Tools/Board:"OLIMEX ESP32-GATEWAY"
- Select menu Tools/Port/YOUR-CONNECTED-PORT
- Upload firmware
Setup
For controlled from Open Interface III keyboard
- Upload firmware by previous steps
- Select Network ID with P6 BCD switch. ID 0-7 represent keyboard switching for eight independent IP switch by selected band
- Connect to same local network with DHCP as Open Interface III
- After power up both devices, is automaticaly pair and work
For controlled from Open Interface III rotary encoder
- Upload firmware by previous steps
- Select Network ID with P6 BCD switch. ID 8-F represent keyboard switching for eight independent IP switch by selected band
- Connect to same local network with DHCP as Open Interface III
- After power up both devices, is automaticaly pair and work
For controlled from Open Interface III band decoder
not implemented yet