SPI - Arduino uno (Slave) Raspberry pi (Master)

Hi! I want to know how can I connect arduino uno as slave and raspberry pi 3 as Master . How can i send commands from raspberry pi to arduino uno. connection and code . Thank You

Master and Slave in which protocol?
I2c, SPI, Modbus, Can?

SPI protocol

I changed the title of your topic to more informative one

One will need to consider the physical connection between a 3V3 RPi and a 5V Uno. One may consider using a 3V3 micro controller or using level shifters. Pick one.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.