Bosch BMI160 Element

The BMI160 element is used to measure acceleration and angular velocity. This element is for using the Bosch BMI160 three-axis accelerometer and gyroscope.

The BMI160 is a sensor element that can be imported into the Element Toolbox through the Add Element Add Element button located in the toolbox from Embedded View. MAX32630 Feather projects have this element imported by default.

Element Icon
BMI160 Element

Properties

The following properties can be changed for the BMI160 element:

Name

The name of the element.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

Accelerometer Power

The accelerometer’s power setting. This element includes the following power options:

  • Normal (default)
  • Low Power
  • Suspended

See the BMI160 datasheet for full details on power modes.

Gyroscope Power

The gyroscope’s power setting. This element includes the following power options:

  • Normal (default)
  • Fast Startup
  • Suspended

See the BMI160 datasheet for full details on power modes.

Accel Output Data Rate

The rate of output the accelerometer driver runs at in Hz. This element includes the following data rate options:

  • .078 Hz
  • 1.56 Hz
  • 3.12 Hz
  • 6.25 Hz
  • 12.5 Hz (default)
  • 25 Hz
  • 50 Hz
  • 100 Hz
  • 200 Hz
  • 400 Hz
  • 800 Hz
  • 1600 Hz

Gyro Output Data Rate

The rate of output the gyroscope driver runs at in Hz. This element includes the following data rate options:

  • 25 Hz (default)
  • 50 Hz
  • 100 Hz
  • 200 Hz
  • 400 Hz
  • 800 Hz
  • 1600 Hz
  • 3200 Hz

Accelerometer Range

The accelerometer’s sensitivity to linear acceleration in gs. This element includes the following range options:

  • 2 g
  • 4 g
  • 8 g
  • 16 g (default)

Gyroscope Range

The gyroscope’s sensitivity to magnetic induction in dps. This element includes the following range options:

  • 125 dps
  • 250 dps
  • 500 dps
  • 1000 dps
  • 2000 dps (default)

Triggers

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

Triggered

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

Rotation Speed Read

Execute an event when the gyroscope’s rotation speed 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.

Abilities

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

Trigger

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

Read X Acceleration

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

Read Y Acceleration

Read the accelerometer’s y-axis data.

Read Z Acceleration

Read the accelerometer’s z-axis data.

Read Acceleration

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

Read Rotation Speed

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

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.

Read Z Rotation Speed

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