With most Arduinos (and compatibles) there is a USB port. However, communicating over it introduces some latency. Communicating directly via UART serial is faster. Here’s a tutorial on how to make it happen for you. Raspberry Pi and Arduino via GPIO UARTandremiller.net | andremiller.net.