-->
Page 1 of 2

ESP8266 Possibilities

PostPosted: Thu Jul 09, 2015 3:01 am
by franciscopinho
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.

Re: ESP8266 Possibilities

PostPosted: Thu Jul 09, 2015 12:04 pm
by kolban
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.

Re: ESP8266 Possibilities

PostPosted: Thu Jul 09, 2015 12:52 pm
by franciscopinho
Hello, thanks for your reply

Iam planning to establish a connection and then start the datastreaming at each 1ms with that connection "opened".
Thanks again.

Re: ESP8266 Possibilities

PostPosted: Fri Jul 10, 2015 3:17 am
by franciscopinho
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.