Difference between revisions of "I2C Setup"
From SingletonMillerWiki
(Created page with "Category:RaspberryTortoise Category:RaspberryPi") |
|||
| Line 1: | Line 1: | ||
[[Category:RaspberryTortoise]] [[Category:RaspberryPi]] | [[Category:RaspberryTortoise]] [[Category:RaspberryPi]] | ||
| + | Instructions for setting up and using the I2C interface on the Raspberry Pi. | ||
| + | |||
| + | |||
| + | == Setup == | ||
| + | This setup process has been tested on the following Raspberry Pi linux distributions | ||
| + | * Raspbian Wheezy 2012-08-16 | ||
| + | |||
| + | Add the I2C drivers to the Linux Kernel. | ||
| + | <pre> | ||
| + | sudo modprobe i2c-dev | ||
| + | sudo modprobe i2c-bcm2708 | ||
| + | </pre> | ||
| + | |||
| + | Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt. | ||
| + | <pre> | ||
| + | sudo apt-get install i2c-tools | ||
| + | </pre> | ||
Revision as of 11:02, 24 August 2012
Instructions for setting up and using the I2C interface on the Raspberry Pi.
Setup
This setup process has been tested on the following Raspberry Pi linux distributions
- Raspbian Wheezy 2012-08-16
Add the I2C drivers to the Linux Kernel.
sudo modprobe i2c-dev sudo modprobe i2c-bcm2708
Download and install the i2c tools. This is not essential but it is useful for testing I2C devices from the command prompt.
sudo apt-get install i2c-tools