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

Feb 2, 2018

38262 views

6 respects

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

aardweeno

0 Followers

0 Projects

Table of contents

Intro

6

0