STMicroelectronics LIS3DH Element
The LIS3DH element is used to measure acceleration. This element is for using the STMicroelectronics LIS3DH accelerometer sensor.
The LIS3DH is a sensor element that can be imported into the Element Toolbox through the Add Element button located in the toolbox from the Embedded tab.
Properties
The following properties can be changed for the LIS3DH element:
Name
The name of the element.
SPI Driver Instance
The SPI bus used to communicate with the sensor.
Chip Select Pin
The GPIO pin used to toggle the chip select pin on the accelerometer.
Triggers
The following triggers are available to execute events from within the LIS3DH element:
Triggered
Execute an event when the source element connected to the LIS3DH triggers.
X Acceleration Read
Execute an event when the accelerometer’s x-axis value is read.
Y Acceleration Read
Execute an event when the accelerometer’s y-axis value is read.
Z Acceleration Read
Execute an event when the accelerometer’s z-axis value is read.
Raw X Acceleration Read
Execute an event when the accelerometer’s raw x-axis value is read.
Raw Y Acceleration Read
Execute an event when the accelerometer’s raw y-axis value is read.
Raw Z Acceleration Read
Execute an event when the accelerometer’s raw z-axis value is read.
Abilities
The following abilities are available for the LIS3DH element when its source element triggers:
Trigger
Trigger the element(s) that follow the LIS3DH element.
Read X Acceleration
Read the accelerometer’s x-axis data as a floating point value in Gs.
Read Y Acceleration
Read the accelerometer’s y-axis data.
Read Z Acceleration
Read the accelerometer’s z-axis data.
Read Raw X Acceleration
Read the accelerometer’s raw x-axis data as a signed 16-bit integer (int16_t).
Read Raw Y Acceleration
Read the accelerometer’s raw y-axis data.
Read Raw Z Acceleration
Read the accelerometer’s raw z-axis data.