Arduino to Raspberry Pi over USB


Im new here so please be gentle :slight_smile:

i have a Rpi and a Arduino UNO R3

Does anyone know what the best way is for them to communicate and if there is any software already available to install on the Rpi ect


You plug them together through the USB ports.

You communicate using serial read and write on both sides.

What language are you in on the Pi side? You need to talk to the serial port with that language.

This demo illustrates communication between a PC and an Arduino using Python. It probably should work on an RPI.

The general principles apply to any PC programming language.