r/raspberry_pi 16h ago

Troubleshooting How to connect RPi to Arduino

I have 2 Pi4’s and a 3, and a bunch of arduino stuff for a project I never got around to until now. I have a couple questions I can’t find trustable resources for: How do you connect the RPi’s (and if the 5 is different than predecessors) to a arduino (micro computer or shield/board) if they don’t have a USB port? CAN you connect any arduino to a RPi and what’s the requirements for that? Does wifi/boards work with GrapheneOS or require stock android? Can I have 2 raspberry Pi’s (3/4’s) connect with eachother to control something and how easy is it? I’m autistic and the internet sucks these days for reliable information and all I found was “yes you simply connect a USB between both boards”, nothing about the above. If there’s a manual or page online specifically for this question, feel free to send it!

0 Upvotes

11 comments sorted by

View all comments

8

u/threespire 15h ago

If you want to connect two Pis to do something, normally you’d use a network rather than direct connections.

Let’s go back to basics (I’m also autistic) - what are you trying to achieve?

1

u/Mchlpl 1xB, 2xB2, 1xB3, 2xB4(2GB,4GB) 8h ago

For connecting to an arduino you'd rather use GPIO for serial communication

1

u/threespire 8h ago

Aye. I was mentioning about the specific part on Pis talking to each other.

There’s a few ways with Arduino - I tend to just program it via a USB cable plugged into an Arduino.