BMI270 Significant Motion

Materials

Example

Introduction

This example shows how to detect “significant motion” using interrupts.

Procedure

Connect the AMB82-mini to I2C_SDA, I2C_SCL, INT1 of the sensor as shown in the diagram below.

image01

Open the example in “File” -> “Examples” -> “AmebaWire” -> “BMI270” -> “SignificantMotion”.

image02

Compile and run the example.

A message will be printed when a significant motion is triggered.

image03