Controlling an Arduino from a Pi3 using I2C
Demonstration of the I2C protocol. A simple example of turning the Arduino's internal LED on from a Raspberry Pi using I2C
Components and supplies
1
Raspberry Pi 3 Model B
1
Arduino UNO
Project description
Code
Python code
python
This is the controller code
Arduino sketch
c_cpp
Python code
python
This is the controller code
Downloadable files
i2c_bb_CpSIoWgNh0.png
i2c_bb_CpSIoWgNh0.png

i2c_bb_CpSIoWgNh0.png
i2c_bb_CpSIoWgNh0.png

Comments
Only logged in users can leave comments