NXP FXOS8700 Element

The FXOS8700 element is used to measure XYZ acceleration and magnetic forces. This element is for using the NXP FXOS8700 six-axis Xtrinsic accelerometer and magnetometer sensor.

The FXOS8700 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. Rapid IoT projects have this element imported by default.

Element Icon
FXOS8700 Element

Properties

The following properties can be changed for the FXOS8700 element:

Name

The name of the element.

GPIO Driver Instance

The GPIO driver used for interrupt pins. This will be 0 for most platforms.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

I2C Address

The I2C address the element sends data to.

Interrupt One Enabled

The state of the first interrupt pin: disabled or enabled. The FXOS8700 has two interrupt pins, either of which you can use.

Interrupt One GPIO Pin

The platform-specific interrupt GPIO pin while interrupt one is enabled.

Interrupt Two Enabled

The state of the second interrupt pin: disabled or enabled.

Interrupt Two GPIO Pin

The platform-specific interrupt GPIO pin while interrupt two is enabled.

Movement Detection Type

The movement type to detect. The FXOS8700 can detect freefall, motion, or tap events, but only one type at a time.

Triggers

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

Triggered

Execute an event when the source element connected to the buzzer triggers.

Sensor Data Read

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

Accelerometer X Value Read

Execute an event when the accelerometer’s x-axis value is read.

Accelerometer Y Value Read

Execute an event when the accelerometer’s y-axis value is read.

Accelerometer Z Value Read

Execute an event when the accelerometer’s z-axis value is read.

Magnetometer X Value Read

Execute an event when the magnetometer’s x-axis value is read.

Magnetometer Y Value Read

Execute an event when the magnetometer’s y-axis value is read.

Magnetometer Z Value Read

Execute an event when the magnetometer’s z-axis value is read.

Freefall Detected

Execute an event when a freefall event is detected.

Motion Detected

Execute an event when a motion event is detected.

Tap Detected

Execute an event when a tap event is detected.

Abilities

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

Trigger

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

Enable

Enable the sensor.

Disable

Disable the sensor.

Set Enabled State

Set the state of the sensor: enabled or disabled.

Read Sensor Data

Read the sensor’s accelerometer and magnetometer data.

Read Accelerometer X Value

Read the accelerometer’s x-axis data.

Read Accelerometer Y Value

Read the accelerometer’s y-axis data.

Read Accelerometer Z Value

Read the accelerometer’s z-axis data.

Read Magnetometer X Value

Read the magnetometer’s x-axis data.

Read Magnetometer Y Value

Read the magnetometer’s y-axis data.

Read Magnetometer Z Value

Read the magnetometer’s z-axis data.

Enable Freefall Detection

Enabled the hardware to detect freefall events, and disable other detection events.

Enable Motion Detection

Enabled the hardware to detect motion events, and disable other detection events.

Enable Tap Detection

Enabled the hardware to detect tap events, and disable other detection events.

Disable Movement Detection

Disable the hardware from detecting movement events.