Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced I2C communication techniques with the ESP32 microcontroller in this comprehensive 36-minute tutorial. Master the fundamentals of the I2C bus protocol and discover how to leverage the ESP32's dual I2C bus architecture to overcome common addressing conflicts when connecting multiple sensors. Learn to work with the Wire Library through hands-on examples, including manual data retrieval from temperature and humidity sensors, implementing I2C device scanning functionality, and programming OLED displays. Gain practical experience setting up multiple I2C buses simultaneously to expand your project capabilities, and discover how to configure the ESP32 as an I2C peripheral device, enabling you to create custom sensors and displays. Follow along with detailed code examples and step-by-step demonstrations that cover everything from basic I2C concepts to advanced implementation techniques, empowering you to interface virtually any I2C sensor with your ESP32 projects and even develop your own custom I2C devices when commercial solutions don't meet your specific requirements.
Syllabus
00:00 - Introduction
01:11 - The I2C Bus
06:05 - ESP32 I2C Basics
08:48 - Using the Wire Library
14:06 - ESP32 I2C Scan
15:41 - OLED Code
19:01 - Multiple I2C Buses
24:31 - ESP32 as an I2C Peripheral
34:02 - Conclusion
Taught by
DroneBot Workshop