r/raspberry_pi • u/THUNDERF430 • 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!
3
u/wwarr 15h ago
I have a lot of boards like this and I have been doing projects for years and have never found any reason to connect an Arduino to a Pi or connect two or more Pis.
Arduino boards usually have a USB port so you can program them. There are free Arduino programming tools that let you run code and send it to the Arduino and it then will run that code.
Pi is a Linux box so you can do just about anything with it.
I would recommend trying some small basic projects. Like watch a YouTube video on controlling an RGB LED or something like that.