<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26703/is-it-possible-to-detect-a-tap-without-using-of-dmp-feature-of-mpu9250</link><description>Hi,
i am using nrf51822 interface with mpu9250 and i want to detect a tap without using of DMP feature of mpu motion sensor. my application requirement is low current consumption that&amp;#39;s why i want to play with raw readings of mpu and want to detect a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2019 10:25:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26703/is-it-possible-to-detect-a-tap-without-using-of-dmp-feature-of-mpu9250" /><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/178292?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 10:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ecb3dc4-0a01-44c0-a420-16dc9571e09f</guid><dc:creator>Coppers Copernicus</dc:creator><description>&lt;p&gt;Hey Ashish, any valuable info regarding double tap? I want a similar thing to integrate into my project. Please shed some light if you have found the way. Thanks in advance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nikhilesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105008?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 15:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11f36bff-20ef-4749-a4f3-e1a03124c047</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Maybe look into what separates the tap and a little shake?&lt;/p&gt;
&lt;p&gt;With a tap, you are maybe above the threshold for a small amount of time, but with a little shake, you are above the threshold for a much longer time?
So you could maybe use a timer to measure the time you are above the threshold, and if you are above the threshold for a certain amount of time, you know that this is a little shake and not a tap?&lt;/p&gt;
&lt;p&gt;Maybe InvenSense also have some ideas on this also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105010?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 14:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db58ce53-ce0e-49b4-9179-d735beb77152</guid><dc:creator>ASHISH</dc:creator><description>&lt;p&gt;Thanks sigurd,I have posted same question on( invensense)support centre as you have mentioned in your comment hope will get reply soon.I am measuring the tap on z axis so without tap I am getting X=32767,Y=32767,Z=48768 constant readings...When I tap the board on z axis I got this values 1Tap-X=13403,Y=39351,Z=65534,2Tap-X=-1,Y=30119,Z=65534,so I set threshold value for  z axis only coz if I tap on Z axis then respective Z values changes as I mentioned above like Z=65534 .should I need to set threshold for other two axis also for accurate tap detection.i have made algorithm like this
1.I set threshold value for z axis only and that is 55000 .
2.I set a counter for the z axis values when I tap the board and my axis values crosses 55000 thresh more than 4 times then executes motion function();
3.I have also set counter for this when my motionfunction():; get called two times then I am glowing a led for indicating that tap is detected and printing &amp;quot;tap detected&amp;quot; on screen.
But my actual problem is when I place the board on horizontal table and I tap the board led glows.and when I take the board on my hand just move (shake) little but then also the led glows.how should I make difference between the tap and little shake?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105012?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 14:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:491d2c5f-af42-4d97-b025-a1556a3eb528</guid><dc:creator>ASHISH</dc:creator><description>&lt;p&gt;Thanks mango I have posted same question on invense.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105007?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 13:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d6b831-c4f9-4ed8-805b-e68c324a1786</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ok, then you could maybe see how these values change when you tap on it. Then you can maybe have some threshold, so when the values go pass this threshold, you know that you have a tap.&lt;/p&gt;
&lt;p&gt;As MANGO mentioned, you could also ask InvenSense, and see if they have any tips on the best way to implement this. They have a &lt;a href="http://www.invensense.com/developers/forums/"&gt;Discussion Forum&lt;/a&gt; you could maybe post this on, and also a “&lt;a href="http://www.invensense.com/developers/support-center-faq/"&gt;Support Center &amp;amp; FAQ&lt;/a&gt;”.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105011?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 23:39:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef3b9f28-bd04-4fc8-86ed-67201a092a54</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Hi, I think you should ask this at &lt;a href="https://www.invensense.com/motion/"&gt;InvenSense&lt;/a&gt;, the manufacturer of MPU series.&lt;/p&gt;
&lt;p&gt;As far as I know, you can configure the MPU to toggle a GPIO interrupt for free fall, data ready, etc events.&lt;/p&gt;
&lt;p&gt;In short, this question is not related to nRF series.&lt;/p&gt;
&lt;p&gt;Check the interrupt events of the MPU or contact the InvenSense team.&lt;/p&gt;
&lt;p&gt;Since you have &lt;code&gt;a successful interface&lt;/code&gt; between the nRF51 and the MPU, the event configuration will be easy for you.&lt;/p&gt;
&lt;p&gt;-Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105006?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 17:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88acd79b-8921-40df-bf51-12f1ca4f4c97</guid><dc:creator>ASHISH</dc:creator><description>&lt;p&gt;Hi,sigurd
Yes,I have gone through that git repo you have mentioned in your comment and I have successfully interface mpu with nrf51822. I want to detect a tap(means I set my mpu on a board) if I tap the board my tap must get detected ( print the message on the screen single tap detected).I want to do this without using of DMP feature  of mpu.i want to do that using just raw values of mpu.ho do I do this?
When my bord is on horizontal position  with +-2g setting and using low power mode I got this mpu readings
X=32767,Y=32767,Z=48767
how can I detect a tap with the help of this reading?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is it possible to detect a tap without using of DMP feature of MPU9250?</title><link>https://devzone.nordicsemi.com/thread/105009?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 16:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b9b8b6b-9fdd-4839-b2e9-a57b7f803882</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean by tap ? You want to detect if someone tap their finger or something on the board?&lt;/p&gt;
&lt;p&gt;Have you seen this git repo with MPU examples? &lt;a href="https://github.com/Martinsbl/nrf5-mpu-examples"&gt;github.com/.../nrf5-mpu-examples&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>