This chapter consists of project testing and results as well as the problems faced during the project completion.
I2C Communication between Raspberry Pi and Arduino After connecting the Raspberry Pi and the Arduino through I2C, the environment on the Raspberry Pi is set up. The Raspberry Pi identifies Arduino Uno by detecting the slave address sent by Arduino Uno. The slave address is set through the uploaded program code on the Arduino. The following test was conducted for testing the I2C bus between the Raspberry Pi and the Arduino. The address was set to 00×04. Below is the result when i2cdetect –y 1 is typed allowing the Raspberry Pi to detect the connected slaves through I2C. ...