ADLX345 i2c Driver for Arduino Mega

This is a driver for the analog devices ADLX345 triaxial acceleration and an Arduino mega.

You are now following this Submission

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.

http://www.mathworks.com/matlabcentral/fileexchange/39354

Cite As

Eddy Trinklein (2026). ADLX345 i2c Driver for Arduino Mega (https://www.mathworks.com/matlabcentral/fileexchange/41027-adlx345-i2c-driver-for-arduino-mega), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Two code revisions in the model outputs section due to compile errors, caught before anyone downloaded this file. Revision level kept the same to match readme file.

1.0.0.0