ADXL34x Accelerometer
Measure linear acceleration along axes of ADXL34x family of accelerometers
Since R2025a
Add-On Required: This feature requires the Embedded Coder Support Package for STMicroelectronics STM32 Processors add-on.
Libraries:
Embedded Coder Support Package for STMicroelectronics STM32 Processors /
Sensors /
IMU Sensors
Description
The ADXL34x Accelerometer block reads data from the ADXL34x family of accelerometers (ADXL343, ADXL344, ADXL345, and ADXL346) with STM32 Processors.
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
Always ensure to connect the sensor to the board, when performing monitor and tune with sensor block available in the model.
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2025a