Answer the question
In order to leave comments, you need to log in
How to implement bi-directional communication between Raspberry PI and Arduino in python?
Part of the functionality is implemented on Arduino, a python program, runs on a Raspbury Pi and must receive / send data (integer from 0 to 255) from / to Arduino.
1) Is it possible to connect Arduino and Raspberry Pi via GPIO or just USB?
2)PySerial - can it work with GPIO on Raspbery Pi?
3) Where can I see examples of bidirectional exchange on PySerial or RPIO ( pythonhosted.org/RPIO/)
Answer the question
In order to leave comments, you need to log in
PySerial won't work with regular GPIO, only UART.
As an option, you can cling to SPI.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question