Jump to content
I2Cdevlib Forums

interrupt,sleep mode and motion threshold


Recommended Posts

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...)

 

2. 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

 

 

Link to comment
Share on other sites

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...