Real-time data streaming over WiFi
Posted: Sat Dec 07, 2019 5:56 pm
Dear Forum,
I am trying to understand what is the most effective way to stream data from an ESP32 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 ESP32 and the MPU6050 [https://www.invensense.com/products/mot ... /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!
I am trying to understand what is the most effective way to stream data from an ESP32 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 ESP32 and the MPU6050 [https://www.invensense.com/products/mot ... /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!