9 years, 5 months ago.

6DOF stops after awhile

I'm running the the Seeed_Tiny_BLE_Get_Started example, and everything seems fine. But after a few minutes, it does not detect tap motion or orientation changes anymore. LED still blinks slowly (normal), and button press is detected.

Question relating to:

To get started with Seeed Tiny BLE, include detecting motion, button and battery level. MPU6050, Seeed_Tiny_BLE

I tried reducing the sampling rate of the mpu e.g., /* Starting sampling rate. */

  1. define DEFAULT_MPU_HZ (100)

Seems to help. :)

posted by Cougar GTR 08 Sep 2015

1 Answer

9 years, 2 months ago.

I do experience the same issue too.

I am using the mbed serial port to capture the log data.

I got it to work much better if I uncommented this line above the while(true) loop:

dmp_set_interrupt_mode(DMP_INT_GESTURE);

Not sure why it is commented out before.

posted by Howard Tsoi 08 Sep 2015