Daisy-chaining multiple Olimex ESP32-Gateways

Started by LeFIsh, March 27, 2023, 12:30:29 PM

Previous topic - Next topic


Hi there,

I need to daisy-chain multiple ESP32-Gateways with Ethernet cables.


My physical build situation makes any star-like LAN-configuration very unattractive due to long cables running back and forth...

Any of the ESP32-Gateways will receive a static IP-Address.

Ideally the esp32-gateway would have two bridged/switched LAN-Ports. But unfortunately this is not the case.

What would be the best ways to daisy-chain multiple ESP32-Gateways?

Thank you for your help!

Best regards


A lot of options for daisy chaining excluding the Ethernet - WIFI, I2C, UART, GPIOs. Probably using WIFI is easiest since it reduces cables.
Technical support and documentation manager at Olimex


Hello LubOlimex,

I understand, but WiFi is not an option in my case as I need rock-solid (therefore cable-bound) communication between the gateways.

Can you think of any of your ETH-Modules being capable of providing a second, bridged ETH-interface to the ESP32?

Has anyone tried this on arduino-espressif-platform yet?
ESP-IDF seems to be capable of using multiple ETH-ports: https://github.com/espressif/esp-idf/issues/7318

Another option would be to implement an unmanaged switched port on the PCB the gateway is implemented on. I dont't need much speed 100mbitps is perfectly fine. Even going down to stable 10mbitps would be possible.

I must admit I do not understand much about Ethernet (yet). Does anyone know of a DIY-project implementeing an unmanaged 100M/10M 2-port switch. There could be even single chip solutions?!

I have to dig deeper, buth this is something very interesting: https://hackaday.com/2020/04/21/new-part-day-an-open-source-ethernet-switch-in-the-palm-of-your-hand/

Maybe this could be of interest to other people using the Olimex ESP32-gateways in semi-industrial environments?!

Thanks for your suggestions


Ok, I have found a very interesting single chip solution: IP175G

I will investigate further...



Ever though of bringing out some simple Ethernet-switch-Module like this:


I am sure there are plenty of people interested in this from Olimex too!

Best regards


We also have some UEXT extension modules capable of Ethernet but I am not sure how great the software effort would be, for example this 10MBIT one:


It uses SPI.

Since ESP32 is very popular there is good chance someone already did something for ESP32 and ENC28J60, just google it, first result seems to be this project:

Technical support and documentation manager at Olimex