sparkfun / SparkFun_MPU-9250-DMP_Arduino_Library

Arduino library for the MPU-9250 enabling its digital motion process (DMP) features.
Other
229 stars 151 forks source link

Using DMP and Wake on Motion #24

Closed method-nick closed 5 years ago

method-nick commented 6 years ago

Hi everyone,

I'd like to be able to use the DMP function of the MPU9250 with Wake On Motion (WOM). I want the MPU to maintain it pose calculation (using DMP) when the microcontroller is in sleep mode. I then want the MPU to wake the microcontroller on an acceleration trigger.

Is there any way to do this with this library? I have seen WOM implemented with the bolder-flight library: https://github.com/bolderflight/MPU9250

Any help is appreciated, Nick

santaimpersonator commented 5 years ago

Unfortunately, that function wasn't created in the library (see examples and keywords). However, the datasheet has a specific example for configuring that functionality on pages 30-31.