<?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>How to get accelerometer data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47609/how-to-get-accelerometer-data</link><description>Hi Everyone, 
 I&amp;#39;m using nrf52832(SOC) and LIS3DH accelerometer to get a motion detection. 
 I need simple code to get accelerometer data only using I2C communication. 
 Waiting for your valuable suggestions... 
 
 Thanks &amp;amp; Regards, 
 Yuvaraj</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 May 2019 08:06:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47609/how-to-get-accelerometer-data" /><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188970?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 08:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a97e8f-89ff-48ed-b033-174e3cbc931d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want it to be printed in SES console, you need to enable logging over RTT.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;NRF_LOG_BACKEND_RTT_ENABLED&lt;/em&gt; set to &lt;strong&gt;1&lt;/strong&gt; in sdk_config.h&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188931?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 04:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef542bf-7e35-46e4-8d5d-0126b89743e2</guid><dc:creator>Yuvaraj V</dc:creator><description>&lt;p&gt;Thank you Amanda... And sorry for delay...&lt;/p&gt;
&lt;p&gt;I&amp;#39;m enabled the UARTbackend.&lt;/p&gt;
&lt;p&gt;And I seen that question but, still i can&amp;#39;t get to print a data to my console(Segger Embedded Studio).&lt;/p&gt;
&lt;p&gt;I want to find&amp;nbsp; if the LIS3DH is properly working or not, for that i need to print the axis values.&lt;/p&gt;
&lt;p&gt;How to test my accelerometer?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Yuvaraj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188595?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 13:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8491ead4-6a8c-40c2-a780-4b25f18866f8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;It&amp;#39;s printed in data_handler() function. So it should be printed over UART(it&amp;#39;s enabled as the default backend in that example)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33890/get-x-y-z-values-from-lis3dh-using-nrf52-development-board"&gt;This case&lt;/a&gt; maybe can help you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188488?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 09:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fd7086e-2bb7-46ba-b67c-b97ae03931f6</guid><dc:creator>Yuvaraj V</dc:creator><description>&lt;p&gt;Thank you Amanda...&lt;/p&gt;
&lt;p&gt;How can I print the data from the accelerometer?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Yuvaraj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188476?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 09:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d2b24f7-eb5a-4d31-b6e2-d4fc37f5e1f0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;No, but you can modify from&amp;nbsp;&lt;a title="TWI Sensor Example" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/twi_sensor_example.html?cp=5_1_4_6_43"&gt;TWI Sensor Example&lt;/a&gt;&amp;nbsp;which&amp;nbsp;&lt;span&gt;use the I2C interface by communicating with the thermometer (LM75).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188447?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 08:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:825821ac-c1e5-46e9-af40-60a4584f55ca</guid><dc:creator>Yuvaraj V</dc:creator><description>&lt;p&gt;Thank you Amanda...&lt;/p&gt;
&lt;p&gt;But, i need just simple code to get only accelerometer data and print the values in Segger Embedded Studio console.&lt;/p&gt;
&lt;p&gt;I want to check my accelerometer can detect the values.&lt;/p&gt;
&lt;p&gt;Can you have like this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Yuvaraj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get accelerometer data</title><link>https://devzone.nordicsemi.com/thread/188421?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d727202-b0c4-431d-8c84-50647df75863</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44706/nrf52840-dongle-with-lis3dh-ble/177046#177046"&gt;post&lt;/a&gt; might help you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>