The use of the ESP8266 in the world of IoT

User avatar
By borelg
#84848 Dear Forum,
I am trying to understand what is the most effective way to stream data from an ESP8266 node via WiFi to my PC.

Let me shortly describe the application that I am working on.
I would like to setup a wireless IMU node based on ESP8266 and the MPU6050 [https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/] that I have in this convenient board GY-521.

All about the interface and acquiring the data from the MPU6050 is already working.
I am now working on how to transmit the data to my pc.
I thought that an UDP streaming might be a good solution. I would have to transmit 6 Bytes with 100Hz frequency.

Unfortunately the UDP connection does not seem to be extremely reliable and I get come transmission error over serial from time to time.

Do you have any suggestion regarding the best way to stream data that are sampled at 100Hz via WiFi?

Thank you very much in advance! :)