Beaglebone: An I2C Tutorial - Interfacing to a BMA180 Accelerometer
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: http://www.nxp.com/documents/user_man... The source code in this video is available through githhub: git clone git://github.com/derekmolloy/beaglebone Please note that I have mixed up the words bit and byte a few times in this video -- apologies, I do know the difference(!) but I seem to have a problem when describing some points in this video. If you use this video in your research, please cite: Molloy, D. [DerekMolloyDCU]. (2012, June, 11). Beaglebone: An I2C Tutorial - Interfacing to a BMA180 Accelerometer [Video file]. Retrieved from • Beaglebone: An I2C Tutorial - Interfacing ... Please find more information on these videos at: http://www.derekmolloy.ie/

CH32V003F4P6 Tutorial - Part 1 - Basic GPIO operations

Introduction to Zephyr Part 1: Getting Started - Installation and Blink | DigiKey

Beaglebone: Driving Stepper Motors in Embedded Linux using the EasyDriver Board

Analog Discovery - An Introduction with Practical Analog & Digital Examples (diode, flip-flop & i2c)

Hands-on BeagleBone Black PRU Tutorial (1 of 2)

FPGAs Aren’t Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

PLC Troubleshooting 101. Basic Steps to Diagnose and Fix Your Machine

Beaglebone: GPIO Programming on ARM Embedded Linux

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

The Fascinating Story of Fluke,The Washington Engineer Who Built The World's Most Trusted Multimeter

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

COMPLETE EMBEDDED SYSTEMS Roadmap - What Arduino Won't Teach You

#BBB - Getting Started with StarterWare, CCSv6, JTAG on BeagleBone Black

Beaglebone: Introduction to GPIOs - Using Device Tree Overlays under Linux 3.8+

“Hello, world” from scratch on a 6502 — Part 1

Getting Started With STM32 & Nucleo Part 4: Working with ADC and DMA - Maker.io

Device Tree for Dummies! - Thomas Petazzoni, Free Electrons

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Inside Dyson’s Overengineered £1000 Hand Dryer

