Arduino to Raspberry pi communication without level shifting.

I have an arduino connected to two motor encoders doing nothing but getting the number of pulses and the speed of the wheels.

I’d like to send this information to a raspberry pi to use it for other things. Right now I don’t have a level shifting board. I’m trying to get the fastest method of communication. Through some research I found that the fastest method is SPI. Would I be able to do SPI with just resistors or would this be only single direction?

I suppose I can have it run in just a single direction by just having the arduino pushing out the speed all the time and the RPi listening in whenever it needs the information.

submitted by /u/KruSion
[link] [comments]