Page 1 of 1

Could I use two communication at the same time? (WIFI STATION and MODBUS TCP/IP)

Posted: Mon Jan 16, 2023 6:57 am
by chikichaka
I'm developing a data acquisition device.

I'm using WIFI STA mode for uploading data to AWS IOT
and I will implement MODBUS TCP/IP for industry automation like PLC.
For connect MODBUS TCP/IP, I will use WIFI Module. It will be connected to ESP32 by SPI

Can my device use two communication at the same time?

Re: Could I use two communication at the same time? (WIFI STATION and MODBUS TCP/IP)

Posted: Mon Jan 16, 2023 9:42 am
by ghost07
As far as I know, almost every ESP-32 already has WiFi module, so using second adapter indicates you need to be connected to
two separate networks, right? If ModbusTCP network has access to internet, then you don't need second WiFi adapter, you can just bind AWS IoT socket listener to port 80 or 433, and ModbusTCP to port 502.

What external WiFi module are you going to use?