ADXL34x Accelerometer
Measure linear acceleration along axes of ADXL34x family of accelerometers
Since R2022a
Add-On Required: This feature requires the Simulink Coder Support Package for STMicroelectronics Nucleo Boards add-on.
Libraries:
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
Sensors
Description
The ADXL34x Accelerometer block reads data from the ADXL34x family of accelerometers (ADXL343, ADXL344, ADXL345, and ADXL346) with Nucleo 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
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 R2022a