I had hooked up the Arduino Uno to the RPi through USB connection. The Arduino contains a light sensor and it will transfer data to the RPi. The baud rate used was 115200. This baud rate was used due to the program in Arduino.
When I connect the Arduino to my laptop, the data received was fine. But when I connect it to the RPi, there were some data loss when transferring data through USB. I tried to transfer simple data across and it was ok. But with higher data load, the data received at the RPi end is not complete.
A similar problem was faced by E.Lee :How can I ensure all data sent from an Arduino is received by a Raspberry Pi?
I need help in overcoming this issue here. Any way to improve the efficiency of data transfer? Any help is much appreciated. Thank you.