2

Is it possible to have bidirectional communication betweeen an Arduino Uno Rev 3 and a Raspberry Pi Modell B+ running Rasbian? They're connected ofer USB, and it would be good if I could use Python on the Pi.

  • Other than with the normal serial object? – Ignacio Vazquez-Abrams Jul 12 '16 at 23:29
  • @IgnacioVazquez-Abrams can you explain what you mean? Sorry I'm pretty new to this – Yannik Pieper Jul 12 '16 at 23:32
1

Yes. The Arduino Uno implements a serial protocol inside the USB signal using hardware. This is how it is built. The Linux side is a bit more complex as there are many USB protocols. Here is a howto which talks about the Linux side of the Arduino / Linux connection.

To be clear, Rasbian is a derivative of Linux.

0

Yes, it is possible to have a USB serial communication between a raspberry pi and an Arduino. And it is much more easier when using Python on the raspberry pi.

Python has a serial library within it's standard library which you can import on the raspberry pi and then use it to send or receive data to/from the Arduino or the raspberry pi.(Just connected via USB cable).

Here is the link for a very similar requirement on YouTube.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.