There are many ways to send data from Raspberry Pi to an Arduino. One of these is by using the SPI interface. Here are some of the things