Bosch BHI160 Element

The BHI160 element is used to measure acceleration and angular velocity. This element is for using the Bosch BHI160 inertial sensor hub, which is featured on the RSL10 Sensor Development Kit (RSL10-SENSE-GEVK). The Bosch BMM150 geomagnetic sensor also onboard the RSL10-SENSE-GEVK is connected to the sensor hub, so its use for measuring orientation is tied into the BHI160 element.

The BHI160 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. RSL10-SENSE-GEVK projects have this element imported by default.

Properties

The following properties can be changed for the BHI160 element:

Name

The name of the element.

I2C Driver Instance

Instance of the I2C driver to use.

GPIO Driver Instance

Instance of the GPIO driver to use.

Interrupt Pin

The platform-specific interrupt GPIO pin.

Triggers

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

Triggered

Execute an event when the source element connected to the BHI160 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 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 Orientation Read

Execute an event when the device’s x-axis orientation direction is read.

Y Orientation Read

Execute an event when the device’s y-axis orientation direction is read.

Z Orientation Read

Execute an event when the device’s z-axis orientation direction is read.

Orientation Read

Execute an event when the device’s orientation data is read.

Abilities

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

Trigger

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

Read X Acceleration

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

Read Y Acceleration

Read the accelerometer’s y-axis datain g.

Read Z Acceleration

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

Read Acceleration

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

Read X Rotation Speed

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

Read Y Rotation Speed

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

Read Z Rotation Speed

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

Read Rotation Speed

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

Read X Orientation

Read the device’s x-axis orientation direction in degrees.

Read Y Orientation

Read the device’s y-axis orientation direction in degrees.

Read Z Orientation

Read the device’s z-axis orientation direction in degrees.

Read Orientation

Read the device’s x-, y-, and z-axis orientation data in degrees.