how can i connect raspberry pi & arduino. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can i connect raspberry pi & arduino.

i want to make a driverless car and want to use rpi as computer & arduino as microcontroller how should i approach it.

28th Jul 2017, 12:21 PM
shobhit
shobhit - avatar
2 Answers
+ 2
Connect through usb and use serial communication (pyserial) http://www.doctormonk.com/2012/04/raspberry-pi-and-arduino.html?m=1 you'll save on extra modules and voltage level shifters
2nd Nov 2017, 7:15 PM
seamiki
seamiki - avatar
+ 1
set one of them up as a server then connect them with an Ethernet cable. not the best solution but now you don't need to have internet to connect them. you could also use 2 Bluetooth dongles and a just install a Bluetooth application on each one
1st Aug 2017, 1:43 PM
vortetty
vortetty - avatar