Resources and Going Further
I2C is a relatively complex interface, and there are many resources out there to help you deal with it. Below are some of the more informative ones.
- Wikipedia Article on I2C - Not great, but not a terrible place to start.
- Standards Doc - Phillips Semiconductor became NXP a few years back; this is the official standards doc for I2C.
- I2C primer - The official primer on I2C and related technologies.
- Linux Tools for I2C - A nice set of tools for working with I2C and related buses in embedded Linux environments, like pcDuino or Raspberry Pi.
Need some inspiration for your next project? Check out some of these related tutorials:
SparkFun GPS Breakout - XA1110 (Qwiic) Hookup Guide
Qwiic Distance Sensor (RFD77402) Hookup Guide
Qwiic Accelerometer (MMA8452Q) Hookup Guide
To use I2C over long distances, check out the dedicated PCA9615 differential I2C bus extender.
Qwiic Differential I2C Bus Extender (PCA9615) Hookup Guide
May 31, 2018
Or check out some of these blog posts for ideas: