MMA8652FC motion detection interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMA8652FC motion detection interrupt

1,533 Views
estratos
Contributor I

I've been able to configure a MMA8652FC 3-Axis accelerometer to generate interrupts on free-fall events by playing with both FF_MT_CFG and FF_MT_THS registers. After this experience, I'd like the sensor to generate an interrupt when motion is detected. I'm thinking in detecting usual movements like taking an object from a table "in a natural way", but even when setting FF_MT_THS (detection threshold) to a minimum value the interrupt is only generated with fast movements. This is maybe why this functionality is called free-fall/motion detection...

Can I really use the MMA8652FC to detect slower movements in an interrupt-generation basis?

Thanks again.

Daniel.

Labels (1)
0 Kudos
1 Reply

1,127 Views
estratos
Contributor I

I reply myself: pulse events can be used with low thresholds to detect simple movements.

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-335905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMMA8652FC%20motion%20detection%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-335905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI've%20been%20able%20to%20configure%20a%20MMA8652FC%203-Axis%20accelerometer%20to%20generate%20interrupts%20on%20free-fall%20events%20by%20playing%20with%20both%20FF_MT_CFG%20and%20FF_MT_THS%20registers.%20After%20this%20experience%2C%20I'd%20like%20the%20sensor%20to%20generate%20an%20interrupt%20when%20motion%20is%20detected.%20I'm%20thinking%20in%20detecting%20usual%20movements%20like%20taking%20an%20object%20from%20a%20table%20%22in%20a%20natural%20way%22%2C%20but%20even%20when%20setting%20FF_MT_THS%20(detection%20threshold)%20to%20a%20minimum%20value%20the%20interrupt%20is%20only%20generated%20with%20fast%20movements.%20This%20is%20maybe%20why%20this%20functionality%20is%20called%20free-fall%2Fmotion%20detection...%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ECan%20I%20really%20use%20the%20MMA8652FC%20to%20detect%20slower%20movements%20in%20an%20interrupt-generation%20basis%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%20again.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EDaniel.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-335905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAccelerometers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-335906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MMA8652FC%20motion%20detection%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-335906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20reply%20myself%3A%20pulse%20events%20can%20be%20used%20with%20low%20thresholds%20to%20detect%20simple%20movements.%3C%2FP%3E%3C%2FLINGO-BODY%3E