Project requirements estimation
Posted: Thu Jun 11, 2015 10:53 am
Hi,
I'm getting to know the ESP8266 module. I'm considering to use it in a project of mine. Firstly I tought I can use official AT command set but that prooved to be a dead end due to high latency when sending data. I followed the recomendation from one of you and now I'm learning about compiling ESP projects in Arduino environment. I have successfully installed all the necessary and I'm able to compile some ino examples found on this forum. There is a lot of information to chew and I'm sure I haven't seen the worst yet.
I've started this topic to ask the more experienced if my requirements even fit ESP8266 capabilities. Hopefully you can confirm this is doable or else I have to search for other hardware solution.
Here are my requirements:
1. AP mode
2. I need to establish up to 4 UDP connections with Android stations.
3. Most of the time the UDP data packets which will be 80 bytes long will flow from ESP AP to Android stations.
4. Broadcast messages can't be used since Android doesn't handle them well. I'm stuck with unicast meaning I have to send four times the same data to different addresses (I haven't looked into multicasting yet, don't know if it is possible to use multicast on both sides and if it will make some savings in terms of sent packets).
5. THE MOST HARSH REQUIREMENT: I need to send a least 25 packets per second to each station. That gives me 10ms time for sent packet in case four stations are connected to ESP.
With official AT command firmware I couldn't send more than five packets per second to single station. I hope this is only the limitation of that particular firmware and that the ESP radio is capable of sending and receiving UDP packets much faster.
So please let me know if I'm realistic about my expectations.
Furthermore is Arduino a suitable tool or perhaps is the LUA more optimized for this job?
Regards,
Mat
I'm getting to know the ESP8266 module. I'm considering to use it in a project of mine. Firstly I tought I can use official AT command set but that prooved to be a dead end due to high latency when sending data. I followed the recomendation from one of you and now I'm learning about compiling ESP projects in Arduino environment. I have successfully installed all the necessary and I'm able to compile some ino examples found on this forum. There is a lot of information to chew and I'm sure I haven't seen the worst yet.
I've started this topic to ask the more experienced if my requirements even fit ESP8266 capabilities. Hopefully you can confirm this is doable or else I have to search for other hardware solution.
Here are my requirements:
1. AP mode
2. I need to establish up to 4 UDP connections with Android stations.
3. Most of the time the UDP data packets which will be 80 bytes long will flow from ESP AP to Android stations.
4. Broadcast messages can't be used since Android doesn't handle them well. I'm stuck with unicast meaning I have to send four times the same data to different addresses (I haven't looked into multicasting yet, don't know if it is possible to use multicast on both sides and if it will make some savings in terms of sent packets).
5. THE MOST HARSH REQUIREMENT: I need to send a least 25 packets per second to each station. That gives me 10ms time for sent packet in case four stations are connected to ESP.
With official AT command firmware I couldn't send more than five packets per second to single station. I hope this is only the limitation of that particular firmware and that the ESP radio is capable of sending and receiving UDP packets much faster.
So please let me know if I'm realistic about my expectations.
Furthermore is Arduino a suitable tool or perhaps is the LUA more optimized for this job?
Regards,
Mat