ADLX345 i2c Driver for Arduino Mega
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 (2024). ADLX345 i2c Driver for Arduino Mega (https://www.mathworks.com/matlabcentral/fileexchange/41027-adlx345-i2c-driver-for-arduino-mega), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Device Drivers
Inspired: Arduino S Function for MPC4725 I2C DAC, SEN0140 Simulink i2c Driver for Arduino Mega 2560, Smart Grid
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.