In this example Raspbery Pi (programmed with Python) is connected with Arduino Uno via I2C. The Raspberry Pi act as i2c master, and Arduino act as i2c slave. Raspberry Pi send block of data to Arduino, and read byte echo from Arduino.
Read my another blog for the source code:
http://helloraspberrypi.blogspot.com/2014/12/raspberry-pi-arduino-i2c-communication.html
No comments:
Post a Comment