STMicroelectronics LIS2DW12 Element
The LIS2DW12 element is used to measure acceleration. This element is for using the STMicroelectronics LIS2DW12 accelerometer sensor, which is featured on the X-NUCLEO-IKS01A3 environmental sensor expansion board.
The LIS2DW12 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.
The following properties can be changed for the LIS2DW12 element:
The name of the element.
I2C Driver Instance
The I2C bus used to communicate with the sensor.
The I2C address the element sends data to. Verify which I2C address the sensor is using by checking its schematics.
Output Data Rate
The rate of output the accelerometer driver runs at in Hz. This element includes the following data rate options:
The accelerometer’s sensitivity to linear acceleration in gs. This element includes the following full scale options:
The following triggers are available to execute events from within the LIS2DW12 element:
Execute an event when the source element connected to the LIS2DW12 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.
Execute an event when the combined X, Y, and Z acceleration values are read.
Execute an event when a temperature value is read.
The following abilities are available for the LIS2DW12 element when its source element triggers:
Trigger the element(s) that follow the LIS2DW12 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 the accelerometer’s x-, y-, and z-axis data.
Read Temperature (°C)
Read the temperature data in Celsius.