STMicroelectronics LSM9DS1 Element

The LSM9DS1 element is used to measure acceleration, angular velocity, and magnetic field. This element is for using the STMicroelectronics LSM9DS1 three-axis accelerometer, gyroscope, and magnetometer.

The LSM9DS1 is a sensor element that can be imported into the Element Toolbox through the Add Element Add Element button located in the toolbox from the Embedded tab. Cypress CYW920819EVB-02 projects have this element imported by default.

Element Icon
LSM9DS1 Element

Properties

The following properties can be changed for the LSM9DS1 element:

Name

The name of the element.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

Accelerometer I2C Address

The I2C address of the accelerometer/gyroscope.

Magnetometer I2C Address

The I2C address of the magnetometer.

Accelerometer Output Data Rate (ODR)

The output data rate of the accelerometer and gyroscope.

Magnetometer Output Data Rate (ODR)

The output data rate of the magnetometer.

Accelerometer Full Scale

The scale range of accelerometer readings.

Gyroscope Full Scale

The scale range of gyroscope readings.

Magnetometer Full Scale

The scale range of magnetometer readings.

Triggers

The following triggers are available to execute events from within the LSM9DS1 element:

Triggered

Execute an event when the source element connected to the LSM9DS1 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.

Acceleration Read

Execute an event when the accelerometer’s data is read.

X Rotation Speed Read

Execute an event when the gyroscope’s x-axis rotation speed (in mDPS) is read.

Y Rotation Speed Read

Execute an event when the gyroscope’s y-axis rotation speed is read.

Z Rotation Speed Read

Execute an event when the gyroscope’s z-axis rotation speed is read.

Rotation Speed Read

Execute an event when the gyroscope’s rotation speed data is read.

X Magnetic Field Read

Execute an event when the gyroscope’s x-axis magnetic field is read.

Y Magnetic Field Read

Execute an event when the gyroscope’s y-axis magnetic field is read.

Z Magnetic Field Read

Execute an event when the gyroscope’s z-axis magnetic field is read.

Magnetic Field Read

Execute an event when the gyroscope’s magnetic field data is read.

Abilities

The following abilities are available for the LSM9DS1 element when its source element triggers:

Trigger

Trigger the element(s) that follow the LSM9DS1 element.

Read X Acceleration

Read the accelerometer’s x-axis data in mg.

Read Y Acceleration

Read the accelerometer’s y-axis datain mg.

Read Z Acceleration

Read the accelerometer’s z-axis data in mg.

Read Acceleration

Read the accelerometer’s x-, y-, and z-axis data in mg.

Read X Rotation Speed

Read the gyroscope’s x-axis rotation speed data in mdps.

Read Y Rotation Speed

Read the gyroscope’s y-axis rotation speed data in mdps.

Read Z Rotation Speed

Read the gyroscope’s z-axis rotation speed data in mdps.

Read Rotation Speed

Read the gyroscope’s x-, y-, and z-axis rotation speed data in mdps.

Read X Magnetic Field

Read the gyroscope’s x-axis magnetic field data in mG.

Read Y Magnetic Field

Read the gyroscope’s y-axis magnetic field data in mG.

Read Z Magnetic Field

Read the gyroscope’s z-axis magnetic field data in mG.

Read Magnetic Field

Read the gyroscope’s x-, y-, and z-axis magnetic field data in mG.