jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.83k stars 719 forks source link

Extreme lag in serial data #275

Open rlesac opened 7 years ago

rlesac commented 7 years ago

Hi! I'm using ESP-Link as a serial bridge for an Arduino Adalight project. Using serial to tcp software and ESP-Link I get over 250ms of lag compared to straight serial connection. Using Windows 10 and HW VSP3 and com0com.

aaqibch commented 7 years ago

Hi dont use HW VSP3 for creating virtual serial port. I was facing the same issue, try some other software for creating virtual serial port like TCP COM Bridge etc

rlesac commented 7 years ago

Thanks! I tried com2tcp with com0com, it was marginally faster, ~30ms. Do you have a free alternative to TCP COM Bridge? I couldn't get their demo to work.

aaqibch commented 7 years ago

you can also try NetBurner Virtual COMM Port Driver both worked for me :)

rlesac commented 7 years ago

you can also try NetBurner Virtual COMM Port Driver both worked for me :)

That one cut the lag in half, but it's still 100ms over serial. How much lag do you get?

aaqibch commented 7 years ago

Actually i didn't measure the lag i was just looking for faster bit rate while programming uC over wifi. I guess as esp-link itself is only about 63% efficient so there is always gonna be some lag.