3

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.

asked Jul 12, 2016 at 23:26
2
  • Other than with the normal serial object? Commented Jul 12, 2016 at 23:29
  • @IgnacioVazquez-Abrams can you explain what you mean? Sorry I'm pretty new to this Commented Jul 12, 2016 at 23:32

2 Answers 2

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.

answered Jul 13, 2016 at 1:36
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.

answered Dec 28, 2016 at 20:55

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.