<?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>Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73675/thingy91-problem-with-motion-detection-using-adxl362</link><description>Hello everyone, 
 I am currently using the Nordic-Thingy-91 to test the nRF9160 and other components on the board. Now I am trying to implement a simple motion detection with the low power accelerometer ADXL362. The goal is a simple state information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Apr 2021 07:45:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73675/thingy91-problem-with-motion-detection-using-adxl362" /><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/305221?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 07:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fa39835-817b-45e1-9d6d-afe899c501b0</guid><dc:creator>WaStefan</dc:creator><description>&lt;p&gt;I also have a Thingy91 with v1.4.0.&lt;/p&gt;
&lt;p&gt;I was able to achieve the same results as you did. It really seems that a connected USB cable affects the accelerometer data!&lt;/p&gt;
&lt;p&gt;When I connect the cable it doesn&amp;#39;t work properly as described in the original post. But when I remove the cable it works fine... strange ^^&lt;/p&gt;
&lt;p&gt;But thank you for your help and your tip with the USB connection!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/304987?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 07:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:573ebf00-5078-4649-a2fc-481e6af5337f</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Was able to build and successfully flash a Thingy91(v1.4.0) with your code and your code seems to work perfectly fine, when not connected to a&amp;nbsp;USB to see what comes out on the terminal everything seems to work as you described. The device turns green when i move it and once placed regardless of orientation it turns blue within some seconds.&amp;nbsp; If i do have it connected via USB&amp;nbsp; it seems to be a bit finicky and does not seem as reliable,&amp;nbsp; it takes a couple of tries but it turns blue when left alone eventually.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can check the version of your Thingy91 by looking at the sticker, underneath the PCA number.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/304885?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 14:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e50f88be-7d7d-43cb-b5f9-200b88f7c1db</guid><dc:creator>WaStefan</dc:creator><description>&lt;p&gt;I use 1.5.&lt;/p&gt;
&lt;p&gt;Here are two .hex files, I don&amp;#39;t know which one you need, so here you have both ^^&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2677.merged.hex"&gt;devzone.nordicsemi.com/.../2677.merged.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0523.zephyr.hex"&gt;devzone.nordicsemi.com/.../0523.zephyr.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/304877?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 14:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11203c81-f6eb-44b9-8cdc-c307cb73a6f0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Pardon for taking so long to get back,&lt;br /&gt;&lt;br /&gt;What NCS version did you use for this project? Hawing some trouble getting it to run properly.&amp;nbsp; Do you have a hex file i could test ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/303497?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:32:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7c562c5-d954-48fc-bd58-f296e1f38c76</guid><dc:creator>WaStefan</dc:creator><description>&lt;p&gt;Sure, here you go.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/MotionDetection.zip"&gt;devzone.nordicsemi.com/.../MotionDetection.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is a simple application that sets the LEDs according to the motion state.&lt;/p&gt;
&lt;p&gt;- Red: Unknown state (should never happen)&lt;br /&gt;- Green: Moving&lt;br /&gt;- Blue: Still, not moving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91: Problem with motion detection using ADXL362</title><link>https://devzone.nordicsemi.com/thread/303460?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 11:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db05462-b6c7-402b-835a-06c04c246d79</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you&amp;nbsp; share your code, I can test it out on a couple of thingy91 to see if the problem persist on different HW versions.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>