I am using an opencv algorithm on my Raspberry pi 3. I need to output the data from the raspberry pi to my Arduino. Presently I am using serial, where I simply plug in the arduino to the raspberry pi using the USB connector. But my application requires a faster speed. I thought of exploring i2c communication. It is for a robotic application for which the input sensor values needs to be fast for the robot to respond quickly.
Assuming the constraint that I need to push the values to a arduino board (for it to talk to the robot), what can be the best method for a faster data-flow between arduino and rasp.
Does anyone has suggestions or prior implementations that can help me?
Thanks.