
Within this tool, we need to go to 5 Interfacing Options. While you are within this tool, you can use the ARROW keys to navigate and the ENTER key to select.Ģ. Launch the config tool by running the following command. To enable support for I2C within the kernel, we will need to use the raspi-config tool. By default, support for I2C isn’t enabled within the kernel.ġ.
#I2C TOOLS FOR MAC HOW TO#
In this section, we will be showing you how to enable the I2C protocol on your Pi. Enabling the I2C Protocol on the Raspberry Pi The python3-smbus package will allow us to interact with I2C devices from our Raspberry Pi by using Python. Using this, we will be able to detect our I2C connections. The i2c-tools package allows us to interact with the I2C protocol on our Raspberry Pi.
#I2C TOOLS FOR MAC INSTALL#
sudo apt install -y i2c-tools python3-smbus To install these two packages, run the following command. Once your Raspberry Pi has finished updating, we can install the I2C tools and the Python SMBus package. To update the package list then upgrade the packages, all we need to do is run the command below.

However, before we install the I2C tools, we need first to update our device. Installing the I2C Tools to your Raspberry Piīefore we enable the protocol on our Raspberry Pi, let us install the I2C tools.ġ.

Two examples of I2C capable circuits that we have used in our Raspberry Pi projects before are the VEML6075 UV Sensor and the ADX元45 Accelerometer. The Raspberry Pi features in-built support for the I2C protocol allowing it to connect and talk with a variety of I2C capable circuits. I2C stands for inter-integrated circuit and is a method designed to allow one chip to talk to another synchronously.
