Welcome
I have a working ESP S3 module that collects data from 40 Wi-Fi thermostats that broadcast their readings every second with a UDP broadcast. The module receives the packets, parses them and transmits the statistics to the BMS (rs485) and to the web server (http API).
This works well, but the UDP packet parsing time is large - up to 500us, so adding more thermostats will increase the problem of missed packets.
(I assume 500us is great and it will be hard to optimise - a faster MCU remains)
Trying to swap the esp32 for an Arduino opta 485 connected over Ethernet ended in failure - module flooded with UDP broadcasts stops responding.
Do you perhaps know of another module or version that can handle UDP reception AND parsing faster?
Parsing is looking for keys and values in a string.
The platform is of course Arduino.
I have a working ESP S3 module that collects data from 40 Wi-Fi thermostats that broadcast their readings every second with a UDP broadcast. The module receives the packets, parses them and transmits the statistics to the BMS (rs485) and to the web server (http API).
This works well, but the UDP packet parsing time is large - up to 500us, so adding more thermostats will increase the problem of missed packets.
(I assume 500us is great and it will be hard to optimise - a faster MCU remains)
Trying to swap the esp32 for an Arduino opta 485 connected over Ethernet ended in failure - module flooded with UDP broadcasts stops responding.
Do you perhaps know of another module or version that can handle UDP reception AND parsing faster?
Parsing is looking for keys and values in a string.
The platform is of course Arduino.