A
A
Andrew2018-09-02 09:41:56
Arduino
Andrew, 2018-09-02 09:41:56

How to connect Arduino and Raspberry Pi 3?

Hello ! I am doing a project in which a script with OpenCV is running on Raspberry and I need to establish feedback with Arduino. Connecting via USB is not an option, because. space is very limited, and USB type B takes up a lot of space, and now I have to choose I2C or SPI. Everything is complicated by the fact that everything needs to be done in real time, well, or with a slight delay, but when I tested my script (with I2C) with the smbus library screwed on, it worked for less than a minute, and then crashed with an error I did not understand. It seemed to me that there was not enough speed for data transfer. Please help, maybe give links to some articles.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dimin21590, 2018-09-02
@dimin21590

You can also use UART.

A
Anton Shamanov, 2018-09-02
@SilenceOfWinter

If Raspberry Pi 3 with Bluetooth, then you can buy a module for arduino - 1Mbps is enough?

V
Vladimir T, 2018-09-02
@32bit_me

You can use SPI, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question