ADXL34x Accelerometer
Measure linear acceleration along axes of ADXL34x family of accelerometers
Since R2022b
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
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.
Ports
Output
Parameters
Version History
Introduced in R2022b