O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting access to I2C devices

Now we are ready to manage the real I2C devices. We can find tons of supported devices in the Linux kernel tree, which are usually grouped according to their specific operations; so, for instance, all the I2C real-time clock chips are under the drivers/rtc/ directory, while the I2C EEPROMs are under the drivers/misc/eeprom/ directory, and so on.

For example, we're going to use the following development board that carries five I2C devices:

Getting access to I2C devices

Note

The device can be purchased at (or by surfing the Internet)

http://www.cosino.io/product/i2c-sensors-board.

On this board, we have an EEPROM, an ADC, a DAC, a temperature sensor, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required