Myvideo

Guest

Login

Beaglebone: An I2C Tutorial - Interfacing to a BMA180 Accelerometer

Uploaded By: Myvideo
2 views
0
0 votes
0

In this video I continue my series on the beaglebone to discuss the I2C bus and how we can connect and program devices attached to the bus using C/C . I explain the use of i2c-tools on embedded Linux and then show how we can interface to a digital accelerometer (Bosch BMA180) or any other I2C device. Finally, I show how we can use sysfs to build a C class that wraps the functionality of the digital accelerometer. Source code included! This video builds on the three previous videos: The introduction to the Beaglebone; Setting up a C/C Development Environment; and, Programming with GPIOs. So, I recommend that you view those videos first. This video is part of a series that I have developed in the School of Electronic Engineering at Dublin City University. The NXP I2C Specification document is at: The source code in this video is available through githhub: git clone git:// Please note that I have mixed up the words

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later