ADLX345 i2c Driver for Arduino Mega

version (132 KB) by Eddy Trinklein
This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega.


Updated 1 Apr 2013

View License

This driver utilizes the Arduino i2c libraries from version 1.0 and driver architecture found from various sources on the web. It configures the sensor to +/- 4 G's at 100 Hz. The data sample rate is set to 0.05 second period via the S-Function builder update rate. Additional settings are described in the manual.

For additional information and tips please look at the excellent description by Giampiero Campa.

Cite As

Eddy Trinklein (2022). ADLX345 i2c Driver for Arduino Mega (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!