Tutorial 8: I2C Communication

Your advanced projects will likely take advantage of additional ICs needed for special functionality. ICs communicate with your Arduino via several protocols, including I2C communication. In this tutorial I show you how to establish communication with a DS3231 Real Time Clock (RTC) via I2C communication.

The purpose of this tutorial isn't to quickly show you how to get your clock up and running. There are perfectly fine libraries out there that will get your clock up and running in just a few minutes. The purpose of this tutorial is to show you how to read the datasheet of a I2C device and write the relevant code to access the full functionality of the device.


DIFFICULTY
MEDIUM
CIRCUITRY KNOWLEDGE
LITTLE
C++ PROGRAMMING
SOME
ABOUT
0
MINUTES