background preloader

I2C

Facebook Twitter

Using Java & JNA to Access an I2C Device on a Beaglebone Black. Ajaykumarkannan/Beaglebone-I2C. Enable I2C for EEPROM with device tree overlays on BeagleBone Black. Beagleboneblack - Moving the i2c and SPI physical pin location on Beaglebone Black. Setting the Bitrate of I2C2 on the Beaglebone Black. I2C on the Beaglebone. I got I2C working well a couple of weeks back and got both the modules I am using working well with the beaglebone.

I2C on the Beaglebone

I later modified the code to allow API calls to read the values from the two modules. Now I have a proper working directory for the complete project and I’ve decided to test out other things separately and then import them into this single working directory. This post is to describe how to get the I2C working on the Beaglebone. Setting up IO Python Library on BeagleBone Black. The Adafruit_I2C.py module is now included in the Adafruit_BBIO library as a top-level module.

Setting up IO Python Library on BeagleBone Black

This means that many of the popular Python libraries built for the Raspberry Pi, will now just work on the BeagleBone Black if they are using I2C, such as the BMP085 sensor library. To use the module, it's as simple as importing it, and setting the I2C address, and optionally the bus (the default is I2C-1): Minix I2C Drivers for the BeagleBone Black.