ADXL34x Accelerometer
Measure linear acceleration along axes of ADXL34x family of accelerometers
Since R2022b
Libraries:
Raspberry Pi Blockset /
Sensors /
IMU Sensors
Description
The ADXL34x Accelerometer block reads data from the ADXL34x family of accelerometers (ADXL343, ADXL344, ADXL345, and ADXL346) with Raspberry Pi® board.
You can use this block to measure linear acceleration along the X, Y and Z-axes. The block also provides the option to enable the data ready interrupt.
The block outputs acceleration as a 1-by-3 array.
Note
To generate code C/C++ code for this block, you must have an Embedded Coder® license.
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2022b
