B4R Question Real-time data transfer problem...

rbghongade

Active Member
Licensed User
Longtime User
Dear friends,
I am trying to implement an ECG monitoring system using Wemos and AD1115. The AD1115 interface with Wemos is already working. I have been trying to transfer the acquired sample value over wi-fi . I do get the sample values at the laptop using B4J code but the wemos slows down the sampling as soon as the wi-fi client is connected , to the point of completely distorting the ECG signal (under sampling). Please note that I am using a timer with an interval of 1 to 4 ms to transmit the data. I tried three ways to transfer the data:
1) Wifi socket
2) MQTT ( works only if there are no multiple repeaters in the Wi-fi network, but not really real time!)
3) UDP
Is it an inherent limitation with ESP8266 ( by design)?
Can anyone point out the reason and/or solution, please?

regards,
 
Top