I am working on a project to display sensor data on Python GUI. Sensor data is coming at a rate of 2kHz
on serial port using Arduino. I was using pyserial (using readline()) to read the sensor data on my laptop. After hours of debugging I found that python was able to read around 400 samples/sec i.e. reading frequency is around 400Hz
.
Is there any way to read the serial data at higher rate with the help of python?
Thanks in Advance.