Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By franciscopinho
#22817 Hello Dear ESP8266 Community

I am a newbie on ESP8266 and I am planning to start a project with some sensors with this module.
My question is, is that possible to transmitt 21 Bytes at each 1 ms?
By using the ESP8266 standalone, do I need to programme the baudrate parameter?
Is there any Socket structure to be used on ESP8266 with arduino IDE?

Sorry about this questions, but I have read a lot about ESP8266 on foruns, and I am still confused about the actual troughput of this device.

thanks in advanced,
Best regards.
User avatar
By kolban
#22852 How do you envisage the flow from a TCP/IP network level? Do you want to use a TCP connection pre-established and push a new 21 byte payload very millisecond? Do you want to use UDP data grams and publish a new datagram every millisecond?

Throughput of the device is going to be a function of how the ESP8266 is used. For example, forming a connection, sending data and ending the connection is going to have different characteristics than re-using a maintained connection and datagram transmission will have yet another characteristic.
User avatar
By franciscopinho
#22902 Hello Again, and thanks a lot for your reply.

My plan is to connect 10 ESP8266 TCP/IP clients connected with a server.
Each ESP8266 will establish the TCP connection and start to socket stream 21 bytes/ms.
Each connection is made upon start streaming data and closes when data is no longer needed.

Do you think is that possible? You have also mentioned UDP instead of TCP sockets. I am planning to use TCP because is more reliable on transmitting data, right?

About the other question, do I need to program any baudrate when using the ESP8266 standalone? OF course not the one to connect to the computer to program the module.

Thanks in advanced,
Best regards.