IP Switch with ESP32-GATEWAY
This revision is from 2017/12/09 21:05. 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
- 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 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 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