mpu6050 interrupt,sleep mode and motion threshold

Hi
I currently doing a project that needs to read raw data from mpu and send it wireless.
the device is battery powered and the host controller(arduino) is in sleep mode to save battery.
I tried but with no luck to make it work but I don't really know if it possible.
so my questions are:
1.is the mpu6050 capable of sleeping and wake up only after a curtain(accx,accy,gyrx,gyry) threshold reached? (then an interrupt to arduino will wake it up too...)

  1. if the mpu in sleep mode cant measure nothing and need to wake up first for measuring how can I make the interrupt signal to the arduino to go only after a curtain(accx,accy,gyrx,gyry) threshold reached?

I really need some expert help because I tried to work it out for weeks...
in my tries I used this settings:
accelgyro.setMotionDetectionThreshold(2);
accelgyro.setZeroMotionDetectionThreshold(2);

thanks

Hi, welcome to the forum.

The MPU-6050 can detect an acceleration (for a threshold) when it is awake. When it is sleeping, it is not detecting something.

Most sensor have a drop-detection or threshold value that can generate an interrupt. Did you read the datasheets of the MPU-6050 ? I don't know if that is somewhere in the registers, I took a quick look and I can't find it. Very strange. Perhaps the DMP should be used for that.

The MPU-6050 needs 3.9mA with everything turned on. But only 0.5mA when only the accelerometer is on. The accelerometer in low power mode needs even less current.