Overview
Explore two methods for interfacing a 3.3-volt Raspberry Pi with a 5-volt Arduino Uno using I2C communication in this 30-minute video tutorial. Learn about I2C logic levels, Raspberry Pi I2C buses, and how to set up the Raspberry Pi for I2C communication. Discover the direct hookup method and understand the potential risks involved. Examine the Arduino sketch and Raspberry Pi Python code required for the interface. Watch a live demonstration of the setup in action. Finally, learn how to use an inexpensive logic level converter for safer interfacing between the two devices. Gain insights into combining the strengths of both the Raspberry Pi and Arduino for powerful project possibilities.
Syllabus
- Introduction
- I2C Logic Levels
- Raspberry Pi I2C Busses
- Setting up the Raspberry Pi
- Direct Hookup
- Arduino Sketch
- Raspberry Pi Python Code
- Running the Demo
- Using a Logic Converter
Taught by
DroneBot Workshop